Hi,
We have an application based on BLE_UART TXing sensor data.
Most of our sensors are read through PPI with minimal code interaction (except for packet counters etc.)
It's running on our own hardware using the 52833 and S140 SD.
It's sending PDU's of 232 bytes to nRF toolbox running on an iPad (BLE 5.0)
The data rate is currently 25 PDU/s and it works quite reliably at this rate.
We want to increase this rate to 62.5 PDU/s.
However at this rate we lose a large proportion of the packets and also receive duplicates.
We also get an BLE_GAP_EVT_DISCONNECTED event after 90 seconds or so.
We have found the highest reliable data rate is 35 PDU/s
Even at 62.5 PDU/s that is only 116kbits/s well inside BLE 5.0 capability.
What can be done to fix this?
Thanks
Here is our setup parameters:
#define APP_BLE_CONN_CFG_TAG 1
#define APP_FEATURE_NOT_SUPPORTED BLE_GATT_STATUS_ATTERR_APP_BEGIN + 2
#define DEVICE_NAME "Device8701"
#define NUS_SERVICE_UUID_TYPE BLE_UUID_TYPE_VENDOR_BEGIN
#define APP_BLE_OBSERVER_PRIO 3
#define APP_ADV_INTERVAL 64
#define APP_ADV_TIMEOUT_IN_SECONDS 18000
#define MIN_CONN_INTERVAL MSEC_TO_UNITS(20, UNIT_1_25_MS)
#define MAX_CONN_INTERVAL MSEC_TO_UNITS(75, UNIT_1_25_MS)
#define SLAVE_LATENCY 0
#define CONN_SUP_TIMEOUT MSEC_TO_UNITS(4000, UNIT_10_MS)
#define FIRST_CONN_PARAMS_UPDATE_DELAY APP_TIMER_TICKS(5000)
#define NEXT_CONN_PARAMS_UPDATE_DELAY APP_TIMER_TICKS(30000)
#define MAX_CONN_PARAMS_UPDATE_COUNT 3