Skip to content

Conversation

LasseRosenow
Copy link
Collaborator

@LasseRosenow LasseRosenow commented Jun 24, 2025

This adds a libcoap based CoapUdpIpChannel for federated communication on the POSIX target.

This is still rough and needs more testing.

For now the super basic unit tests proves that communication between the client and the server through the NetworkChannel API works.

TODO:

  • Implement the fully integrated runtime integration test
  • Make all tests pass
  • Fix bugs
  • Cleanup Code
  • Fix HORRIBLE CMAKE HACKS 😭😭😭😭😭😭

Copy link
Contributor

github-actions bot commented Jun 24, 2025

Benchmark results after merging this PR:

Benchmark results

Performance:

PingPongUc:
Best Time: 243.586 msec
Worst Time: 245.770 msec
Median Time: 243.778 msec

PingPongC:
Best Time: 171.903 msec
Worst Time: 179.366 msec
Median Time: 172.486 msec

ReactionLatencyUc:
Best latency: 40105 nsec
Median latency: 61222 nsec
Worst latency: 270909 nsec

ReactionLatencyC:
Best latency: 23110 nsec
Median latency: 61001 nsec
Worst latency: 100367 nsec

Memory usage:

PingPongUc:
text data bss dec hex filename
37298 760 8472 46530 b5c2 bin/PingPongUc

PingPongC:
text data bss dec hex filename
45826 880 360 47066 b7da bin/PingPongC

ReactionLatencyUc:
text data bss dec hex filename
23539 736 2520 26795 68ab bin/ReactionLatencyUc

ReactionLatencyC:
text data bss dec hex filename
41536 848 360 42744 a6f8 bin/ReactionLatencyC

@LasseRosenow LasseRosenow requested a review from Copilot June 25, 2025 11:29
Copilot

This comment was marked as resolved.

@tanneberger tanneberger added enhancement New feature or request platform Platform support labels Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request federated platform Platform support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants