Skip to main content
RPowe.9.306
Associate III
Jan 17, 2023 6:37 PM UTC
Question

Setting the Server ID for my BLE server

I have a BLE server derived from the STM provided BLE examples. The server ID that it generates is 00012002FF77. How is this generated? I can't find it anywhere in the code.

Should each of my devices use the same ID or should they each generate unique server IDs? If so, how do I do that?

Sorry for my BLE ignorance!

This topic has been closed for replies.

1 reply

Remy ISSALYS
ST Technical Moderator
Jan 19, 2023 5:23 PM UTC

Hello,

Do you mean that the device BD Address is equal to 00012002FF77 ? If yes, you can look the BleGetBdAddress function in app_ble.c file.

Best Regards