/subsys/net/lib/lwm2m/ |
A D | lwm2m_obj_firmware_pull.c | 19 static void set_update_result(uint16_t obj_inst_id, int error_code) in set_update_result() argument 23 if (!error_code) { in set_update_result() 28 switch (error_code) { in set_update_result() 70 int error_code; in lwm2m_firmware_start_transfer() local 75 error_code = lwm2m_pull_context_start_transfer(package_uri, req, K_NO_WAIT); in lwm2m_firmware_start_transfer() 77 if (error_code) { in lwm2m_firmware_start_transfer() 78 return error_code; in lwm2m_firmware_start_transfer()
|
A D | lwm2m_obj_swmgmt.c | 526 if (error_code) { in lwm2m_swmgmt_install_completed() 527 error_code = handle_event(instance, EVENT_INSTALL_FAIL); in lwm2m_swmgmt_install_completed() 532 return error_code; in lwm2m_swmgmt_install_completed() 616 if (error_code == 0) { in set_update_result() 636 if (error_code == -ENOMEM) { in set_update_result() 638 } else if (error_code == -ENOSPC) { in set_update_result() 640 } else if (error_code == -EFAULT) { in set_update_result() 642 } else if (error_code == -ENOTSUP) { in set_update_result() 655 int error_code; in package_uri_write_cb() local 670 if (error_code) { in package_uri_write_cb() [all …]
|
A D | lwm2m_pull_context.h | 18 void (*result_cb)(uint16_t obj_inst_id, int error_code);
|
A D | lwm2m_obj_device.c | 210 int lwm2m_device_add_err(uint8_t error_code) in lwm2m_device_add_err() argument 221 if (error_code_list[i] == error_code) { in lwm2m_device_add_err() 230 error_code_list[i] = error_code; in lwm2m_device_add_err()
|
A D | lwm2m_pull_context.c | 40 void (*result_cb)(uint16_t obj_inst_id, int error_code);
|
A D | lwm2m_message_handling.c | 3075 static bool lwm2m_timeseries_data_rebuild(struct lwm2m_message *msg, int error_code) in lwm2m_timeseries_data_rebuild() argument 3080 if (error_code != -ENOMEM) { in lwm2m_timeseries_data_rebuild()
|
/subsys/bluetooth/controller/ll_sw/ |
A D | ull_llcp.h | 46 int ull_cp_prt_elapse(struct ll_conn *conn, uint16_t elapsed_event, uint8_t *error_code); 139 void ull_cp_conn_param_req_neg_reply(struct ll_conn *conn, uint8_t error_code); 168 void ull_cp_remote_cpr_apm_neg_reply(struct ll_conn *conn, uint8_t error_code); 173 uint8_t ull_cp_terminate(struct ll_conn *conn, uint8_t error_code); 179 uint8_t error_code); 221 void ull_cp_cc_reject(struct ll_conn *conn, uint8_t error_code); 226 void ull_cp_cc_established(struct ll_conn *conn, uint8_t error_code);
|
A D | ull_llcp_pdu.c | 257 p->error_code = ctx->data.term.error_code; in llcp_pdu_encode_terminate_ind() 262 ctx->data.term.error_code = pdu->llctrl.terminate_ind.error_code; in llcp_pdu_decode_terminate_ind() 410 void llcp_pdu_encode_reject_ind(struct pdu_data *pdu, uint8_t error_code) in llcp_pdu_encode_reject_ind() argument 415 pdu->llctrl.reject_ind.error_code = error_code; in llcp_pdu_encode_reject_ind() 418 void llcp_pdu_encode_reject_ext_ind(struct pdu_data *pdu, uint8_t reject_opcode, uint8_t error_code) in llcp_pdu_encode_reject_ext_ind() argument 424 pdu->llctrl.reject_ext_ind.error_code = error_code; in llcp_pdu_encode_reject_ext_ind() 430 ctx->reject_ext_ind.error_code = pdu->llctrl.reject_ext_ind.error_code; in llcp_pdu_decode_reject_ext_ind() 442 p->error_code = ctx->reject_ext_ind.error_code; in llcp_ntf_encode_reject_ext_ind() 951 p->error_code = ctx->data.cis_term.error_code; in llcp_pdu_encode_cis_terminate_ind() 958 ctx->data.cis_term.error_code = pdu->llctrl.cis_terminate_ind.error_code; in llcp_pdu_decode_cis_terminate_ind()
|
A D | ull_llcp.c | 518 *error_code = ctx->data.term.error_code; in ull_cp_prt_elapse() 530 *error_code = BT_HCI_ERR_LL_RESP_TIMEOUT; in ull_cp_prt_elapse() 535 *error_code = BT_HCI_ERR_SUCCESS; in ull_cp_prt_elapse() 777 ctx->data.term.error_code = error_code; in ull_cp_terminate() 786 uint8_t error_code) in ull_cp_cis_terminate() argument 801 ctx->data.cis_term.error_code = error_code; in ull_cp_cis_terminate() 1173 ctx->data.cu.error = error_code; in ull_cp_conn_param_req_neg_reply() 1226 ctx->data.cu.error = error_code; in ull_cp_remote_cpr_apm_neg_reply() 1363 ctx->data.cis_create.error = error_code; 1411 ctx->data.cis_create.error = error_code; [all …]
|
A D | ull_llcp_internal.h | 249 uint8_t error_code; member 313 uint8_t error_code; member 318 uint8_t error_code; member 354 uint8_t error_code; member 686 void llcp_pdu_encode_reject_ind(struct pdu_data *pdu, uint8_t error_code); 688 uint8_t error_code);
|
A D | ull_llcp_common.c | 380 pdu_sca->status = ctx->data.sca_update.error_code; in lp_comm_ntf_sca() 562 ctx->data.sca_update.error_code = BT_HCI_ERR_UNSUPP_FEATURE_PARAM_VAL; in lp_comm_complete() 567 !ctx->data.sca_update.error_code && in lp_comm_complete() 650 ctx->data.term.error_code = BT_HCI_ERR_LOCALHOST_TERM_CONN; 948 conn->llcp_terminate.reason_final = ctx->data.term.error_code; 955 ctx->data.cis_term.error_code);
|
A D | ull_llcp_enc.c | 375 error = pdu->llctrl.reject_ind.error_code; in reject_error_code() 378 error = pdu->llctrl.reject_ext_ind.error_code; in reject_error_code() 729 ctx->reject_ext_ind.error_code); in llcp_rp_enc_tx() 731 llcp_pdu_encode_reject_ind(pdu, ctx->reject_ext_ind.error_code); in llcp_rp_enc_tx() 997 ctx->reject_ext_ind.error_code = BT_HCI_ERR_PIN_OR_KEY_MISSING; in rp_enc_state_wait_ltk_reply() 1132 ctx->reject_ext_ind.error_code = BT_HCI_ERR_LMP_PDU_NOT_ALLOWED; in rp_enc_state_wait_rx_pause_enc_req()
|
A D | pdu.h | 644 uint8_t error_code; member 694 uint8_t error_code; member 753 uint8_t error_code; member 891 uint8_t error_code; member
|
A D | ull_peripheral.c | 606 uint8_t ll_start_enc_req_send(uint16_t handle, uint8_t error_code, argument 616 if (error_code) {
|
A D | ull_llcp_conn_upd.c | 560 if (pdu->llctrl.reject_ext_ind.error_code == BT_HCI_ERR_UNSUPP_REMOTE_FEATURE) { in lp_cu_st_wait_rx_conn_param_rsp() 570 ctx->data.cu.error = pdu->llctrl.reject_ext_ind.error_code; in lp_cu_st_wait_rx_conn_param_rsp() 627 ctx->data.cu.error = pdu->llctrl.reject_ext_ind.error_code; in lp_cu_st_wait_rx_conn_update_ind()
|
A D | ull_llcp_cc.c | 1013 if (pdu->llctrl.reject_ext_ind.error_code == BT_HCI_ERR_UNSUPP_REMOTE_FEATURE) { in lp_cc_st_wait_rx_cis_rsp() 1017 ctx->data.cis_create.error = pdu->llctrl.reject_ext_ind.error_code; in lp_cc_st_wait_rx_cis_rsp()
|
A D | ull_conn.c | 1221 uint8_t error_code; in ull_conn_done() local 1223 if (-ETIMEDOUT == ull_cp_prt_elapse(conn, elapsed_event, &error_code)) { in ull_conn_done() 1224 conn_cleanup(conn, error_code); in ull_conn_done()
|
A D | ull_llcp_phy.c | 748 ctx->data.pu.error = ctx->reject_ext_ind.error_code; in lp_pu_st_wait_rx_phy_update_ind()
|
/subsys/bluetooth/host/classic/ |
A D | avdtp.c | 273 uint8_t error_code = 0; in avdtp_discover_cmd() local 288 if (error_code == 0) { in avdtp_discover_cmd() 289 error_code = BT_AVDTP_BAD_STATE; in avdtp_discover_cmd() 293 net_buf_add_u8(rsp_buf, error_code); in avdtp_discover_cmd() 350 *error_code = BT_AVDTP_BAD_LENGTH; in avdtp_get_cmd_sep() 364 uint8_t error_code = 0; in avdtp_get_capabilities_cmd() local 366 sep = avdtp_get_cmd_sep(buf, &error_code); in avdtp_get_capabilities_cmd() 390 if (error_code == 0) { in avdtp_get_capabilities_cmd() 391 error_code = BT_AVDTP_BAD_ACP_SEID; in avdtp_get_capabilities_cmd() 394 LOG_DBG("get cap err code:%d", error_code); in avdtp_get_capabilities_cmd() [all …]
|
/subsys/sip_svc/ |
A D | sip_svc_subsys.c | 469 uint32_t error_code; in sip_svc_request_handler() local 524 error_code = sip_svc_plat_get_error_code(ctrl->dev, &res); in sip_svc_request_handler() 525 if (error_code != 0 || cmd_code == SIP_SVC_PROTO_CMD_SYNC) { in sip_svc_request_handler() 526 response.header = SIP_SVC_PROTO_HEADER(error_code, trans_id); in sip_svc_request_handler()
|
/subsys/net/lib/http/ |
A D | http_server_http2.c | 374 struct http2_frame *frame, int error_code) in send_http2_500() argument 389 error_desc = strerror(error_code); in send_http2_500() 393 (uint8_t)error_code); in send_http2_500() 1692 uint32_t error_code; in handle_http_frame_rst_stream() local 1713 error_code = sys_get_be32(client->cursor); in handle_http_frame_rst_stream() 1716 error_code); in handle_http_frame_rst_stream()
|
A D | http_server_http1.c | 75 static void send_http1_500(struct http_client_ctx *client, int error_code) in send_http1_500() argument 97 error_desc = strerror(error_code); in send_http1_500() 101 (uint8_t)error_code); in send_http1_500()
|
/subsys/net/lib/coap/ |
A D | coap_client.c | 460 static void report_callback_error(struct coap_client_internal_request *internal_req, int error_code) in report_callback_error() argument 464 internal_req->coap_request.cb(error_code, 0, NULL, 0, true, in report_callback_error()
|
/subsys/bluetooth/controller/hci/ |
A D | hci.c | 3311 static void le_df_cte_req_failed(uint8_t error_code, uint16_t handle, struct net_buf *buf) in le_df_cte_req_failed() argument 3322 sep->status = error_code; in le_df_cte_req_failed() 9076 le_df_cte_req_failed(pdu->llctrl.reject_ext_ind.error_code, handle, buf); 9182 encrypt_change(pdu_data->llctrl.reject_ind.error_code, handle,
|