Nope. With code below I only get to the bangle logo with a line -> bluetooth
then it sticks
var myiBeacon = require("ble_ibeacon").get({ uuid : [0xbd, 0x84, 0xb1, 0xb2, 0x1c, 0x2c, 0x00, 0xbe, 0x0c, 0xe9, 0x26, 0x70, 0x0f, 0xfe, 0x0c, 0xa0], rssi : -74 }); NRF.setAdvertising = function(a,b) { if (Array.isArray(typeof a)) a = [a,myiBeacon]; _setAdvertising(a,b); }; var _setAdvertising = NRF.setAdvertising; function advertiseBeacon() { NRF.setAdvertising(Bangle.bleAdvert); } if (!Bangle.bleAdvert) Bangle.bleAdvert = {}; setInterval(advertiseBeacon, 60 * 1000); advertiseBeacon();
@kab 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.
Nope. With code below I only get to the bangle logo with a line
-> bluetooth
then it sticks