When paring, I would like to know how to edit central's response data.

hi

I am developing using nRF52832 and SDK 17.0.1 (NUS).

I configured paring using BLE Name filter...

static void scan_init(void)
{

ret_code_t err_code;
nrf_ble_scan_init_t init_scan;
uint8_t i;

memset(&init_scan, 0, sizeof(init_scan));
init_scan.connect_if_match = true;
init_scan.conn_cfg_tag = APP_BLE_CONN_CFG_TAG;

err_code = nrf_ble_scan_init(&m_scan, &init_scan, scan_evt_handler);
APP_ERROR_CHECK(err_code);

err_code = nrf_ble_scan_filter_set(&m_scan, SCAN_NAME_FILTER, SSID_MASTER);
APP_ERROR_CHECK(err_code);

}

I can't find the part that modifies the central response data by peripheral advertising.

It is not even in the scan_int() function posted above.

Could you tell me which file I need to edit?

I want to send specific data in the response.

thank.

Related