This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE data length extention Thingy 52

Hi everyone. 

I want to stream 12kB of ADC data from the thingy 52 via BLE. At the moment this takes around 4 seconds to do which is to slow so i would like to increase throughput by utilising DLE but unsure how to implement it. 

Is it enough to increase the MTU size and send bigger packages to  sd_ble_gatts_hvx() function as the BLE_GAP_DATA_LENGTH_AUTO is on auto? Or what would be the steps needed to implement this supposing that both devices support DLE?

Thankful for help

//Rilleaa 

Parents Reply
  • Okey yea mabey that part is out of my control then.

    Any way of knowing what MTU size the two devices? From the ble sniffer i see when i connect with my Iphone 6s that it uses MTU size 185 but with the raspberry pie i cant see any MTU size.

    I have tried to send bigger packages bigger than 20 bytes from thingy 52 to both iphone and Raspberry pi it works on the iphone but not on the raspberry pi i just recive the first 20 bytes in the array of data that was sent to  sd_ble_gatts_hvx(). 

    I attatched my sniffer logs i case you have time to have a look at them :). 

    //Rilleaa

    ThingyToIphone6s.pcapngThingyToRBP.pcapng

Children
No Data
Related