nn::uds::CTR::SetApplicationDataToBeacon Functionnn::Result SetApplicationDataToBeacon( const void * pData, size_t dataSize );
| Name | Description | |
|---|---|---|
| in | pData | Pointer to the data to set. |
| in | dataSize | Size of the data to set. Specify a value less than NET_DESC_APPDATA_SIZE_MAX. |
Sets optional data for a beacon (up to NET_DESC_APPDATA_SIZE_MAX bytes can be set). Only the master can run this function. Other devices can obtain this data by calling Scan while they are connected as clients or spectators.
CONFIDENTIAL