-
Mon 2021.02.22
'Now on to figuring out how to actually write commands to it, haha. :)'
Not sure if you are being facetious here as a fair amount of coding has been done, so the assumption is that you are well on your way, but for those needing that detail:
https://www.espruino.com/BLE+Communications
https://www.espruino.com/About+Bluetooth+LE
http://www.espruino.com/Reference#l_NRF_setAdvertising
http://www.espruino.com/Reference#l_BluetoothRemoteGATTCharacteristic_writeValue
Had to tweak it a bit to get it to work correctly(Needed to save the service, and make the next .then use the saved service instead of the argument), but requesting with getCharacteristic() and throwing it away /does/ get the UUID field to populate in getCharacteristics(). Fun stuff. Thanks for the help!
Now on to figuring out how to actually write commands to it, haha. :)