You can try it yourself from the IDE and see if it works ok... http://www.espruino.com/Gadgetbridge#messages-sent-to-bangle-js-from-phone
GB({"t":"call","cmd":"incoming","name":"name","number":"+441234123123"})
It seems to work for me - and you can also check that it sends {"t":"call","n":"ACCEPT"} when you click the 'accept' button
{"t":"call","n":"ACCEPT"}
@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.
You can try it yourself from the IDE and see if it works ok... http://www.espruino.com/Gadgetbridge#messages-sent-to-bangle-js-from-phone
It seems to work for me - and you can also check that it sends
{"t":"call","n":"ACCEPT"}
when you click the 'accept' button