golioth / golioth-zephyr-sdk

Golioth SDK For Zephyr
https://www.golioth.io
Apache License 2.0
65 stars 20 forks source link

dtls: enable DTLS 1.2 Connection IDs #446

Closed sam-golioth closed 8 months ago

sam-golioth commented 8 months ago

Enable Connection ID support, which enables deviecs to maintain their connection with the server for longer periods and across IP address changes, resulting in lower bandwidth and reduced power usage.

github-actions[bot] commented 8 months ago

Visit the preview URL for this PR (updated for commit 80b48ac):

https://golioth-zephyr-sdk-doxygen-dev--pr446-enable-connectio-gmvsuv1o.web.app

(expires Wed, 08 Nov 2023 17:50:47 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: a389eefadf4b4b68a539327b3459dd66c142cf49

sam-golioth commented 8 months ago

@sam-golioth will also need to set the socket option here:

https://github.com/golioth/golioth-zephyr-sdk/blob/9455d286ed4c4159f0f1dcbcf5db5e5ef4534dd7/net/golioth/golioth.c#L53

See similar change in CP SDK:

https://github.com/golioth/golioth-firmware-sdk/pull/163/files#diff-410a63a31cf0ae75a5a9bb14ba25e7781fbb87aa7be322035d516647a2b6a11aR218

Fixed! Thanks for the catch!