123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- #ifndef BLE_GLS_DB_H__
- #define BLE_GLS_DB_H__
- #include <stdint.h>
- #include "ble_gls.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- #define BLE_GLS_DB_MAX_RECORDS 20
- uint32_t ble_gls_db_init(void);
- uint16_t ble_gls_db_num_records_get(void);
- uint32_t ble_gls_db_record_get(uint8_t record_num, ble_gls_rec_t * p_rec);
- uint32_t ble_gls_db_record_add(ble_gls_rec_t * p_rec);
- uint32_t ble_gls_db_record_delete(uint8_t record_num);
- #ifdef __cplusplus
- }
- #endif
- #endif
|