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

Cannot write with Generic BLE Out #53

Open
habakuk1979 opened this issue May 23, 2021 · 1 comment
Open

Cannot write with Generic BLE Out #53

habakuk1979 opened this issue May 23, 2021 · 1 comment

Comments

@habakuk1979
Copy link

habakuk1979 commented May 23, 2021

Hello!

I am on ubuntu 18.04 with BLUEZ 5.53.
I am using your nodes node-red-contrib-generic-ble V 4.0.3
After fiddling around with the BLE settings for quite a while I finally got the scan working and have alle the UUID-characteristics listed in Generic BLE in /out nodes.

However I went through your help file a thousand times being absolutely sure that my json syntax of my Inject node is correct, but I CANNOT wrigte to my device although it's BLE nodes are propperly connected.

my gatttool command would be:

gatttool -t random -b F7:EE:ED:71:56:E2 --char-write-req -a 0x2f -n 03010101 (this is starting the shutter of a camera)

so my msg.payload JSON is:

{ "b5f90074aa8d11e390460002a5d5c51b": "03010101" }

No reaction of camera.
Although I am absolutely positive that this is the correct writable UUID, I tried all available UUIDSadvertised by the peripheral device.

Is the Syntax correct?
Is the length of the value an issue?
Which protocoll are you using in the background: bluetoothctl's write? (I assume)

However, I do have troube to run an acquire-write command on the shell: Permission denied!

just ion case this is an issue.

please help.

@habakuk1979
Copy link
Author

i fixed this - got the wrong handle

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