Hi,
I am looking for the correct way to specify custom UUID's.
1) I can see how to define a custom 16 bit UUID e.g.
#define GATT_SVR_SVC_CUSTOM 0xABBA
2) I'm not quite sure how to define a custom 128 bit UUID and pass it to
.uuid128.
I thought it might be a global variable e.g.
static uint8_t UUID_BASE[16] = {0x03, 0x04, 0x00, 0x00, 0x2A, 0xAE, 0x4D,
0x26, 0xAD, 0x62, 0x03, 0xE9, 0xA8, 0x63, 0x7E, 0xBD};
And then pass this to the service like:
.uuid128 = UUID_BASE,
However this does not seem to work. Any suggestions appreciated.
Cheers
James