Introduction

Together with the new BT5 advertising APIs introduced in SDK 2.3.x there was also a new event introduced le_gap_scan_request to notify the application that a scan request has been received.

 

How to use it

The BT5 API le_gap_bt5_set_adv_parameters has one parameter called report_scan which will enable scan request reporting via le_gap_scan_request every time that a scan request is received.

 

The le_gap_scan_request event will inform the application of what is the Bluetooth address (and address type) as well as bonding status of the device that sent the scan request.

  • Knowledge Base Articles
  • Bluetooth Low Energy
  • Bluetooth Classic