BLE Throughput with S112

Hi guys,

starting to improve my throughput with an nrf52805 and S112, i know this version does not support DLE, but it's also the one with lower footprint, I will ask you some questions because i see something that is not clear to me, I read around that there are also "issues" due to mobiles and OS, but to start I will drop here a log from the sniffer and then share other doubts.

Basically I am testing with an android device with nrf toolbox, using NUS to exchange a text file of about 70Kb to get data rate.

First of all I will drop this log...

connection_from_nrf_toolbox_to_nrf52805.pcapng

In this I cannot understand why in packet 1133 here below:

I see a connection interval of 7.5 msec ( so 6 units ) and then after some messages for discovery i get another LL_CONNECTION_UPDATE_IND, both from the master with this...

Where connection interval is set to 45 ms ( so 32 units )

What I can't understand is that I setup my sd to 24 units of interval so 30 ms, but I never see this request...

Where am I wrong?

Than I will have other doubts about data rate...i will attach here a longer long where first I send the file from nrf toolbox to embedded board and then viceversa and seems much more faster when data is sent from embedded to mobile, I just have an UART sending data to Ble via NUS.

mobile-to-nrf52-and-viceversa.pcapng

 Any help is appreaciated in my journey to a higher data rate...

Thanks

Parents
  • Hi,

    Host will decide the connection interval.

    If host has new connection itnerval, the device will receive BLE_GAP_EVT_CONN_PARAM_UPDATE event.

    You can add BLE_GAP_EVT_CONN_PARAM_UPDATE in ble_evt_handler and the new connection params will in p_ble_evt->evt.gap_evt.params.conn_param_update.conn_params.

    If connection interval is not meet your request, you can use sd_ble_gap_conn_param_update to request host updates connection parameters.

Reply
  • Hi,

    Host will decide the connection interval.

    If host has new connection itnerval, the device will receive BLE_GAP_EVT_CONN_PARAM_UPDATE event.

    You can add BLE_GAP_EVT_CONN_PARAM_UPDATE in ble_evt_handler and the new connection params will in p_ble_evt->evt.gap_evt.params.conn_param_update.conn_params.

    If connection interval is not meet your request, you can use sd_ble_gap_conn_param_update to request host updates connection parameters.

Children
Related