Skip to main content
Fx.1
Associate II
March 26, 2022
Question

How do I read the unique serial number of the ST BlueNRG-LP(BlueNRG-345) device that I need to use as the default MAC address

  • March 26, 2022
  • 1 reply
  • 647 views

..

    This topic has been closed for replies.

    1 reply

    Sebastien DENOUAL
    ST Employee
    March 28, 2022

    Hi @Fx.1​ ,

    Let me share with you PM0269 document : This is BLE Stack Programming guide.

    You may refer to section 3.1.1 describing Bluetooth LE addresses managment.

    The BlueNRG-LP device does not have a valid preassigned MAC address, but a unique serial number (read only for the user).The unique serial number is a 8-bytes value stored at address 0x10001EF0: it is stored as two words at address 0x10001EF0 and 0x10001EF4.

    If you want to use static random adress : this address is generated and programmed at very 1st boot. This address is used and remains unchanged during whole product life (except is a mass erase of the flash is performed)

    Regards,

    Sebastien.