ble_gap_conn_find() function
Searches for a connection with the specified handle. If a matching connection is found, the supplied connection descriptor is filled correspondingly.
Arguments
handle
The connection handle to search for.
out_desc
On success, this is populated with information relating to the matching connection. Pass NULL if you don't need this information.
Return value
0 on success, BLE_HS_ENOTCONN if no matching connection was found.
Examples
ble_gap_conn_find() is referenced by 25 libraries and example projects: