Re: How to determine the length of received data in a GATT callback

2016-05-28 Thread James Howarth
Ahh, thanks Chris. Much appreciated. On Sat, May 28, 2016 at 3:53 PM, Christopher Collins wrote: > Hi James, > > On Sat, May 28, 2016 at 12:53:14PM -0700, James Howarth wrote: > > Hi, > > > > Looking at the peripheral callback gatt_svr_chr_access_gatt, is there a > way > >

Re: How to determine the length of received data in a GATT callback

2016-05-28 Thread Christopher Collins
Hi James, On Sat, May 28, 2016 at 12:53:14PM -0700, James Howarth wrote: > Hi, > > Looking at the peripheral callback gatt_svr_chr_access_gatt, is there a way > to determine the length of data received? > > Here's the whole function definition. > > static int >

How to determine the length of received data in a GATT callback

2016-05-28 Thread James Howarth
Hi, Looking at the peripheral callback gatt_svr_chr_access_gatt, is there a way to determine the length of data received? Here's the whole function definition. static int gatt_svr_chr_access_gatt(uint16_t conn_handle, uint16_t attr_handle, uint8_t op, union