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

Scan_request/Scan_response only between our devices

Hello,

We are working with Low Energy sensors that are programmed to make a periodic ADVs to our scanners/apps/Raspberries, in order to start a service if required.
So the process of communication would be:

1 - The sensor makes an ADV_SCAN_IND 
2 - The scanner that has that sensor on the whitelist will answer with a scan_request.
3 - The sensor answer with the scan_response.
4 - The sensor starts to listen for a brief moment (10ms).
5 - At this moment the scanners/apps/Raspberries sends an ADV with the configuration for the service to be executed on the payload.

It might work well, but we have a concern regarding the battery consumption:
The sensors also have a storage state, that will be a very low energy state that only makes an ADV_SCAN_IND every 30sec. waiting to be configured by our devices.
On this state we would like it to only react to our company's devices in order to avoid the sensor to enter on the step 4 listed above, whenever it's near a smartphone or a Chinese scanner prepared to answer a scan_request message without a whitelist.

So, the question is: the scan_response is automatically sent or there is a way to check who sent the scan_request before answering it?

Thanks!

Parents Reply Children
No Data
Related