nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_cloud_sec_tag_set()

void nrf_cloud_sec_tag_set ( const sec_tag_t  sec_tag)

#include <include/net/nrf_cloud.h>

Set the sec tag used for nRF Cloud credentials. The default sec tag value is.

embed:rst:inline :kconfig:option:`CONFIG_NRF_CLOUD_COAP_SEC_TAG` 

or

embed:rst:inline :kconfig:option:`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.
Parameters
sec_tagThe sec tag.