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

◆ nrf_cloud_tenant_id_get()

int nrf_cloud_tenant_id_get ( char * id_buf,
size_t id_len )

#include <include/net/nrf_cloud.h>

Retrieve the current customer tenant ID.

Parameters
[in,out]id_bufBuffer to receive the tenant ID.
[in]id_lenSize of buffer (NRF_CLOUD_TENANT_ID_MAX_LEN).
Return values
0If successful.
Returns
A negative value indicates an error.