nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ ble_cgms_conn_handle_assign()

uint32_t ble_cgms_conn_handle_assign ( struct ble_cgms * cgms,
uint16_t conn_handle )

#include <ble_cgms.h>

Assign a connection handle to a CGM Service instance.

Parameters
[in]cgmsInstance of the CGM Service.
[in]conn_handleConnection Handle to use for this instance of the CGM Service.
Return values
NRF_SUCCESSIf the connection handle was successfully stored in the CGM Service instance.
NRF_ERROR_NULLIf any of the input parameters are NULL.