This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

S130 and scan performance potential issue

Hello,

I use S130 with NUS style connections as central and device at same time. It works nice and performance is good but when i run scan, performance become very poor.

I need active scan to see any iBeacon in proximity area and / or any new potential device.

Is there any way to fix that ? Fast "passive" scan at same time that fast connections ?

edit:

Performance is a "ping" latency (question from nRF51 board A to nRF51 board B then response from B to A)

define MIN_CONNECTION_INTERVAL (1 * BLE_GAP_CP_MIN_CONN_INTVL_MIN)

define MAX_CONNECTION_INTERVAL (1 * BLE_GAP_CP_MIN_CONN_INTVL_MIN)

define SLAVE_LATENCY 0

define SUPERVISION_TIMEOUT MSEC_TO_UNITS(1000, UNIT_10_MS)

define SCAN_INTERVAL MSEC_TO_UNITS(10, UNIT_0_625_MS)

define SCAN_WINDOW MSEC_TO_UNITS(5, UNIT_0_625_MS)

=> 20 to 30 ms (10 ms resolution)

define MIN_CONNECTION_INTERVAL (1 * BLE_GAP_CP_MIN_CONN_INTVL_MIN)

define MAX_CONNECTION_INTERVAL (1 * BLE_GAP_CP_MIN_CONN_INTVL_MIN)

define SLAVE_LATENCY 0

define SUPERVISION_TIMEOUT MSEC_TO_UNITS(1000, UNIT_10_MS)

define SCAN_INTERVAL MSEC_TO_UNITS(10, UNIT_0_625_MS)

define SCAN_WINDOW MSEC_TO_UNITS(10, UNIT_0_625_MS)

=> 200 ms (10 ms resolution)

Thank you.

Related