Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone 4S - BLE data transfer speed

I've been tinkering around with the BLE (Bluetooth Low Energy) connectivity classes quiet a bit lately and haven't been able to make it transfer data any faster than 1KB / 5 seconds. I believe, in the documentation, it says the max speed is 60 bytes per 20 milliseconds. With data transfer and counting the Ack transfer after each set of packets, I believe we should be able to go as fast as 1.5KB per second. So my code is around 7-8 times slower than it should be.

I'm just wondering if anyone has been able to do data transfer in BLE as fast as the documentation says it should be able to do. What sort of speed are you getting if faster than mine?

Thanks a lot

like image 353
user1122025 Avatar asked Apr 20 '12 21:04

user1122025


People also ask

How fast is BLE?

The bit rate is 1 Mbit/s (with an option of 2 Mbit/s in Bluetooth 5), and the maximum transmit power is 10 mW (100 mW in Bluetooth 5).

What is BLE connection interval?

A BLE connection interval is the time between two data transfer events (BLE connection events) between the central and the peripheral device. The theoretical value ranges from 7.5 ms to 4 secs (with increments of 1.25 ms).

How much data can BLE send?

It is important to know that maximum number of packets per connection event is dependent on the BLE stack/chipsets and is limited to 4 packets per connection event with iOS, and 6 packets per connection event in Android.

What is MTU size in BLE?

The ATT Maximum Transmission Unit (MTU) is the maximum length of an ATT packet. Per the Bluetooth Core Specification, the maximum length of an attribute can be 512 bytes. In reality, it can be slightly larger than this to accommodate the ATT header. On Android, the maximum MTU can be 517 bytes.


1 Answers

see at the guidlines of apple and you will see that a connection update request is required to speed up your connection.

https://developer.apple.com/hardwaredrivers/BluetoothDesignGuidelines.pdf

I have min=20ms max 40 ms

I hope I could help

Roman

like image 80
Rom4ik Avatar answered Oct 09 '22 16:10

Rom4ik