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
  • I do this same thing....let me explain......my code flow as following.....

    1. UART Setup();
    2. BLE_INIT();
    3. BLE_ADVERTISE();

    from Central send new UUID to peripheral. after receiving the new UUID .....

    call sd_ble_gap_disconnect() function. and again i restart the advertising..

    1. BLE_INIT();
    2. BLE_ADVERTISE();

    is this correct way?

    please correct me if i m wrong...

    Thank You.

Children
No Data
Related