Hi all !
I'm trying to evaluate the throughput i can have between a Motorola 4G and the nrf51. The nRF51 is the peripheral and the phone is acting as a central.
To do that, i've based my work on the nRFToolbox android source code and modified the uart example. It read a file and send it by chunk of 20 bytes to the BLE peripheral by writing to the characteristic with the functions "mRXCharacteristic.setValue(data);" and "writeCharacteristic(mRXCharacteristic);"
On the nRF51, i've modified the peripheral uart example as well. It gather the 20 bytes messages and send them to the uart using the "nus_data_handler()"
So far, i've tested different files size and succeed on getting a data rate of 1.25kbps with packet ack and 2.5 kbps without it (setWriteType(WRITE_TYPE_NO_RESPONSE) on android) and by lowering the connexion interval to 7.5ms.
After reading (devzone.nordicsemi.com/.../) and (devzone.nordicsemi.com/.../), i think i understand that i can achieve better data rate by increasing the packets sent per connection event.
But i can't find a way to do so on the android side. Can you please give me hints or guidance to increase the throughput ?
Thank you !