Open gepz opened 1 month ago
Hi, thanks for reporting this bug. It looks like you are using the new project-overhaul branch. This branch is still being developed, so it's probably not production ready. But reports like this are really helpful for testing, so please keep helping us test.
I'm curious about using a characteristic as both a subscription and a writable. What's the usecase?
Thanks for the quick response! I can confirm that the bug is no longer present in version 0.0.5. I was initially using 0.0.3-alpha-1 when I encountered the issue, but after updating to the latest 0.0.5 release, everything is working as expected.
Regarding the use case, I'm working on a project to remotely control a sensor using a Bluetooth module. The characteristic serves as both a subscription for receiving sensor data and a writable for sending control commands.
The callback (OnValue in the below example) stops receiving new values after writing bytes to the characteristic using the
Write
method (OnButtonAClick in the below example).