2021-12-23 06:47 AM
Hi,
I am using the STM32WB55 and would like to use part of the chip's unique ID as part of the local name in my BLE application.
I was hoping someone could easily show me how I could do this, or at a minimum, get the UID?
Thanks for any help.
2021-12-23 07:55 AM
The reference manual lists the location of the 96-bit UID and the UID64, which is probably what you want.
2021-12-23 10:47 AM
How would I access this?
2021-12-23 10:56 AM
uint32_t uid64_1 = *((uint32_t *) 0x1FFF7580);
uint32_t uid64_2 = *((uint32_t *) 0x1FFF7584);
2021-12-23 11:07 AM
You might want something like they're doing here:
I'm unfamiliar with the details of BLE.