Skip to content

Commit

Permalink
applications: Add missing Carrier library event logs
Browse files Browse the repository at this point in the history
Add missing LwM2M Carrier library event logs

Signed-off-by: Markus Rekdal <markus.rekdal@nordicsemi.no>
  • Loading branch information
nordic-mare authored and jfischer-no committed Mar 1, 2024
1 parent fadc30a commit 138d05a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions applications/asset_tracker_v2/src/modules/modem_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 138d05a

Please sign in to comment.