diff --git a/epicardium/epicardium.h b/epicardium/epicardium.h index f8bb96cc4e7f6bf1d5226f6446bbe06bedcd3721..b5b746b6ddf08ecee0484479803d0ec64f95e71e 100644 --- a/epicardium/epicardium.h +++ b/epicardium/epicardium.h @@ -159,29 +159,27 @@ typedef _Bool bool; #define API_BLE_GET_SCAN_REPORT 0x144 #define API_BLE_GET_LAST_PAIRING_NAME 0x145 #define API_BLE_GET_PEER_DEVICE_NAME 0x146 +#define API_BLE_FREE_EVENT 0x147 #define API_BLE_HID_SEND_REPORT 0x150 #define API_BLE_ATTS_DYN_CREATE_GROUP 0x160 -//#define API_BLE_ATTS_DYN_DELETE_GROUP 0x161 -#define API_BLE_ATTS_DYN_REGISTER 0x162 -#define API_BLE_ATTS_DYN_ADD_DESCRIPTOR 0x164 -#define API_BLE_ATTS_SET_ATTR 0x165 -#define API_BLE_ATTS_HANDLE_VALUE_NTF 0x166 -#define API_BLE_ATTS_HANDLE_VALUE_IND 0x167 -#define API_BLE_ATTS_GET_ATTR 0x168 -#define API_BLE_FREE_EVENT 0x169 -#define API_BLE_ATTS_SEND_SERVICE_CHANGED_IND 0x16A -#define API_BLE_ATTS_DYN_DELETE_GROUPS 0x16B -#define API_BLE_ATTS_SET_BUFFER 0x1BC -#define API_BLE_GET_ATT_WRITE 0x1BD -#define API_BLE_FREE_ATT_WRITE 0x1BE -#define API_BLE_ATTS_DYN_ADD_CHARACTERISTIC 0x1BF -#define API_BLE_CLOSE_CONNECTION 0x170 -#define API_BLE_IS_CONNECTION_OPEN 0x171 -#define API_BLE_SET_DEVICE_NAME 0x172 -#define API_BLE_GET_DEVICE_NAME 0x173 -#define API_BLE_GET_ADDRESS 0x174 +#define API_BLE_ATTS_DYN_DELETE_GROUP 0x161 +#define API_BLE_ATTS_DYN_DELETE_GROUPS 0x169 +#define API_BLE_ATTS_DYN_ADD_CHARACTERISTIC 0x16B +#define API_BLE_ATTS_DYN_ADD_DESCRIPTOR 0x163 +#define API_BLE_ATTS_SET_BUFFER 0x16A +#define API_BLE_ATTS_SEND_SERVICE_CHANGED_IND 0x168 + +#define API_BLE_ATTS_SET_ATTR 0x170 +#define API_BLE_ATTS_HANDLE_VALUE_NTF 0x171 +#define API_BLE_ATTS_HANDLE_VALUE_IND 0x172 + +#define API_BLE_CLOSE_CONNECTION 0x180 +#define API_BLE_IS_CONNECTION_OPEN 0x181 +#define API_BLE_SET_DEVICE_NAME 0x182 +#define API_BLE_GET_DEVICE_NAME 0x183 +#define API_BLE_GET_ADDRESS 0x184 /* clang-format on */ @@ -2603,7 +2601,6 @@ API(API_BLE_ATTS_DYN_ADD_CHARACTERISTIC, int epic_atts_dyn_add_characteristic(vo API(API_BLE_ATTS_SEND_SERVICE_CHANGED_IND, int epic_atts_dyn_send_service_changed_ind(void)); API(API_BLE_ATTS_SET_ATTR, int epic_ble_atts_set_attr(uint16_t handle, const uint8_t *value, uint16_t value_len)); -API(API_BLE_ATTS_GET_ATTR, uint8_t AttsGetAttr(uint16_t handle, uint16_t *pLen, uint8_t **pValue)); API(API_BLE_ATTS_HANDLE_VALUE_NTF, int epic_ble_atts_handle_value_ntf(uint8_t connId, uint16_t handle, uint16_t valueLen, uint8_t *pValue)); API(API_BLE_ATTS_HANDLE_VALUE_IND, int epic_ble_atts_handle_value_ind(uint8_t connId, uint16_t handle, uint16_t valueLen, uint8_t *pValue)); API(API_BLE_ATTS_SET_BUFFER, int epic_ble_atts_set_buffer(uint16_t value_handle, size_t len, bool append));