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

◆ ble_cgms_init()

uint32_t ble_cgms_init ( struct ble_cgms * cgms,
const struct ble_cgms_config * cgms_init )

#include <ble_cgms.h>

Initialize a CGM Service instance.

Parameters
[out]cgmsCGM Service structure. This structure must be supplied by the application. It is initialized by this function and will later be used to identify this particular service instance.
[in]cgms_initInformation needed to initialize the service.
Return values
NRF_SUCCESSIf the service was initialized successfully.
NRF_ERROR_NULLIf any of the input parameters are NULL.
Returns
If functions from other modules return errors to this function, the nRF Global Error Codes are propagated.