#include <include/net/nrf_cloud.h>
Set the sec tag used for nRF Cloud credentials. The default sec tag value is.
CONFIG_NRF_CLOUD_COAP_SEC_TAG
or
CONFIG_NRF_CLOUD_COAP_SEC_TAG
for CoAP.
- Note
- This API only needs to be called if the default configured sec tag value is no longer applicable. This function does not perform any management of the device's connection to nRF Cloud. For CoAP, changing this value will change the sec tag used for the DTLS connection only. Use nrf_cloud_sec_tag_coap_jwt_set to set the sec tag used for JWT signing. For normal operation, the DTLS and JWT sec tags should be the same. They should only differ for debugging purposes (network traffic decryption).
- Parameters
-