Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client notification not working #1195

Open
RASPIAUDIO opened this issue Jun 20, 2024 · 1 comment
Open

Client notification not working #1195

RASPIAUDIO opened this issue Jun 20, 2024 · 1 comment

Comments

@RASPIAUDIO
Copy link

RASPIAUDIO commented Jun 20, 2024

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?

@RASPIAUDIO RASPIAUDIO changed the title notification not working Client notification not working Jun 20, 2024
@RASPIAUDIO
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant