Avatar for HaZse

HaZse

Member since Dec 2016 • Last active Dec 2016
  • 1 conversations
  • 2 comments

Most recent activity

    • 4 comments
    • 2,588 views
  • in Puck.js, Pixl.js and MDBT42
    Avatar for HaZse

    Thx! I checked the getSerial() function, it returns an 8 byte value as string (in my case "def1e3bd-f8bcb4f9") and it is not the BT MAC (which would be the 6 byte value "FD01C4EBBC8E") for this given Puck.

    Could the BT MAC be exposed (maybe through the NRF object) in a future firmware upgrade? I'm just asking because of the Eddystone URL length limitation I'm trying to get the shortest unique ID possible.

    Thx for the help again, great project!

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

    Hi,

    I'm trying to develop a small project where I would use the Puck as a HW identifier, combining Eddystone functionality with a unique ID. I was thinking that I could use the MAC address of the Puck as the ID, Base64 encode it and advertise it as part of the Eddystone URL.

    But I can't find a way to read the BT MAC of the device inside the JS code - is it possible?

    Thanks, br:

    --Zsolt

Actions