void gls_db_record_clear(void)
Clear database.
Glucose Service Record Access Control Point API.
void gls_db_init(void)
Initialize the glucose record database.
uint16_t gls_db_filter_records_num_get(gls_racp_filter_t *p_filter)
Get the number of records satisfying the filtering condition.
bool gls_db_record_add(gls_rec_t *p_rec)
Add a record at the end of the database.
bool gls_db_record_get(uint8_t rec_idx, gls_rec_t *p_rec)
Get a record from the database.
uint16_t gls_db_records_num_get(void)
Get the number of records in the database.
Glucose Recoerd Access Control Point filter value.
Glucose measurement record.
bool gls_db_record_delete(uint8_t rec_idx)
Delete a database entry.