// Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. #include enum { API_BLE_DEVICE_READY_IND, API_BLE_DM_CMP_EVT, API_BLE_CONN_CMP_EVT, API_BLE_CONN_REQ_IND, API_BLE_DISCONN_IND, API_BLE_MODULE_INIT_CMP_EVT, API_BLE_ADV_REPORT_IND, #if (BLE_SEC) API_BLE_BOND_REQ_IND, API_BLE_BOND_REQ_IND, API_BLE_ENCRYPT_REQ_IND, API_BLE_ENCRYPT_IND, #endif ///BLE_SEC #if (BLE_DISS_SERVER) API_BLE_CREATE_DB_CFM, API_BLE_DISABLE_IND, #endif ///BLE_DISS_SERVER #if (BLE_PROX_REPORTER) API_BLE_PROXR_ALERT_IND, API_BLE_PXP_TIMER, API_BLE_PROXR_CREATE_DB_CFM, API_BLE_PROXR_DISABLE_IND, #endif ///BLE_PROX_REPORTER #if (BLE_BUT_SERVER) API_BLE_BUT_VAL_RECEIVCE, API_BLE_CREATE_DB_CFM, API_BLE_VAL_SEND_CFM, #endif ///BLE_BUT_SERVER #if (BLE_APP_KEYBOARD) API_BLE_HIDD_CREATE_DB_CFM, API_BLE_DISABLE_IND, API_BLE_NTF_SENT_CFM, API_BLE_HIDD_TIMER, API_BLE_GREEN_LED_TIMER, API_BLE_RED_LED_TIMER, #ifndef MITM_ON API_BLE_HIDD_ENC_TIMER, #endif ///MITM_ON API_BLE_UPDATED_PRIVACY_IND, API_BLE_UPDATED_RECON_ADDR_IND, API_BLE_HID_MSG, #endif ///BLE_APP_KEYBOARD #if (BLE_BATT_SERVER) API_BLE_BATT_CREATE_DB_CFM, API_BLE_BATT_LEVEL_UPD_CFM, API_BLE_BATT_LEVEL_NTF_CFG_IND, API_BLE_BATT_TIMER, APP_BLE_ALERT_TIMER, #endif ///BLE_BATT_SERVER #if (BLE_FINDME_TARGET) API_BLE_FINDT_ALERT_IND, #endif ///BLE_FINDME_TARGET #if (BLE_FINDME_LOCATOR) API_BLE_FINDL_ENABLE_CFM, #endif ///BLE_FINDME_LOCATOR #if (HAS_MULTI_BOND) API_BLE_PAIR_TIMER, #endif ///HAS_MULTI_BOND #if (BLE_SPOTA_RECEIVER) API_BLE_SPOTAR_PATCH_MEM_DEV_IND, API_BLE_SPOTAR_GPIO_MAP_IND, API_BLE_SPOTAR_PATCH_LEN_IND, API_BLE_SPOTAR_PATCH_DATA_IND, API_BLE_SPOTAR_CREATE_DB_CFM, #endif ///BLE_SPOTA_RECEIVER #if (BLE_APP_SMARTTAG) API_BLE_ADV_TIMER, API_BLE_ADV_BLINK_TIMER, API_BLE_WAKEUP_MSG, #endif ///BLE_APP_SMARTTAG #if (BLE_APP_PROXR) API_BLE_ADV_TIMER, API_BLE_WAKEUP_MSG, #endif ///BLE_APP_PROXR #if (BLE_INTEGRATED_HOST_GTL_CENTRAL) API_BLE_EXT_TEST_REQ, API_BLE_EXT_SCAN_CMD, API_BLE_EXT_CONNECT_CMD, API_BLE_EXT_DISCONNECT_CMD, API_BLE_EXT_TRANSMIT_CMD, #endif ///BLE_INTEGRATED_HOST_GTL #if (BLE_APP_THROUGHPUT_PERIPHERAL) API_BLE_EXT_TEST_REQ, API_BLE_EXT_DISCONNECT_CMD, API_BLE_EXT_TRANSMIT_CMD, #endif ///BLE_APP_THROUGHPUT_PERIPHERAL #if (BLE_STREAMDATA_HOST) API_BLE_STREAMDATAH_ENABLE_CFM, API_BLE_STREAMDATAH_RCV_DATA_PACKET_IND, #endif ///BLE_STREAMDATA_HOST #if (BLE_STREAMDATA_DEVICE) API_BLE_STREAMDATAD_CREATE_DB_CFM, API_BLE_STREAMDATAD_RCV_DATA_PACKET_IND, #endif ///BLE_STREAMDATA_DEVICE };