Hello there,
In order to increase the Quality of Service (QoS) while maintaining a low battery consumption, we need to implement some strategies based on the received scan_request. In other words, we need to analyze the request and make some modifications to the current state of the device ( such as the advertising interval). That being said, I wanted to ask whether it's possible to:
1- Check the received Scan_request and generate/modify the callback of this event?
2- Change the advertising packet upon receiving a scan request?
Regards,
Hamid
Device:
Hi Hamid,
Thanks for your question. I would recommend checking theDA14585 DA14586 DA14531扫描请求TrackSW example.
This example aims to demonstrate how a peripheral device can track if it is scanned and which central device performs the scanning procedure. The central device needs to scan in active mode since the peripheral device will track if it is scanned via the scan request from central. The scan request is tracked in every BLE END event.
For the initial setup, please read theSoftware Example Setup Using Python Link Scriptdocument.
All our SDK examples don not include the SDK, so you will have to link them with the SDK before using them.
Thanks, PM_Dialog