Avatar for user92831

user92831

Member since Aug 2018 • Last active Aug 2019
  • 1 conversations
  • 4 comments

Most recent activity

  • in Puck.js, Pixl.js and MDBT42
    Avatar for user92831

    Would it be possible to have the puck.js not advertise anything to save battery and enable it by clicking the button? To save energy and make the battery last. Like on and off button.

  • in Puck.js, Pixl.js and MDBT42
    Avatar for user92831

    Yes it is disconnected from the web ide. I am scanning both with a pycom and with NRF Connect.

    I am using a UUID this is the actual code:

    require("ble_ibeacon").advertise({
        uuid : [0x2E, 0xE8, 0x3B, 0x75, 0x86, 0x38, 0x47, 0xB5, 0x8F, 0xDF, 0x9A, 0x89, 0xA2, 0xB1, 0x9E, 0xC9], // ibeacon uuid
        major : 0x0001, // optional
        minor : 0x0001, // optional
        rssi : -59 // optional RSSI at 1 meter distance in dBm
      });
    

    The only thing I see is the standard Puck.js ...

    Thank you!

  • in Puck.js, Pixl.js and MDBT42
    Avatar for user92831

    Hello,

    I have used the standard code from the espruino library:

    require("ble_ibeacon").advertise({
      uuid : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], // ibeacon uuid
      major : 0x0001, // optional
      minor : 0x0001, // optional
      rssi : -59 // optional RSSI at 1 meter distance in dBm
    });
    

    But nothing is working. I am on the latest firmware.

    Anybody has it working?

    Thank you!

Actions