Re: Respond to a write characteristic

2016-05-23 Thread Christopher Collins
On Mon, May 23, 2016 at 09:22:42PM -0700, James Howarth wrote: > Hi Chris, > > Looking at the LightBlue app on my iPhone, it tells me the response is 'null'. Hmm... I am not sure. A write response does not contain any data of its own; all write responses are alike. Is it possible lightblue

Re: Respond to a write characteristic

2016-05-23 Thread James Howarth
Hi Chris, Looking at the LightBlue app on my iPhone, it tells me the response is 'null'. Cheers James > On May 23, 2016, at 9:19 PM, Christopher Collins wrote: > > Hi James, > >> On Mon, May 23, 2016 at 02:24:15PM -0700, James Howarth wrote: >> Hi, >> >> I am looking

Re: Respond to a write characteristic

2016-05-23 Thread Christopher Collins
Hi James, On Mon, May 23, 2016 at 02:24:15PM -0700, James Howarth wrote: > Hi, > > I am looking to issue a response to a write characteristic, and seem to be > just getting a null response. > [...] > static int > gatt_svr_p_command_cb(uint16_t conn_handle, uint16_t attr_handle, uint8_t > op, >

Respond to a write characteristic

2016-05-23 Thread James Howarth
Hi, I am looking to issue a response to a write characteristic, and seem to be just getting a null response. Is there anything I need to do special with the write data, before writing back some data. Here's my code, it's based off the peripheral tutorial from 0.80. Inside static const struct