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

About the relationship between API and events

SDK: 15.3.0
Example: ble_app_multirole_lesc
DeviceA: EYSHJNZWZ (nRF52832)

I want to know the relationship between API and events.
Take "sd_ble_gattc_characteristics_discover" as an example.

I expect to call “sd_ble_gattc_characteristics_discover” and get “BLE_GATTC_EVT_CHAR_DISC_RSP”.
Is there a case where "BLE_GATTC_EVT_CHAR_DISC_RSP" does not occur at this time?
Or does "BLE_GATTC_EVT_CHAR_DISC_RSP" always occur?
As a case where there is a possibility that "BLE_GATTC_EVT_CHAR_DISC_RSP" does not occur, we consider cases where there is no characteristic.

I gave "sd_ble_gattc_characteristics_discover" as an example, but I want to know the same for other APIs and events.
For example, “sd_ble_gattc_primary_services_discover” and “BLE_GATTC_EVT_PRIM_SRVC_DISC_RSP”.

Parents Reply Children
Related