Closed pwilkowski closed 1 year ago
Nevermind, figured it out, if anyone stumbled upon this error, you should not create Descriptor for notify service, it's created automatically. So this code above works just delete those lines:
NimBLE2904* pBeef2904 = (NimBLE2904*)pTxCharacteristic->createDescriptor("2904");
pBeef2904->setFormat(NimBLE2904::FORMAT_UTF8);
Hello, I am trying to implement ble simple server with notify and write services. ESP32-S3
It seems to work well inside nrf connect (to check for debugging)
However when i try to connect via web bluetooth i seem to be getting error:
NotSupportedError: GATT Error Unknown
as soon as i try to subscribe to notifications (i checked if i connect to correct control point and even tried to swap them)
this my code for whole server:
what am i doing wrong?