Adapting BLE Arduino App
Posted: 10:51, 12 Jun 2015
Hello, first of all, I want to congratulate you for the project.
I am trying to modify the Arduino Led on/off BLE example to connect to my BLE device and send commands to it.
I was be able to connect to my device by changing the name in the file index.html in the app.connect function.
Now I want to send command to my BLE device.
From what I see from the code, the function app.ledon and app.ledoff send a byte, respectively 1 and 0.
I tried to do so, but what I see from my BLE device is a spurious byte sent (probably a 0) when connecting to the device while none byte is sent when pressing the buttons led on or led off.
Anyone can help me?
I am trying to modify the Arduino Led on/off BLE example to connect to my BLE device and send commands to it.
I was be able to connect to my device by changing the name in the file index.html in the app.connect function.
Now I want to send command to my BLE device.
From what I see from the code, the function app.ledon and app.ledoff send a byte, respectively 1 and 0.
I tried to do so, but what I see from my BLE device is a spurious byte sent (probably a 0) when connecting to the device while none byte is sent when pressing the buttons led on or led off.
Anyone can help me?