Search found 3 matches
- Sun Aug 07, 2022 10:22 pm
- Forum: ESP32 Arduino
- Topic: BLE server, need the RSSI of its clients to perform action.
- Replies: 3
- Views: 3115
Re: BLE server, need the RSSI of its clients to perform action.
Just in case someone needs to do this. The way I Solved it is by doing the following: 1) Right after: BLEDevice::init("DeviceName"); Add: BLEDevice::setCustomGapHandler(my_gap_event_handler); Where : my_gap_event_handler is a callback function that looks like this: static void my_gap_event_handler(e...
- Wed Jul 27, 2022 5:39 pm
- Forum: ESP32 Arduino
- Topic: BLE server, need the RSSI of its clients to perform action.
- Replies: 3
- Views: 3115
Re: BLE server, need the RSSI of its clients to perform action.
Anyone?
Should I switch to client instead of server ? But I need multiple connections.
Any help welcomed.
Should I switch to client instead of server ? But I need multiple connections.
Any help welcomed.
- Mon Jul 25, 2022 7:45 pm
- Forum: ESP32 Arduino
- Topic: BLE server, need the RSSI of its clients to perform action.
- Replies: 3
- Views: 3115
BLE server, need the RSSI of its clients to perform action.
Hello all, I am working on an application that uses BLE as a server in an ESP32. Clients connect to it and send a code to open a door. This works fine but I need to do this when the RSSI of the device goes above a certain threshold or power to make sure the Client device is close to the chip server....