59 #ifndef BLE_RANGES_H__
60 #define BLE_RANGES_H__
66 #define BLE_SVC_BASE 0x60
67 #define BLE_SVC_LAST 0x6B
69 #define BLE_GAP_SVC_BASE 0x6C
70 #define BLE_GAP_SVC_LAST 0x93
72 #define BLE_GATTC_SVC_BASE 0x94
73 #define BLE_GATTC_SVC_LAST 0x9F
75 #define BLE_GATTS_SVC_BASE 0xA0
76 #define BLE_GATTS_SVC_LAST 0xAF
78 #define BLE_L2CAP_SVC_BASE 0xB0
79 #define BLE_L2CAP_SVC_LAST 0xBF
82 #define BLE_EVT_INVALID 0x00
84 #define BLE_EVT_BASE 0x01
85 #define BLE_EVT_LAST 0x0F
87 #define BLE_GAP_EVT_BASE 0x10
88 #define BLE_GAP_EVT_LAST 0x2F
90 #define BLE_GATTC_EVT_BASE 0x30
91 #define BLE_GATTC_EVT_LAST 0x4F
93 #define BLE_GATTS_EVT_BASE 0x50
94 #define BLE_GATTS_EVT_LAST 0x6F
96 #define BLE_L2CAP_EVT_BASE 0x70
97 #define BLE_L2CAP_EVT_LAST 0x8F
100 #define BLE_OPT_INVALID 0x00
102 #define BLE_OPT_BASE 0x01
103 #define BLE_OPT_LAST 0x1F
105 #define BLE_GAP_OPT_BASE 0x20
106 #define BLE_GAP_OPT_LAST 0x3F
108 #define BLE_GATT_OPT_BASE 0x40
109 #define BLE_GATT_OPT_LAST 0x5F
111 #define BLE_GATTC_OPT_BASE 0x60
112 #define BLE_GATTC_OPT_LAST 0x7F
114 #define BLE_GATTS_OPT_BASE 0x80
115 #define BLE_GATTS_OPT_LAST 0x9F
117 #define BLE_L2CAP_OPT_BASE 0xA0
118 #define BLE_L2CAP_OPT_LAST 0xBF
121 #define BLE_CFG_INVALID 0x00
123 #define BLE_CFG_BASE 0x01
124 #define BLE_CFG_LAST 0x1F
126 #define BLE_CONN_CFG_BASE 0x20
127 #define BLE_CONN_CFG_LAST 0x3F
129 #define BLE_GAP_CFG_BASE 0x40
130 #define BLE_GAP_CFG_LAST 0x5F
132 #define BLE_GATT_CFG_BASE 0x60
133 #define BLE_GATT_CFG_LAST 0x7F
135 #define BLE_GATTC_CFG_BASE 0x80
136 #define BLE_GATTC_CFG_LAST 0x9F
138 #define BLE_GATTS_CFG_BASE 0xA0
139 #define BLE_GATTS_CFG_LAST 0xBF
141 #define BLE_L2CAP_CFG_BASE 0xC0
142 #define BLE_L2CAP_CFG_LAST 0xDF