Skip to content

Difficulties writing to a characteristic #23

Answered by thijsputman
thijsputman asked this question in Q&A
Discussion options

You must be logged in to vote

It seems I lost sight of the forest for the trees... (or more accurately, the obvious for the UUIDs 🙂)

The solution to my problem is in version 1.5.0 of node-ble (specifically, the changes described in #20):

In the options passed to writeValue, type should be set to command. Using the default type (reliable) causes a ERROR: DBusError: Write not permitted to be raised when trying to write to the characteristic.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thijsputman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant