You are reading a single comment by @Stunts and its replies. Click here to read the full conversation.
  • Yes, it was fixed after the 2v10 release: https://github.com/espruino/Espruino/blo­b/c23289e6c18f9a88df812b855d2a54a000f54d­61/ChangeLog#L14 - so a daily build will have it sorted or it'll be fixed in 2v11

    Confirming the fix with firmware v2.8.83. Thank you! =-)

    So GB({"t":"call","cmd":"accept","name":"na­me","number":"+491234"}) for example.

    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:

    Uncaught ReferenceError: "GB" is not defined
     at line 1 col 1
    GB({"t":"call","cmd":"accept","name":"na­me","number":"+49123...
    ^
    

    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.

  • 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(at­ob("jEYxH+ACcejwUUAAYWVjESCqoABCqoYNCpQX­LCxgXJQowtTA4ZbSZiwW/C4gWWjAXVZwIuVWhxFI­C6z6OLpIXSCywXYDAIWVAAYXTA=="))
    });
    
    

    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":"Jo­hn","number":"+491234"})
    
About

Avatar for Stunts @Stunts started