Yes, that's not a problem at all. There some 'Nordic UART' example code for Android provided by Nordic Semiconductor (or you can just do it yourself by writing to the Nordic UART bluetooth characteristics).
In that example, when connected, it calls reset() to reset the device, and then uploads a line of JS code that'll write data out a few times a second. Something like that can easily be extended for more complex code.
If you have other questions about it don't hesitate to ask though!
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes, that's not a problem at all. There some 'Nordic UART' example code for Android provided by Nordic Semiconductor (or you can just do it yourself by writing to the Nordic UART bluetooth characteristics).
You can just connect, and then write JavaScript code straight to the Bluetooth UART. It'll then be executed after a newline. There's a very rough example here using Web Bluetooth: http://www.espruino.com/Puck.js+Web+Bluetooth#two-way-communications
In that example, when connected, it calls
reset()
to reset the device, and then uploads a line of JS code that'll write data out a few times a second. Something like that can easily be extended for more complex code.If you have other questions about it don't hesitate to ask though!
(edit: just moving this to the Puck.js forum)