Is it possible to read out the unique serial number of BlueNRGM2 module?
Hi,
I'm using the BlueNRGM2 BLE module in combination with a STM32L4 host controller. They are connected over SPI.
The BlueNRGM2 is running the DTM_SPI application from ST to act as network coprozessor. My user application is running on the host controller. For communication with the module I use the X-Cube-BLE2 software package.
In section 3.1.1 of the BlueNRG-2 BLE stack v2.x programming guidelines (PM0257) I found the following description:
The BlueNRG-1, BlueNRG-2 devices do not have a valid preassigned MAC address, but a unique serial number (read only for the user).The unique serial number is a six byte value stored at address 0x100007F4: it is stored as two words (8 bytes) at address 0x100007F4 and 0x100007F8 with unique serial number padded with 0xAA55.
Unfortunately I can't find any ACI command to read out this area of flash.
The only command I found in the DoxyGen documentation for the API is the "aci_hal_updater_read_data_blk" but it's only for flash address regions above 0x10020000.
So how can I read out the serial number?
Is the unique serial number the same as the random static device address generated by the BLE stack?
Thank you very much in advance.
Kind regards Thieny
