ble_gap_adv_rsp_set_data() function
Configures the data to include in subsequent scan responses.
Syntax
int ble_gap_adv_rsp_set_data(const uint8_t *data,
int data_len);
Arguments
data
Buffer containing the scan response data.
data_len
The size of the response data, in bytes.
Return value
0 on succes, BLE_HS_EBUSY if advertising is in progress, other error code on failure.
ble_gap_adv_rsp_set_data() is called by 2 functions and calls 2 functions:
![]()
ble_gap_adv_rsp_set_data()
ble_gap_adv_rsp_set_data() reads 1 variable and writes 1 variable:
![]()
ble_gap_adv_rsp_set_data()