[BTLE] Sending (a lot of) data to a Peripheral
[BTLE] Sending (a lot of) data to a Peripheral
- Subject: [BTLE] Sending (a lot of) data to a Peripheral
- From: Christian Giordano <email@hidden>
- Date: Sat, 24 Nov 2012 15:50:59 +0000
Hi guys, I manage to successfully pass data from the Central to the Peripheral and thanks to Khaos I have some ideas how the speed could be improved.
I was testing the solution passing 200 bytes spread across 10 [peripheral writeValue:chunk forCharacteristic:characteristic type:CBCharacteristicWriteWithResponse];
The communication was pretty solid and the speed acceptable (sometimes was taking just a couple of seconds)
Then I tried to increase the number of bytes passed to the order of tens of thousands and some problems appeared. Looks like the connection with the peripheral breaks after a bit. The maximum I managed to send "in one go" was 2KB. But most of the case it breaks after few hundreds.
I understand that what I am trying to do is not a canonical use case for the technology. But I wonder if it would still be possible to have a prolonged stable communication where the Central send a fair amount of data to the Peripheral or if I really do have to find a way to invert the roles.
Thanks for any opinion, chr
_______________________________________________
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