gtalusan / node-red-contrib-ignoble

A Node-Red module for Bluetooth LE IoT devices
5 stars 7 forks source link

try to use node-red-contrib-ignoble to conect to peripheral ble dongle #4

Open jhavik opened 6 years ago

jhavik commented 6 years ago

hello there, i am trying to use node-red-contrib-ignoble to connect to a peripheral dongle that is connected on a smart device. i would like to send buffers to the smart device via the ble dongle, but i am getting some troubles here, can you share with me the flows of the examples you used there?

gtalusan commented 6 years ago

There are example flows in the README.md. Just drag and drop the right nodes and you should be set.

For writing a buffer to a characteristic, you need to use the output variant of the characteristic node. In the node prior to the characteristic, set msg.payload so that it contains the data you want. When it's given to the characteristic, it will write to your BLE device.