esp-nimble-cpp
esp-nimble-cpp copied to clipboard
nimble GATT operation failed for unknown reason
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
more info from Edge Console:
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)
No idea why this would be a problem for you, hopefully someone who is more familiar with android can assist.