This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is it safe to use conn_handle as an index to an array?

In other words, is it safe to assume that in various BLE events, conn_handle is either invalid (0xFFFF) or between 0 and (CENTRAL_LINK_COUNT + PERIPHERAL_LINK_COUNT - 1), as used in softdevice_enable_get_default_config()?

I've seen this used in nRF5_SDK_12.2.0_f012efa\examples\ble_central\ble_app_multilink_central\main.c, but not in the documents.

Parents Reply Children
No Data
Related