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

Changing UUID number for service and characteristic

Hi,

SDK16

I'm using ble_cus.c to define custom BLE service.

In the ble_cus.h file the definition of the UUID is 

#define CUSTOM_SERVICE_UUID_BASE {0xBC, 0x8A, 0xBF, 0x45, 0xCA, 0x05, 0x50, 0xBA, \
                                                                      0x40, 0x42, 0xB0, 0x02, 0xC9, 0xAD, 0x64, 0xF4}

#define CUSTOM_SERVICE_UUID         0x1520
#define CUSTOM_VALUE_CHAR_UUID 0x1521

and I need the UUID to be:

    Unknown characteristic to 0001 0203-0405-06-07-08-09-0a0b 0c0d 2b10·  
    Unknown service to           0001 0203-0405-06-07-08-09-0a0b 0c0d 1910  

Please advise how can modify the UUID so the service UUID and characteristic  UUID will be as required?

BR,

Shimon

Parents Reply Children
No Data
Related