123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- #ifndef BLE_RANGES_H__
- #define BLE_RANGES_H__
- #ifdef __cplusplus
- extern "C" {
- #endif
- #define BLE_SVC_BASE 0x60
- #define BLE_SVC_LAST 0x6B
- #define BLE_GAP_SVC_BASE 0x6C
- #define BLE_GAP_SVC_LAST 0x9A
- #define BLE_GATTC_SVC_BASE 0x9B
- #define BLE_GATTC_SVC_LAST 0xA7
- #define BLE_GATTS_SVC_BASE 0xA8
- #define BLE_GATTS_SVC_LAST 0xB7
- #define BLE_L2CAP_SVC_BASE 0xB8
- #define BLE_L2CAP_SVC_LAST 0xBF
- #define BLE_EVT_INVALID 0x00
- #define BLE_EVT_BASE 0x01
- #define BLE_EVT_LAST 0x0F
- #define BLE_GAP_EVT_BASE 0x10
- #define BLE_GAP_EVT_LAST 0x2F
- #define BLE_GATTC_EVT_BASE 0x30
- #define BLE_GATTC_EVT_LAST 0x4F
- #define BLE_GATTS_EVT_BASE 0x50
- #define BLE_GATTS_EVT_LAST 0x6F
- #define BLE_L2CAP_EVT_BASE 0x70
- #define BLE_L2CAP_EVT_LAST 0x8F
- #define BLE_OPT_INVALID 0x00
- #define BLE_OPT_BASE 0x01
- #define BLE_OPT_LAST 0x1F
- #define BLE_GAP_OPT_BASE 0x20
- #define BLE_GAP_OPT_LAST 0x3F
- #define BLE_GATT_OPT_BASE 0x40
- #define BLE_GATT_OPT_LAST 0x5F
- #define BLE_GATTC_OPT_BASE 0x60
- #define BLE_GATTC_OPT_LAST 0x7F
- #define BLE_GATTS_OPT_BASE 0x80
- #define BLE_GATTS_OPT_LAST 0x9F
- #define BLE_L2CAP_OPT_BASE 0xA0
- #define BLE_L2CAP_OPT_LAST 0xBF
- #define BLE_CFG_INVALID 0x00
- #define BLE_CFG_BASE 0x01
- #define BLE_CFG_LAST 0x1F
- #define BLE_CONN_CFG_BASE 0x20
- #define BLE_CONN_CFG_LAST 0x3F
- #define BLE_GAP_CFG_BASE 0x40
- #define BLE_GAP_CFG_LAST 0x5F
- #define BLE_GATT_CFG_BASE 0x60
- #define BLE_GATT_CFG_LAST 0x7F
- #define BLE_GATTC_CFG_BASE 0x80
- #define BLE_GATTC_CFG_LAST 0x9F
- #define BLE_GATTS_CFG_BASE 0xA0
- #define BLE_GATTS_CFG_LAST 0xBF
- #define BLE_L2CAP_CFG_BASE 0xC0
- #define BLE_L2CAP_CFG_LAST 0xDF
- #ifdef __cplusplus
- }
- #endif
- #endif
|