Add CoAP protocol support to serial modem#179
Conversation
8e61a7b to
008ac0e
Compare
- Implement sm_at_coap.c with CoAP protocol handling - Support for multiple CoAP contexts (up to 3 simultaneous connections) - CoAP socket management and message handling - TLS/DTLS credential support - CoAP payload buffering (512 bytes) - Update CMakeLists.txt to include CoAP source file - Add conditional compilation with CONFIG_COAP flag - Integrate sm_at_coap.c into the build system - Add overlay-coap.conf This enables CoAP protocol communication capabilities in the serial modem application. Signed-off-by: Dmitrii Zavrazhnov <zavdimka@gmail.com>
|
Thanks for the contribution. We do have CoAP AT command API in our backlog. It will likely appear in the public repository during April. |
|
We are merging PR #283 this week to bring in CoAP client functionality into Serial Modem. |
I'm closing this PR now. You can still add comments if you have any questions. |
Description
This PR adds CoAP (Constrained Application Protocol) support to the ncs-serial-modem application, enabling IoT/M2M communication over the CoAP protocol.
Changes
New file:
app/src/sm_at_coap.c- Full CoAP protocol implementationUpdated:
app/CMakeLists.txtCONFIG_COAPconditional compilationFeatures
How to Test
Enable CoAP support in your configuration with
CONFIG_COAP=y