-
Notifications
You must be signed in to change notification settings - Fork 217
BLECharacteristic::subscribe() fails with iTag #20
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
Comments
Hi @gdsports, Do you think you could provide some debug logging for this. Please add |
Ok, here is the log without code changes.
|
Thanks @gdsports, Have you tested the peripheral with other centrals like iOS or Android? Do they work when subscribing? It seems macOS and iOS will send a write request as this library does. |
gatttool running on a raspberry pi works with the iTag. And light blue on IOS. |
I got an old SensorTag based on the CC2541 working with a small change to the
|
Found this bug report while trying to understand why the only thing I can get to accept a .subscribe request is a very old devkit TI keyfob. That works perfectly but nothing else (physical or virtual) will accept a request to subscribe using the arduinoBLE library on my Nano 33 IoT. gsports 'fix' for int BLERemoteDescriptor::writeValue (I'm assuming is to be added to BLERemoteCharacteristic.cpp) is a great idea but didn't help me. Is there an authentication problem in the library? |
@mockendon Currently authentication is not supported in this library. #36 is open to track that feature. |
Thank you sandeepmistry! I had assumed the authentication that was missing was for pin codes and encryption. It all becomes clear! |
has this been solved ever? |
My BLE central iTag program based on the SensorTag example fails at the simpleKeyCharacteristic.subscribe() step. I "fixed" the problem as shown below. The characteristics properties are not available at this point but I assume the correct way to handle this is to check for BLEWrite versus BLEWriteWithoutResponse. Without this change the subscribe() blocks for a few seconds then returns an error.
The text was updated successfully, but these errors were encountered: