You are reading a single comment by @Stunts and its replies.
Click here to read the full conversation.
-
To test the notifcation widgets from the IDE you can use
require("notify").show({ title:"call", src:"call", body:"fake-testing call"});
or even showing a phone icon
require("notify").show({ title:"call", src:"call", body:"fake-testing call", icon:require("heatshrink").decompress(atob("jEYxH+ACcejwUUAAYWVjESCqoABCqoYNCpQXLCxgXJQowtTA4ZbSZiwW/C4gWWjAXVZwIuVWhxFIC6z6OLpIXSCywXYDAIWVAAYXTA==")) });
Also the following GB - "call" command can be verified with Mario Clock, but notifications seems that doesn't recognize "call" parameter .
GB({"t":"call","cmd":"accept","name":"John","number":"+491234"})
Confirming the fix with firmware v2.8.83. Thank you! =-)
Ok, so this is proving harder to do.
Opening the IDE, connecting via Web Blutooth I can do. Sending simple commands such as
print("hello espruino")
is working fine (the watch leaves the watch-face app and displays the Bangle.js logo, firmware version, etc and "hello espruino" is printed to the webIDE console).However, any commands starting with
GB()
are throwing errors:It's like the
GB
function (which from reading http://www.espruino.com/Gadgetbridge I assume stands for "GadgetBridge") has not been declared? I am quite certain Gadgetbridge is installed on the watch, since I can connect to it using my phone, so I'm not sure what is happening here.