• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[BTLE] Sending (a lot of) data to a Peripheral
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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

  • Follow-Ups:
    • Re: [BTLE] Sending (a lot of) data to a Peripheral
      • From: Christian Giordano <email@hidden>
  • Prev by Date: Re: [BTLE] Sending data to a Peripheral
  • Next by Date: Re: [BTLE] Sending (a lot of) data to a Peripheral
  • Previous by thread: Re: [BTLE] Sending data to a Peripheral
  • Next by thread: Re: [BTLE] Sending (a lot of) data to a Peripheral
  • Index(es):
    • Date
    • Thread