SmartSnippets DA1459x SDK
ble_gatt.h
Go to the documentation of this file.
1 
39 #ifndef BLE_GATT_H_
40 #define BLE_GATT_H_
41 
43 typedef enum {
44  GATT_SERVICE_PRIMARY,
45  GATT_SERVICE_SECONDARY,
47 
49 typedef enum {
50  GATT_EVENT_NOTIFICATION,
51  GATT_EVENT_INDICATION,
52 } gatt_event_t;
53 
55 typedef enum {
56  GATT_PROP_NONE = 0,
57  GATT_PROP_BROADCAST = 0x0001,
58  GATT_PROP_READ = 0x0002,
59  GATT_PROP_WRITE_NO_RESP = 0x0004,
60  GATT_PROP_WRITE = 0x0008,
61  GATT_PROP_NOTIFY = 0x0010,
62  GATT_PROP_INDICATE = 0x0020,
63  GATT_PROP_WRITE_SIGNED = 0x0040,
64  GATT_PROP_EXTENDED = 0x0080,
65  GATT_PROP_EXTENDED_RELIABLE_WRITE = 0x0100,
66  GATT_PROP_EXTENDED_WRITABLE_AUXILIARIES = 0x0200,
67 } gatt_prop_t;
68 
70 typedef enum {
71  GATT_CCC_NONE = 0x0000,
72  GATT_CCC_NOTIFICATIONS = 0x0001,
73  GATT_CCC_INDICATIONS = 0x0002,
74 } gatt_ccc_t;
75 
76 #endif /* BLE_GATT_H_ */
77 
gatt_event_t
gatt_event_t
Definition: ble_gatt.h:49
gatt_prop_t
gatt_prop_t
Definition: ble_gatt.h:55
gatt_service_t
gatt_service_t
Definition: ble_gatt.h:43
gatt_ccc_t
gatt_ccc_t
Definition: ble_gatt.h:70