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
maribu
left a comment
There was a problem hiding this comment.
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/gcoapandexamples/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=1Issues/PRs references
Dependencies: