S122 SoftDevice v8.1.1
GAP Connection Interval units conversion


#define BLE_GAP_CONN_INTVL_MS_TO_UNITS(CI_MS)   ((uint16_t)((CI_MS) / 1.25))

Detailed Description

Macros for converting connection interval in milliseconds to units acceptable by ble_gap_conn_params_t.

Macro Definition Documentation

#define BLE_GAP_CONN_INTVL_MS_TO_UNITS (   CI_MS)    ((uint16_t)((CI_MS) / 1.25))

Parameter can be in range of 7.5 ms to 4000 ms in 1.25 ms steps

Documentation feedback | Developer Zone | Subscribe | Updated