Best way to send Javscript code with own Android app. #1971
Replies: 2 comments
-
Posted at 2017-01-19 by @gfwilliams Take a look at http://www.espruino.com/About+Bluetooth+LE You basically want to get the characteristic You basically just send the raw JavaScript code, although it's going in as if you typed it, so you need to be careful to put open brackets before newlines:
In fact, Nordic provide the source code to their apps - including the Nordic UART, so it should be pretty easy to get something working by copying their code. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-02-01 by Dave_Smart Actually the easiest way is to use free coding tool DroidScript with the free Puck.js plugin.
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-19 by user72846
Hi,
I want to be able to flash the Puck on the fly with some Javascript code over BLE and inside my own Android app. What is the best way to do that?
Cheers.
Beta Was this translation helpful? Give feedback.
All reactions