Hello Sirs,
We implemented a joint bandwidth test (or speed test) for a radio channel by transmitting notifications.
Parameters set in SDK config:
- #define NRF_SDH_BLE_GATT_MAX_MTU_SIZE 247;
- #define NRF_SDH_BLE_GAP_DATA_LENGTH 251;
- #define NRF_SDH_BLE_GAP_EVENT_LENGTH 320;
Parameters of the radio channel:
- PHY 1M;
- Connection interval 50 ms (40 units);
- Transmiter power 0 dbm;
After the connection is established and the exchange of parameters, the host allows the transfer of notification characteristics of the test characteristic(size 244 bytes). Next, the device in the loop begins to send data.
According to the data plotted. I attach his part below.
The average speed was 73 kB / s. But the range is from 35 kB / s to 80 kB / s.
If I understand correctly, this is due to the peculiarity of the protocol. namely, transmission within the connection interval to the first error. As a result, during one connection interval, data can be transmitted, for example, 50 ms, and in the next only 10.
The question is: is it possible to somehow stabilize the data flow?
Thanks,
Max