File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
subsys/net/lib/nrf_cloud/common/src Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,11 @@ int nrf_cloud_print_details(void)
151151 LOG_INF ("Sec tag: %d" , nrf_cloud_sec_tag_get ());
152152#endif /* defined(CONFIG_NRF_MODEM_LIB) */
153153#if defined(CONFIG_NRF_CLOUD_COAP )
154+ #if defined(CONFIG_NRF_MODEM_LIB )
155+ LOG_INF ("CoAP JWT Sec tag: %u" , (uint32_t ) nrf_cloud_sec_tag_coap_jwt_get ());
156+ #else
154157 LOG_INF ("CoAP JWT Sec tag: %d" , nrf_cloud_sec_tag_coap_jwt_get ());
158+ #endif /* defined(CONFIG_NRF_MODEM_LIB) */
155159#endif
156160 LOG_INF ("Host name: %s" , host_name );
157161
Original file line number Diff line number Diff line change @@ -33,7 +33,12 @@ static sec_tag_t coap_jwt_sec_tag = CONFIG_NRF_CLOUD_COAP_JWT_SEC_TAG;
3333void nrf_cloud_sec_tag_coap_jwt_set (const sec_tag_t sec_tag )
3434{
3535 coap_jwt_sec_tag = sec_tag ;
36- LOG_DBG ("CoAP JWT sec tag updated: %d" , coap_jwt_sec_tag );
36+
37+ #if defined(CONFIG_NRF_MODEM_LIB )
38+ LOG_DBG ("CoAP JWT Sec tag updated: %u" , (uint32_t ) coap_jwt_sec_tag );
39+ #else
40+ LOG_DBG ("CoAP JWT Sec tag updated: %d" , coap_jwt_sec_tag );
41+ #endif /* defined(CONFIG_NRF_MODEM_LIB) */
3742}
3843
3944sec_tag_t nrf_cloud_sec_tag_coap_jwt_get (void )
You can’t perform that action at this time.
0 commit comments