Hi,guys I set BLE parameters like this:
#define MIN_CONN_INTERVAL MSEC_TO_UNITS(500, UNIT_1_25_MS)
#define MAX_CONN_INTERVAL MSEC_TO_UNITS(1000, UNIT_1_25_MS)
#define CONN_SUP_TIMEOUT MSEC_TO_UNITS(4000, UNIT_10_MS)
#define SLAVE_LATENCY 0
#define FIRST_CONN_PARAMS_UPDATE_DELAY APP_TIMER_TICKS(5000, APP_TIMER_PRESCALER)
#define NEXT_CONN_PARAMS_UPDATE_DELAY APP_TIMER_TICKS(5000, APP_TIMER_PRESCALER)
#define MAX_CONN_PARAMS_UPDATE_COUNT 3
In my project I use timer1 and timer2 to ganerate 4 channels PWM, when I sent data to adjust the pwm, in the first several seconds the data rate is 20bytes per 100ms , but then it becomes about 20bytes per 400ms, How can I fix it. Thank you very much.