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 =

Reboot Log

2016-05-18 Thread Vipul Rahane
Hello, I have a rough design of the reboot log ready along with the code. It consists of logging the timestamp, reboot count, image version and reason. Possible reasons: Soft reboot: Reboot issued by the developer/user Hard reboot: Reboot caused by loss in battery power, pulling off the plug,

Re: common BSP API,

2016-05-18 Thread p...@wrada.com
Fantastic. The more consistent this is the better. On 5/17/16, 6:29 PM, "marko kiiskila" wrote: >Hi, > >I was chatting with Will about this offline; thereĀ¹s no header file >describing API exported by BSPs. > >This includes function prototypes like os_bsp_init() (currently