Skip to content

Cannot write with Generic BLE Out #53

@habakuk1979

Description

@habakuk1979

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions