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

◆ ble_cgms_meas_create()

uint32_t ble_cgms_meas_create ( struct ble_cgms * cgms,
struct ble_cgms_rec * rec )

#include <ble_cgms.h>

Report a new glucose measurement to the CGM Service module.

The application calls this function after having performed a new glucose measurement. The new measurement is recorded in the RACP database.

Parameters
[in]cgmsInstance of the CGM Service.
[in]recPointer to the glucose record (measurement plus context).
Return values
NRF_SUCCESSIf a measurement was successfully created.
Returns
If functions from other modules return errors to this function, the nRF Global Error Codes are propagated.