Performance of BLE User data relay for file transfer

Hello

I realized test project and I am testing performance of BLE user data relay frames with SERIAL target. I am able to transfer about 7,5 kB/s from my andriod device and I was expecting more I did boost android BLE by
bluetoothGatt.requestConnectionPriority(BluetoothGatt.CONNECTION_PRIORITY_HIGH) and used this android app as a base for test: https://github.com/digidotcom/xbee-android/tree/master/examples/relay_console_sample.

XBEE is: XB3-24 - Digi Xbee3 Zigbee 3.0 - 100D (HW version is 414B)

So in principal every write to txCharacteristic takes about 30 ms and 234 bytes in payload is maximum.

I would like to verify someone measured maximum transfer speed from BLE to SERIAL interface ?
Encryption may be limitation. Do you if there is an option how to disable encryption in order to speed up communication ?

My intention is to use Bluetooth to quickly synchronize about 20 MB of data from smartphone so I am trying to find way how to do that.

Check logcat:
12-28 16:33:24.702 23047 23047 I PERFORMANCE: 30 [ms] 91692 bytes
12-28 16:33:24.733 23047 23047 I PERFORMANCE: 31 [ms] 91925 bytes
12-28 16:33:24.763 23047 23047 I PERFORMANCE: 29 [ms] 92158 bytes
12-28 16:33:24.792 23047 23047 I PERFORMANCE: 29 [ms] 92391 bytes
12-28 16:33:24.822 23047 23047 I PERFORMANCE: 30 [ms] 92624 bytes
12-28 16:33:24.852 23047 23047 I PERFORMANCE: 30 [ms] 92857 bytes
12-28 16:33:24.882 23047 23047 I PERFORMANCE: 30 [ms] 93090 bytes
12-28 16:33:24.883 23047 23047 I PERFORMANCE: Total: 12481 [ms] 93090 bytes => 7.458536976203829 kB/s

Thanks

What baud rate did you set the XBee module to?

Baud rate set is 921600 :slight_smile: