cancel
Showing results for 
Search instead for 
Did you mean: 

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

Fx.1
Associate II
 
1 REPLY 1
Sebastien DENOUAL
ST Employee

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.