can ibeacon and gatt protocal exist the same time?
can ibeacon and gatt protocal exist the same time?
FYI. I'm testing the ESP32 board, now i'm capable to send sensor data using gatt protocal , nonw I want to add ble_ibeacon to do the broadcasting thing, is that doable?
Re: can ibeacon and gatt protocal exist the same time?
Sure, its possible. All you have to do is to start advertising again when client is connected. Then you have situation:
- no clients connected, esp32 works like iBeacon just advertising
- client is connecting, esp32 stops advertising (i dont remember its handled by bluedroid or its just programmed in every example code), call start advertising, have a fun.
- no clients connected, esp32 works like iBeacon just advertising
- client is connecting, esp32 stops advertising (i dont remember its handled by bluedroid or its just programmed in every example code), call start advertising, have a fun.
Who is online
Users browsing this forum: Baidu [Spider], Waganama and 56 guests