So GB({"t":"call","cmd":"accept","name":"name","number":"+491234"}) for example. In terms of testing with Gadgetbridge you can either use another Esprruino device that has a serial connection and can forward data, or maybe just do something like:
var log = [];
function GB(d) {
log.push(JSON.stringify(d));
}
Then connect with Gadgetbridge and do stuff. Finally disconnect and reconnect with the IDE and look at what's in log
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, it was fixed after the 2v10 release: https://github.com/espruino/Espruino/blob/c23289e6c18f9a88df812b855d2a54a000f54d61/ChangeLog#L14 - so a daily build will have it sorted or it'll be fixed in 2v11
You can send the commands here: http://www.espruino.com/Gadgetbridge
So
GB({"t":"call","cmd":"accept","name":"name","number":"+491234"})
for example. In terms of testing with Gadgetbridge you can either use another Esprruino device that has a serial connection and can forward data, or maybe just do something like:Then connect with Gadgetbridge and do stuff. Finally disconnect and reconnect with the IDE and look at what's in
log