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

Characteristic value not updated during connection #17

Open
DavideSit opened this issue Nov 21, 2019 · 0 comments
Open

Characteristic value not updated during connection #17

DavideSit opened this issue Nov 21, 2019 · 0 comments

Comments

@DavideSit
Copy link

Hello,
we are writing a project in order to test a mobile app developed by our company.
This project creates a peripheral device that has to expose some services and characteristics that the app needs to read.
As of now, on the mobile phone we are using nRF connect instead of the app for test purposes. We are able to properly overwrite a characteristic value from the device. However, if we try to modify such value from within the code while the device is connected, nRF doesn't see the updated value.
We are sure that the modification happens locally. In fact, if we modify the value before connecting, nRF reads the modified value.
According to a common BLE behaviour, we would expect that the modification of a characteristic value should be accordingly updated on the central device while it is connected.
Is there any option or configuration that needs to be set in order to achieve such behaviour?

Thank you.

Ps: I am attaching an excerpt of our code where the connection is defined (I had to modify the format from .py to .txt).
connection_manager.txt

@DavideSit DavideSit changed the title Handle value not updated during connection Characteristic value not updated during connection Nov 22, 2019
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

1 participant