nRF51 SDK
|
Function for encoding the advertising data and/or scan response data, and passing them to the stack. More...
Data Structures | |
struct | ble_advdata_uuid_list_t |
UUID list type. More... | |
struct | ble_advdata_conn_int_t |
Connection interval range structure. More... | |
struct | ble_advdata_manuf_data_t |
Manufacturer specific data structure. More... | |
struct | ble_advdata_service_data_t |
Service data structure. More... | |
struct | ble_advdata_t |
Advertising data structure. This contains all options and data needed for encoding and setting the advertising data. More... | |
Enumerations | |
enum | ble_advdata_name_type_t { BLE_ADVDATA_NO_NAME, BLE_ADVDATA_SHORT_NAME, BLE_ADVDATA_FULL_NAME } |
Advertising data name type. This contains the options available for the device name inside the advertising data. More... | |
Functions | |
uint32_t | ble_advdata_set (const ble_advdata_t *p_advdata, const ble_advdata_t *p_srdata) |
Function for encoding and setting the advertising data and/or scan response data. More... | |
Function for encoding the advertising data and/or scan response data, and passing them to the stack.
Advertising data name type. This contains the options available for the device name inside the advertising data.
uint32_t ble_advdata_set | ( | const ble_advdata_t * | p_advdata, |
const ble_advdata_t * | p_srdata | ||
) |
Function for encoding and setting the advertising data and/or scan response data.
This function encodes advertising data and/or scan response data based on the selections in the supplied structures, and passes the encoded data to the stack.
[in] | p_advdata | Structure for specifying the content of the advertising data. Set to NULL if advertising data is not to be set. |
[in] | p_srdata | Structure for specifying the content of the scan response data. Set to NULL if scan response data is not to be set. |