Re: Problem with GATT service definition

2016-05-18 Thread James Howarth
Thanks Chris, that fixed it! Cheers James On Wed, May 18, 2016 at 8:40 PM, Christopher Collins wrote: > On Wed, May 18, 2016 at 08:28:16PM -0700, James Howarth wrote: > > Hi Chris, > > > > You are 100% right, and I realized after I had just it send, it was a > >

Re: Problem with GATT service definition

2016-05-18 Thread Christopher Collins
On Wed, May 18, 2016 at 08:28:16PM -0700, James Howarth wrote: > Hi Chris, > > You are 100% right, and I realized after I had just it send, it was a > copy/paste error. No worries. I think the problem is that bleprph is trying to allocate more attributes than it is configured for. Bleprph's

Re: Problem with GATT service definition

2016-05-18 Thread James Howarth
Hi Chris, You are 100% right, and I realized after I had just it send, it was a copy/paste error. With the code you have there, I still have the issue I described - I just copied and tested it. Cheers James On Wed, May 18, 2016 at 8:23 PM, Christopher Collins wrote: >

Problem with GATT service definition

2016-05-18 Thread James Howarth
Hi, I am trying to create a modify the BLE GATT service TXPWR to allow me to set the power as well as read. Not to spec, but bear with me here. *1) This works: * }, [3] = { /*** Service: TXPWR */ .type = BLE_GATT_SVC_TYPE_PRIMARY, .uuid128 =