nn::uds::CTR::SetApplicationDataToBeacon Function

Syntax

nn::Result SetApplicationDataToBeacon(
     const void * pData,
     size_t dataSize
);

Arguments

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.

Return Values

Returns the function's execution result.

Description

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.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL