esp32-snippets
esp32-snippets copied to clipboard
Client notification not working
The example BLE_client.ino does not get receive notification when pushing on buttons,
- yes my service UUID and characteristic are right as it is working with a raspberry pi with another software
static BLEUUID serviceUUID("00001812-0000-1000-8000-00805f9b34fb");
// The characteristic of the remote service we are interested in.
static BLEUUID charUUID("00002a4d-0000-1000-8000-00805f9b34fb");
- Arduino ESP32 vers 2.0.17 (tried many versions too)
- ESP32 Wrover
logs : BLE Advertised Device found: Name: AB Shutter3, Address: ff:ff:11:33:98:d6, appearance: 964, serviceUUID: 00001812-0000-1000-8000-00805f9b34fb, serviceUUID: 00001812-0000-1000-8000-00805f9b34fb, rssi: -68 Forming a connection to ff:ff:11:33:98:d6
- Created client
- Connected to server
- Found our service
- Found our characteristic The characteristic value was: We are now connected to the BLE Server. Setting new characteristic value to "Time since boot: 3"
Any clue?
If anyone got the Client example to work with notification from a BLE device, please be super kind and tell me your ESP idf version , thx!