This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Configurable UUID

Hello,

I want to change the 16-bit of 128-bit UUID at runtime. is this possible?

let me explain...

1)the first both central and peripheral set 128-bit UUID like this....

6e400000-b5a3-f393-e0a9-e50e24dcca9e

  1. now after connection the central send 16-bit service UUID to peripheral this will overwrite too 0x0000 number and disconnect from central and than after advertise with newer one service UUID like this..

6e400004-b5a3-f393-e0a9-e50e24dcca9e

is this possible?

please correct me if i m wrong..

thank you..

Parents Reply
  • Well it doesn't matter where you store it, internal flash, external, UICR region, it's up to you where your app stores config data. Pstorage module should be enough. If you use it and you don't see the desired result then you simply have a bug in your project so test it properly, do UART or RTT tracing, do simple little steps and verify after each etc. This is nothing we could fix for you on forum.

Children
No Data
Related