-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
examples/gcoap: add IPv4 support #17763
examples/gcoap: add IPv4 support #17763
Conversation
e1ac0b0
to
88741d2
Compare
88741d2
to
a310b65
Compare
Mhh CI does not like my exemption of the |
a310b65
to
1c371b0
Compare
What in GCoAP is it that breaks when both IPv4 and IPv6 are enabled? |
I'm not entirely sure what is was right now, but I believe the problem was that I was not able to receive messages. The message was sent out but the socket was not able to receive anything. Somewhere I read that RIOT does not handle dual stack very well, so this might be part of the problem. Unfortunately, the way |
c80eb5c
to
7e31f96
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me. Some style nitpicks inline
ad8c177
to
a084559
Compare
a084559
to
e8eed90
Compare
Rebased to master. Therefore I had to add |
Murdock results✔️ PASSED 9f7c898 examples/gcoap_dtls: add IPv4 support
ArtifactsThis only reflects a subset of all builds from https://ci-prod.riot-os.org. Please refer to https://ci.riot-os.org for a complete build for now. |
e8eed90
to
9f7c898
Compare
Thanks for the reviews! |
Contribution description
Add IPv4 support to
examples/gcoap
andexamples/gcoap_dtls
.Dual stack mode using IPv4 and IPv6 would require some changes on the gcoap API, therefore compilation stops with an error right now.
Testing procedure
Use the example applications to connect by IPv4 instead of IPv6 by compiling with
LWIP_IPV4=1
Issues/PRs references
Dependencies: