Just a note that you can send raw JS in one line using this command:
gatttool --addr-type=random --device=F5:3E:A0:62:C7:74 --char-write-req --handle=0x0010 \ --value=`echo "LED.toggle()\n" | od -A n -t x1 | tr -d " "`
You just have to ensure that you split writes of >20 characters up into multiple writes
@Gordon started
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.
Just a note that you can send raw JS in one line using this command:
You just have to ensure that you split writes of >20 characters up into multiple writes