I am having some problems when I try to use the Bleno library. I want to set up my machine as a BLE peripheral. Here are some details of my machine:
Machine : Qualcomm Snapdragon 410
Operating System : Ubuntu 16.04.5 LTS
NodeJS version : v8.12.0
BlueZ version : 5.37
Code:
I am using an example script ble_echo.js here. I still get the same problems when using other simple examples.
Problems:
I can see my machine being advertised and often pair to it with my phone. However, after a few seconds, the connection is always down (i.e. the device is disconnected randomly).
Sometimes, I can see the characteristics, sometimes I cannot see anything. Sometimes I can print characters with the ble_echo.js example, but there is no guarantee that I can always do this reliably. Also, the connection is always down after some period of time.
Additional information:
Only my phone (Galaxy S8+) was able to write and print characters with the ble_echo.js example. Other phones (Google Pixel 2 and iPhone) can only scan the machine, but are unable to interact with it.
Hi,
I am having some problems when I try to use the Bleno library. I want to set up my machine as a BLE peripheral. Here are some details of my machine:
Code: I am using an example script ble_echo.js here. I still get the same problems when using other simple examples.
Problems:
Additional information:
Any advice would be appreciated.