Hi All!
Faced with big problem with SCANNING procedure (nRF52840)
We have a BLE network : one CENTRAL and up to 6 PERIPHERALs can be connected simultaneously to the CENTRAL.
Advertising period of Peritherals is 1 second.
THE PROBLEM:
if no connected devices, CENTRAL report "BLE_GAP_EVT_ADV_REPORT" occur each 1 sec very STABLE.
if connections established, CENTRAL report "BLE_GAP_EVT_ADV_REPORT" very not stable sometimes with 5..6 seconds delay , depends on conenction count.
SCANNING PARAM:
#define _SCANPARAM_ { \
.active = 1, \
.interval = (uint16_t) MSEC_TO_UNITS(20, UNIT_0_625_MS), \
.window = (uint16_t) MSEC_TO_UNITS(20, UNIT_0_625_MS), \
.timeout = BLE_GAP_SCAN_TIMEOUT_UNLIMITED, \
.scan_phys = BLE_GAP_PHY_1MBPS, \
.filter_policy = BLE_GAP_SCAN_FP_ACCEPT_ALL, \
}
CONNECTIN PARAM:
#define _CONN_PARM_PREFF_ {
.min_conn_interval = (uint16_t) MSEC_TO_UNITS(65, UNIT_1_25_MS), \
.max_conn_interval = (uint16_t) MSEC_TO_UNITS(65, UNIT_1_25_MS), \
.slave_latency = 0, \
.conn_sup_timeout = (uint16_t) MSEC_TO_UNITS(1000,UNIT_10_MS) } \
HOW to provide stable ADV report during CONNECTIONs or it is IMPOSSIBLE ?
waiting for answer.