Re: Correct way to specify custom UUID's

2016-05-19 Thread Christopher Collins
On Thu, May 19, 2016 at 12:57:53PM -0700, James Howarth wrote: > Hi Chris, > > A) Thanks for the style tips. I always appreciate those. > > B) The device seems to be stuck in trying to register attributes loop, > similar to what had happened when I didn't have enough attributes > supported.

Re: Correct way to specify custom UUID's

2016-05-19 Thread James Howarth
Hi Chris, A) Thanks for the style tips. I always appreciate those. B) The device seems to be stuck in trying to register attributes loop, similar to what had happened when I didn't have enough attributes supported. Because I have just changed the UUID of the attribute I had working before, I

Re: Correct way to specify custom UUID's

2016-05-19 Thread Christopher Collins
On Thu, May 19, 2016 at 11:57:45AM -0700, James Howarth wrote: > 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,

Correct way to specify custom UUID's

2016-05-19 Thread James Howarth
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