-
Tue 2020.02.11
Well hello @user109470 and welcome to Espruino!
See the examples here, and ask away . . .
http://www.espruino.com/BLE+Advertising
http://www.espruino.com/Tutorials
forum post Trying to understand BLE advertising
'I am quite new to the javascript-bluetooth world'
Would links to Javascript only sites aid here?
-
Thank you so much!
I managed to read from an espruino board with the react app I developed, now the part I am missing is writing. The javascript links might be helpful, thank you!
Once I define the characteristic I want to write to, with the code provided below, it recieves the sent data in evt, correct? and I can store that data in an array I can then access to control the car.
If that is correct, you have been super helpful and I guess I will move to figuring out how to write in the characteristic from the app.
Hi everyone!
I have a puck.js which I would like to use to control a robotic car, made up of 4 servomotors. In order to control this, I'd want to send the commands to the puck via BLE having a react native application as interface.
I manged to identify the characteristics I can write to, but I don't know hoe to code the puck so that it reads these characteristics and acts upon what is communicated through them.
Does anyone have any idea how to help me with this task? Or knows of any effective tutorials I can look into...
I am quite new to the javascript-bluetooth world so any help is deeply appreciated.
Silvia