Bangle.js 2 - Serial number

Posted on
  • Hi,
    We keep track of serial numbers for anything we deliver to customers. Time has come to do the same for our Bangle.js 2 devices we will be shipping (soon).

    I've noticed that for 3 devices that we bought with the same order, the serial numbers are very different :

    // Connected to Bangle.js 8382
    >getSerial()
    ="c5a488b7-1440c5e7"
    
    // Connected to Bangle.js 62e4
    >getSerial()
    ="5bb6f7f0-75a2ae14"
    
    // Connected to Bangle.js 5e55
    >getSerial()
    ="5705650f-3ec9f6bf"
    >
    

    Is there some kind of logic in these serials or are they just 'random' ?

  • The serial number comes direct from FICR->DEVICE_ID on the nRF52 - Nordic say it is unique but I'm not sure how they allocate it! If you do a search there are a few forum posts on Nordic's site about it.

    Also worth noting that on recent builds I swapped the order that bytes are returned around so the value matched what you'd get if you requested the serial number using an nRF52 programmer

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Bangle.js 2 - Serial number

Posted by Avatar for jgw @jgw

Actions