c[1].writeValue(0x7F); <- can it be should just escape the value? c[1].writeValue('0x7F');
No that's not the problem, because i get the error on line 8 (of the "original" code, the code i posted is the workaround)
return gatt.getPrimaryService("fff6fe25-469d-42bc-9179-b3a093f19032");
@Marko 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.
c[1].writeValue(0x7F); <- can it be should just escape the value? c[1].writeValue('0x7F');