From 138d05a736d0c91921ce67ca893d9a01d6e26b2c Mon Sep 17 00:00:00 2001 From: Markus Rekdal Date: Fri, 1 Mar 2024 13:26:14 +0100 Subject: [PATCH] applications: Add missing Carrier library event logs Add missing LwM2M Carrier library event logs Signed-off-by: Markus Rekdal --- applications/asset_tracker_v2/src/modules/modem_module.c | 6 ++++++ .../serial_lte_modem/src/lwm2m_carrier/slm_at_carrier.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/applications/asset_tracker_v2/src/modules/modem_module.c b/applications/asset_tracker_v2/src/modules/modem_module.c index 20b30990dd92..669159b56ba9 100644 --- a/applications/asset_tracker_v2/src/modules/modem_module.c +++ b/applications/asset_tracker_v2/src/modules/modem_module.c @@ -426,6 +426,12 @@ int lwm2m_carrier_event_handler(const lwm2m_carrier_event_t *evt) */ return 1; } + case LWM2M_CARRIER_EVENT_MODEM_DOMAIN: + LOG_INF("LWM2M_CARRIER_EVENT_MODEM_DOMAIN"); + break; + case LWM2M_CARRIER_EVENT_APP_DATA: + LOG_INF("LWM2M_CARRIER_EVENT_APP_DATA"); + break; case LWM2M_CARRIER_EVENT_MODEM_INIT: LOG_INF("LWM2M_CARRIER_EVENT_MODEM_INIT"); err = nrf_modem_lib_init(); diff --git a/applications/serial_lte_modem/src/lwm2m_carrier/slm_at_carrier.c b/applications/serial_lte_modem/src/lwm2m_carrier/slm_at_carrier.c index 20ed35419522..5f9ee242872b 100644 --- a/applications/serial_lte_modem/src/lwm2m_carrier/slm_at_carrier.c +++ b/applications/serial_lte_modem/src/lwm2m_carrier/slm_at_carrier.c @@ -258,6 +258,9 @@ int lwm2m_carrier_event_handler(const lwm2m_carrier_event_t *event) /* Return -1 to defer the reboot until the application decides to do so. */ err = -1; break; + case LWM2M_CARRIER_EVENT_MODEM_DOMAIN: + LOG_DBG("LWM2M_CARRIER_EVENT_MODEM_DOMAIN"); + break; case LWM2M_CARRIER_EVENT_APP_DATA: LOG_DBG("LWM2M_CARRIER_EVENT_APP_DATA"); on_event_app_data(event);