Re: data transmission rate...to slow...
Re: data transmission rate...to slow...
- Subject: Re: data transmission rate...to slow...
- From: William Henderson <email@hidden>
- Date: Mon, 13 May 2013 15:16:07 -0700
Got it. Anyone managed to do better than with an iOS as peripheral? Hoping to eke out 3kb/s or so...
--
William Henderson
Sent from my iPhone
On Sunday, May 12, 2013 at 1:12 AM, Etan Kissling wrote:
William,
I have used a dedicated peripheral where the connection interval can be chosen more fine-grained.
With an iDevice taking the peripheral role, such speeds cannot yet be achieved with public APIs as of iOS 6.1.4.
Etan
On 12.05.2013, at 07:26, "William Henderson" <
email@hidden> wrote:
For reference, what I'm seeing is that no mater how fast I send packets (from the central), the peripheral only receives a packet every 60ms. With a 20b packet that's about .33kb/s.
This is with CBPeripheralManagerConnectionLatencyLow.
--
William Henderson
Sent from my iPhone
On Saturday, May 11, 2013 at 10:00 PM, William Henderson wrote:
Etan,
Which direction were you sending in? I'm not seeing anything near that rate when going from central->peripheral (using writewithoutresponse, scanning off, advertising off)...
William
Frederic,
there is only one packet of up to ~20 bytes transmitted every two connection events if you use reliable data transfer.
If you want to increase that to ~ four packets every connection event, you have to use unreliable data transfer (WriteWithoutResponse / Notification)
and have to add reliability in your app layer.
Note that WiFi interferes with BLE, disabling it should net you a small boost in throughput.
These are the throughputs I could achieve with iPhone as central and dedicated peripheral: http://www.scriptreactor.com/conn_interval-throughput.pdf
Etan
I have made some tests to exchange data between 2 iDevices (iOS6 iPad3/iPhone5) using CBPeripheralManagerConnectionLatencyLow settings.
The maximum rate I have is 1135 bytes / s (1.1KB/s)
- Is it possible to get better speed ?
- What is the maximum I can have with iOS stack ?
From some documents:
BLE: 200kbits/s -> 25KB/s
NFC: 424kbits/s
Why is the difference so huge (20x slower) ?
Fred
_______________________________________________
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
_______________________________________________
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