Re: Data loss during BTLE repeated write with CoreBluetooth on iOS
Re: Data loss during BTLE repeated write with CoreBluetooth on iOS
- Subject: Re: Data loss during BTLE repeated write with CoreBluetooth on iOS
- From: Nick Brook <email@hidden>
- Date: Tue, 29 Apr 2014 10:36:05 +0100
Are you using a long characteristic (>20 bytes)? Perhaps the iOS buffer is limited by number of writes not size, and so will send successfully if writing more data fewer times.
All I know for sure is when I write 106KB of data into a 20B write no response characteristic without pauses iOS is sending only 2KB on the air. On 29 Apr 2014, at 08:26, Tom Tyris Graham < email@hidden> wrote: In our current implementation we're sending on one characteristic and receiving on another. We're doing about 200 bytes received in 300ms (so ~670bytes/s or 40kb/m) Sending is harder to gauge, but sending 160 bytes and then getting a single byte back (ack) takes about ~550ms (that includes the time for our peripheral to deblock the message and respond with an ack). If we compensate for the processing and ack the speed is roughly the same as for receiving.
Supposedly you can send 4 characteristics in a single send which could theoretically improve your throughput significantly, but I'm honestly not sure how this works.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden