This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

In SDK15, how to turn on scan_req_notification?

Hi!

I am having troubles trying to turn on scan_req_notification on SDK 15.

Previously this code used to work:

ble_opt_t ble_options;
ble_options.gap_opt.scan_req_report.enable = 1;
err_code = sd_ble_opt_set(BLE_GAP_OPT_SCAN_REQ_REPORT, &ble_options);
APP_ERROR_CHECK(err_code);

Thanks

Alex

Parents Reply Children
Related