You are reading a single comment by @kab and its replies. Click here to read the full conversation.
  • How would I use this example as a way use my bangle2 to advertising it as a beacon?
    I have tried

    
    (() => {
      function advertiseBeacon() {
        NRF.setAdvertising([
          require("ble_ibeacon").get({
            uuid : [0xb1, 0xae, 0x51, 0x2b, 0x97, 0x03, 0x4a, 0xe2, 0xb9, 0xc3, 0x9e, 0x26, 0x0c, 0xa7, 0xb3, 0x99],
            rssi : -60
          })
        ]);
      }
      setInterval(advertiseBeacon, 60 * 1000);
      advertiseBeacon();
    })();
    
    

    but get a "Uncaught Storage Updated" when I try to save it to a file in storage on the watch.

    I want to figure out how to use it in this format

    Bangle.bleAdvert[0x180F] = [E.getBattery()];
    

    so they all play together
    Thanks
    Katherine

About

Avatar for kab @kab started