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

nimble GATT operation failed for unknown reason #193

Open
PandaBalls opened this issue Aug 16, 2024 · 3 comments
Open

nimble GATT operation failed for unknown reason #193

PandaBalls opened this issue Aug 16, 2024 · 3 comments

Comments

@PandaBalls
Copy link

I run the BLE server on my little esp32 c3 device with NimBLE, and I build the web app with vue.
It works fine in Desktop Edge Browser: setValue / ReadValue / Receive Notify from esp device.

But on my Android Phone(Samsung), the Edge can bond with device, can setValue or ReadValue. But can not receive the notify from ESP32's NimBLE service. the mobile phone's Edge Console said:
GATT operation failed for unknown reason

@PandaBalls
Copy link
Author

more info from Edge Console:
image

@PandaBalls
Copy link
Author

await weightCharacteristic.startNotifications();
The Problem is here, VUE app .startNotifications() , this function can not work with NimBLE.
It works fine with PlatformIO's Adruino Framework's BLE library.(It is too heavy)

@h2zero
Copy link
Owner

h2zero commented Aug 19, 2024

No idea why this would be a problem for you, hopefully someone who is more familiar with android can assist.

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

2 participants