#include <ble_cgms.h>
Initialize a CGM Service instance.
- Parameters
-
| [out] | cgms | CGM 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_init | Information needed to initialize the service. |
- Return values
-
| NRF_SUCCESS | If the service was initialized successfully. |
| NRF_ERROR_NULL | If 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.