/hal_espressif-latest/components/esp_common/include/ |
D | esp_check.h | 67 #define ESP_RETURN_ON_FALSE(a, err_code, log_tag, format, ...) do { \ argument 70 return err_code; \ 77 #define ESP_RETURN_ON_FALSE_ISR(a, err_code, log_tag, format, ...) do { \ argument 80 return err_code; \ 88 #define ESP_GOTO_ON_FALSE(a, err_code, goto_tag, log_tag, format, ...) do { \ argument 91 ret = err_code; \ 99 #define ESP_GOTO_ON_FALSE_ISR(a, err_code, goto_tag, log_tag, format, ...) do { \ argument 102 ret = err_code; \ 169 #define ESP_RETURN_ON_FALSE(a, err_code, log_tag, format, ...) do { … 172 … return err_code; \ [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/api/ |
D | esp_ble_mesh_defs.h | 902 … int err_code; /*!< Indicate the result of BLE Mesh initialization */ member 908 …int err_code; /*!< Indicate the result of setting BLE Mesh device name */ member 914 … int err_code; /*!< Indicate the result of enabling BLE Mesh device */ member 920 … int err_code; /*!< Indicate the result of disabling BLE Mesh device */ member 974 … int err_code; /*!< Indicate the result of setting OOB Public Key */ member 980 int err_code; /*!< Indicate the result of inputting number */ member 986 int err_code; /*!< Indicate the result of inputting string */ member 992 …int err_code; /*!< Indicate the result of enabling Mesh Proxy advertisin… member 998 … int err_code; /*!< Indicate the result of enabling Mesh Proxy Service */ member 1004 …int err_code; /*!< Indicate the result of disabling Mesh Proxy Service */ member [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/avdt/ |
D | avdt_ccb_act.c | 267 UINT8 err_code = 0; in avdt_ccb_hdl_start_cmd() local 271 p_data->msg.multi.num_seps, &err_code); in avdt_ccb_hdl_start_cmd() 272 if (seid == 0 && err_code == 0) { in avdt_ccb_hdl_start_cmd() 277 p_data->msg.hdr.err_code = err_code; in avdt_ccb_hdl_start_cmd() 304 event = (p_data->msg.hdr.err_code == 0) ? in avdt_ccb_hdl_start_rsp() 335 UINT8 err_code = 0; in avdt_ccb_hdl_suspend_cmd() local 339 p_data->msg.multi.num_seps, &err_code)) == 0 && in avdt_ccb_hdl_suspend_cmd() 340 err_code == 0) { in avdt_ccb_hdl_suspend_cmd() 345 p_data->msg.hdr.err_code = err_code; in avdt_ccb_hdl_suspend_cmd() 373 event = (p_data->msg.hdr.err_code == 0) ? in avdt_ccb_hdl_suspend_rsp() [all …]
|
D | avdt_scb_act.c | 142 p_scb->close_code = p_data->msg.hdr.err_code; in avdt_scb_hdl_close_rsp() 681 p_data->msg.hdr.err_code = AVDT_ERR_NSC; in avdt_scb_hdl_reconfig_cmd() 708 if (p_data->msg.hdr.err_code == 0) { in avdt_scb_hdl_reconfig_rsp() 744 p_data->msg.hdr.err_code = AVDT_ERR_NSC; in avdt_scb_hdl_security_cmd() 1007 avdt_ctrl.hdr.err_code = p_scb->close_code; in avdt_scb_hdl_tc_close() 1087 p_data->msg.hdr.err_code = AVDT_ERR_NSC; in avdt_scb_hdl_delay_rpt_cmd() 1142 avdt_ctrl.hdr.err_code = 0; in avdt_scb_hdl_tc_close_sto() 1200 p_data->open.hdr.err_code = 0; in avdt_scb_hdl_tc_open() 1238 if (p_data->open.hdr.err_code == AVDT_CHAN_REPORT) { in avdt_scb_hdl_tc_open_sto() 1239 avdt_ctrl.hdr.err_code = 0; in avdt_scb_hdl_tc_open_sto() [all …]
|
D | avdt_api.c | 63 UINT8 err_code = AVDT_ERR_TIMEOUT; in avdt_process_timeout() local 91 (tAVDT_CCB_EVT *) &err_code); in avdt_process_timeout() 581 evt.msg.hdr.err_code = error_code; in AVDT_ConfigRsp() 781 evt.msg.hdr.err_code = error_code; in AVDT_ReconfigRsp() 850 evt.msg.security_rsp.hdr.err_code = error_code; in AVDT_SecurityRsp()
|
D | avdt_msg.c | 1079 p_msg->hdr.err_code = *p; in avdt_msg_prs_rej() 1082 p_msg->hdr.err_code = *p; in avdt_msg_prs_rej() 1084 p_msg->hdr.err_code = *p; in avdt_msg_prs_rej() 1538 AVDT_MSG_BLD_ERR(p, p_params->hdr.err_code); in avdt_msg_send_rej() 1656 msg.hdr.err_code = AVDT_ERR_NSC; in avdt_msg_ind() 1700 msg.hdr.err_code = err = (*avdt_msg_prs_cmd[sig - 1])(&msg, p, p_buf->len); in avdt_msg_ind() 1703 msg.hdr.err_code = err = (*avdt_msg_prs_rsp[sig - 1])(&msg, p, p_buf->len); in avdt_msg_ind()
|
D | avdt_ad.c | 379 open.hdr.err_code = avdt_ad_tcid_to_type(p_tbl->tcid); in avdt_ad_tc_open_ind()
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/av/ |
D | bta_av_ci.c | 72 void bta_av_ci_setconfig(tBTA_AV_HNDL hndl, UINT8 err_code, UINT8 category, in bta_av_ci_setconfig() argument 79 p_buf->hdr.event = (err_code == AVDT_SUCCESS) ? in bta_av_ci_setconfig() 81 p_buf->err_code = err_code; in bta_av_ci_setconfig()
|
D | bta_av_aact.c | 431 } else if (event == AVDT_SECURITY_CFM_EVT && p_data->hdr.err_code == 0) { in bta_av_proc_stream_evt() 497 if (p_data->hdr.err_code == 0) { in bta_av_proc_stream_evt() 502 p_msg->msg.hdr.err_code = 0; in bta_av_proc_stream_evt() 517 p_msg->msg.hdr.err_code = 0; in bta_av_proc_stream_evt() 521 if ((p_data == NULL) || (p_data->hdr.err_code == 0)) { in bta_av_proc_stream_evt() 1133 setconfig.err_code = AVDT_ERR_UNSUP_CFG; in bta_av_config_ind() 1272 if ((p_data->ci_setconfig.err_code == AVDT_SUCCESS) && in bta_av_setconfig_rsp() 1284 AVDT_ConfigRsp(p_scb->avdt_handle, p_scb->avdt_label, p_data->ci_setconfig.err_code, in bta_av_setconfig_rsp() 1289 if (p_data->ci_setconfig.err_code == AVDT_SUCCESS) { in bta_av_setconfig_rsp() 1504 protect_rsp.err_code = p_data->str_msg.msg.hdr.err_code; in bta_av_security_cfm() [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/include/ |
D | esp_ble_mesh_ble_api.h | 32 int err_code; /*!< Indicate the result of starting BLE advertising */ member 39 int err_code; /*!< Indicate the result of stopping BLE advertising */ member 46 int err_code; /*!< Indicate the result of starting BLE scanning */ member 52 int err_code; /*!< Indicate the result of stopping BLE scanning */ member
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/ |
D | bta_gattc_co.c | 283 …esp_err_t err_code = nvs_get_blob(cache_env->cache_addr[index].cache_fp, cache_key, attr, &length); in bta_gattc_co_cache_load() local 287 status = (err_code == ESP_OK && length != 0) ? BTA_GATT_OK : BTA_GATT_ERROR; in bta_gattc_co_cache_load() 289 __func__, num_attr, status, err_code); in bta_gattc_co_cache_load() 334 esp_err_t err_code = nvs_set_blob(cache_env->cache_addr[index].cache_fp, cache_key, in bta_gattc_co_cache_save() local 336 status = (err_code == ESP_OK) ? BTA_GATT_OK : BTA_GATT_ERROR; in bta_gattc_co_cache_save() 392 esp_err_t err_code; in bta_gattc_co_cache_addr_init() local 410 if ((err_code = nvs_open(cache_addr, NVS_READWRITE, &fp)) == ESP_OK) { in bta_gattc_co_cache_addr_init() 414 if ((err_code = nvs_get_blob(fp, cache_key, p_buf, &length)) != ESP_OK) { in bta_gattc_co_cache_addr_init() 415 if(err_code != ESP_ERR_NVS_NOT_FOUND) { in bta_gattc_co_cache_addr_init() 416 …RROR("%s, Line = %d, nvs flash get blob data fail, err_code = 0x%x", __func__, __LINE__, err_code); in bta_gattc_co_cache_addr_init() [all …]
|
/hal_espressif-latest/components/bt/common/osi/ |
D | config.c | 410 int err_code = 0; in config_save() local 418 err_code |= 0x01; in config_save() 428 err_code |= 0x02; in config_save() 438 err_code |= 0x10; in config_save() 443 err_code |= 0x20; in config_save() 456 err_code |= 0x10; in config_save() 461 err_code |= 0x20; in config_save() 483 err_code |= 0x04; in config_save() 501 err_code |= 0x04; in config_save() 510 err_code |= 0x08; in config_save() [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/ |
D | btc_ble_mesh_prov.c | 491 mesh_param.model_send_comp.err_code = err; in btc_ble_mesh_model_send_comp_cb() 504 mesh_param.model_publish_comp.err_code = err; in btc_ble_mesh_model_publish_comp_cb() 531 mesh_param.server_model_update_state.err_code = err; in btc_ble_mesh_server_model_update_state_comp_cb() 674 static void btc_ble_mesh_prov_register_complete_cb(int err_code) in btc_ble_mesh_prov_register_complete_cb() argument 680 mesh_param.prov_register_comp.err_code = err_code; in btc_ble_mesh_prov_register_complete_cb() 1836 int err_code = bt_mesh_init((struct bt_mesh_prov *)arg->mesh_init.prov, in btc_ble_mesh_prov_call_handler() local 1840 btc_ble_mesh_prov_register_complete_cb(err_code); in btc_ble_mesh_prov_call_handler() 1846 param.node_prov_enable_comp.err_code = bt_mesh_prov_enable(arg->node_prov_enable.bearers); in btc_ble_mesh_prov_call_handler() 1850 … param.node_prov_disable_comp.err_code = bt_mesh_prov_disable(arg->node_prov_disable.bearers); in btc_ble_mesh_prov_call_handler() 1857 param.node_prov_set_oob_pub_key_comp.err_code = in btc_ble_mesh_prov_call_handler() [all …]
|
D | btc_ble_mesh_ble.c | 135 param.start_ble_advertising_comp.err_code = in btc_ble_mesh_ble_call_handler() 143 param.stop_ble_advertising_comp.err_code = in btc_ble_mesh_ble_call_handler() 151 param.start_ble_scan_comp.err_code = in btc_ble_mesh_ble_call_handler() 156 param.stop_ble_scan_comp.err_code = bt_mesh_stop_ble_scan(); in btc_ble_mesh_ble_call_handler()
|
/hal_espressif-latest/components/esp_netif/lwip/ |
D | esp_netif_lwip_ppp.c | 64 static void on_ppp_status_changed(ppp_pcb *pcb, int err_code, void *ctx) in on_ppp_status_changed() argument 73 switch (err_code) { in on_ppp_status_changed() 120 ESP_LOGE(TAG, "Unknown error code %d", err_code); in on_ppp_status_changed() 124 err = esp_event_post(NETIF_PPP_STATUS, err_code, &netif, sizeof(netif), 0); in on_ppp_status_changed()
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/include/bta/ |
D | bta_av_ci.h | 66 extern void bta_av_ci_setconfig(tBTA_AV_HNDL hndl, UINT8 err_code,
|
D | bta_av_api.h | 391 tBTA_AV_ERR err_code; member
|
/hal_espressif-latest/tools/esptool_py/esptool/ |
D | util.py | 165 err_code = struct.unpack(">H", result[:2]) 167 hexify(result), err_defs.get(err_code[0], "Unknown result")
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/ |
D | avdtc_api.h | 224 UINT8 err_code, UINT8 err_param);
|
D | avdt_api.h | 286 … UINT8 err_code; /* Zero if operation succeeded; nonzero if operation failed */ member
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/ |
D | smp_api.c | 232 UINT8 err_code = SMP_PAIR_FAIL_UNKNOWN; in SMP_PairCancel() local 240 smp_sm_event(p_cb, SMP_AUTH_CMPL_EVT, &err_code); in SMP_PairCancel()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/avct/include/ |
D | avct_int.h | 127 UINT8 err_code; member
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/av/include/ |
D | bta_av_int.h | 277 UINT8 err_code; member
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/ |
D | btm_sec.c | 3266 UINT8 err_code = 0; in btm_io_capabilities_req() local 3330 err_code = HCI_ERR_HOST_BUSY_PAIRING; in btm_io_capabilities_req() 3336 err_code = HCI_ERR_HOST_BUSY_PAIRING; in btm_io_capabilities_req() 3345 err_code = HCI_ERR_PAIRING_NOT_ALLOWED; in btm_io_capabilities_req() 3354 err_code = HCI_ERR_PAIRING_NOT_ALLOWED; in btm_io_capabilities_req() 3358 if (err_code != 0) { in btm_io_capabilities_req() 3363 btsnd_hcic_io_cap_req_neg_reply(evt_data.bd_addr, err_code); in btm_io_capabilities_req()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/avdt/include/ |
D | avdt_int.h | 430 UINT8 err_code; member
|