Hi
my question is how to get the scan request notification? Thanks.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
my question is how to get the scan request notification? Thanks.
Hi Zahid
I known peripheral will automatically send scan response to central device. but peripheral can't get the scan request event or callback. Once peripheral received scan request, peripheral can do some things like turn on LED, buzzer some sound or other thing. othewise, central have to build a GATT connection to peripheral and send a read/write GATT request to peripheral. this way very consume power and GATT connection number is limited if there are many many contral device(Like PHONE). if at one time, there is many contral send connection request to peripheral. peripheral is impossiable doing a quick response. another reason is that before build a connnection with peripheral, contral have to pair with the peripheral device, it is very bothersome, special in windows 8 system, app can't automaly pair the device only by windows manager.
There is one scene, peripheral is waiting for some request/trigger. and once received this trigger, it will send some information to contral device. for example once contral device send a scan request to peripheral device, peripheral will measure the temperature and add this temperature information to the next advertising data, on the next advertising event, peripheral will send the temperature to contral device. in this case, there is no conneciton, no pair. it is more low power and simple.
now my problem is that peripheral device can't known the scan request event/trigger which i can't do some thing. becuase TI BLT stack wraped all this.
it is very appreciate that you read here, this question is a little long. :) Happy New Year~~
Yongfa