Skip to content

Commit 8e61a7b

Browse files
committed
feat: Add CoAP protocol support to serial modem
- 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 This enables CoAP protocol communication capabilities in the serial modem application.
1 parent 21c31e1 commit 8e61a7b

File tree

2 files changed

+823
-0
lines changed

2 files changed

+823
-0
lines changed

app/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ target_sources_ifdef(CONFIG_SM_CMUX app PRIVATE src/sm_cmux.c)
2828
target_sources_ifdef(CONFIG_SM_GNSS app PRIVATE src/sm_at_gnss.c)
2929
target_sources_ifdef(CONFIG_SM_NRF_CLOUD app PRIVATE src/sm_at_nrfcloud.c)
3030
target_sources_ifdef(CONFIG_SM_MQTTC app PRIVATE src/sm_at_mqtt.c)
31+
target_sources_ifdef(CONFIG_COAP app PRIVATE src/sm_at_coap.c)
3132
target_sources_ifdef(CONFIG_SM_MODEM_TRACE_BACKEND_CMUX app PRIVATE src/sm_trace_backend_cmux.c)
3233

3334
add_subdirectory_ifdef(CONFIG_SM_CARRIER src/lwm2m_carrier)

0 commit comments

Comments
 (0)