main/ble_gatts.h

changeset 33
5bd5f6668f71
parent 32
84e54b14e7db
child 34
40231d010111
equal deleted inserted replaced
32:84e54b14e7db 33:5bd5f6668f71
1 /**
2 * @file ble_gatts.h
3 * @brief BLE GATTS services.
4 */
5
6 #ifndef _BLE_GATTS_H
7 #define _BLE_GATTS_H
8
9
10 /// Battery Service Attributes Indexes
11 enum
12 {
13 BAS_IDX_SVC,
14
15 BAS_IDX_BATT_LVL_CHAR,
16 BAS_IDX_BATT_LVL_VAL,
17 BAS_IDX_BATT_LVL_NTF_CFG,
18 BAS_IDX_BATT_LVL_PRES_FMT,
19
20 BAS_IDX_NB,
21 };
22
23
24 esp_err_t ble_balkon_gatts_register(void);
25 esp_err_t ble_balkon_gatts_app_register(void);
26 esp_err_t ble_balkon_gatts_set_mtu(void);
27
28 #endif

mercurial