episensor / node-red-contrib-epi-bluetooth

A Node-RED node to set up a Bluetooth LE peripheral
MIT License
2 stars 0 forks source link

ble-in not triggering when message sent #8

Open justAnotherDev opened 2 years ago

justAnotherDev commented 2 years ago

I have successfully created a GATT service using epi-bluetooth and am able to send notify messages to subscribers, however I am unable to write a message to the device.

Screen Shot 2022-03-16 at 11 57 55 PM

I'm using LightBlue to test, here you can see that notifications are working:

Screen Shot 2022-03-17 at 12 18 00 AM

However when I send a similar message, the debug node is never called:

Screen Shot 2022-03-17 at 12 18 46 AM

My guess is I am not chunking the message correctly. I have tried a variety of strings however none of them trigger the debug node:

{"hi":"asdf12345"}\n
{"hi":"asdf123456"}\n
{"hi":"asdf1234567"}

Any help would be much appreciated

fromanza commented 1 year ago

Was this ever solved? I have now got to this stage...