Skip to main content
kcire L.
Associate III
December 23, 2021
Question

Get UID and use it in BLE Local Name

  • December 23, 2021
  • 1 reply
  • 2187 views

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.

This topic has been closed for replies.

1 reply

TDK
Super User
December 23, 2021

The reference manual lists the location of the 96-bit UID and the UID64, which is probably what you want.

0693W00000HpfgcQAB.png

"If you feel a post has answered your question, please click ""Accept as Solution""."
kcire L.
kcire L.Author
Associate III
December 23, 2021

How would I access this?

TDK
Super User
December 23, 2021
uint32_t uid64_1 = *((uint32_t *) 0x1FFF7580);
uint32_t uid64_2 = *((uint32_t *) 0x1FFF7584);

"If you feel a post has answered your question, please click ""Accept as Solution""."