Notify with more than 20 bytes

2016-09-23 Thread hathach
Hi Everyone, I am doing throughput testing specifically with notification characteristics for sending sensor data from nrf52dk to mobile. I use ble_gattc_notify_custom(buffer, size) without any issues, except when the buffer is > 20 bytes, it seems to be truncated

RE: Notify with more than 20 bytes

2016-09-23 Thread hathach
he.org] > Sent: Saturday, September 24, 2016 12:07 AM > To: dev@mynewt.incubator.apache.org > Subject: Re: Notify with more than 20 bytes > > On Fri, Sep 23, 2016 at 10:02:32AM -0700, Christopher Collins wrote: > [...] > > If your application needs to send larger ATT pack

Re: Notify with more than 20 bytes

2016-09-23 Thread Christopher Collins
On Fri, Sep 23, 2016 at 10:02:32AM -0700, Christopher Collins wrote: [...] > If your application needs to send larger ATT packets, it needs to > negotiate a greater MTU with its peer. This is accomplished by calling > ble_gattc_exchange_mtu() >

Re: Notify with more than 20 bytes

2016-09-23 Thread Christopher Collins
Hello Ha, On Fri, Sep 23, 2016 at 11:00:32PM +0700, hathach wrote: > Hi Everyone, > > I am doing throughput testing specifically with notification characteristics > for sending sensor data from nrf52dk to mobile. I use > ble_gattc_notify_custom(buffer, size) without any issues, except when the >

Notify with more than 20 bytes

2016-09-23 Thread hathach
Hi Everyone, I am doing throughput testing specifically with notification characteristics for sending sensor data from nrf52dk to mobile. I use ble_gattc_notify_custom(buffer, size) without any issues, except when the buffer is > 20 bytes, it seems to be truncated