Home
last modified time | relevance | path

Searched refs:error_nr (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.7.0/include/zephyr/canbus/
Disotp.h223 typedef void (*isotp_tx_callback_t)(int error_nr, void *arg);
422 uint32_t error_nr; member
460 int error_nr; member
/Zephyr-Core-3.7.0/samples/subsys/canbus/isotp/src/
Dmain.c126 void send_complette_cb(int error_nr, void *arg) in send_complette_cb() argument
129 printk("TX complete cb [%d]\n", error_nr); in send_complette_cb()
/Zephyr-Core-3.7.0/subsys/canbus/isotp/
Disotp.c92 rctx->error_nr = err; in receive_report_error()
341 LOG_DBG("SM ERR state. err nr: %d", rctx->error_nr); in receive_state_machine()
344 if (rctx->error_nr == ISOTP_N_BUFFER_OVERFLW) { in receive_state_machine()
707 ret = rctx->error_nr ? rctx->error_nr : ISOTP_RECV_TIMEOUT; in isotp_recv_net()
708 rctx->error_nr = 0; in isotp_recv_net()
726 err = rctx->error_nr ? rctx->error_nr : ISOTP_RECV_TIMEOUT; in isotp_recv()
727 rctx->error_nr = 0; in isotp_recv()
756 sctx->error_nr = err; in send_report_error()
1148 sctx->fin_cb.cb(sctx->error_nr, sctx->fin_cb.arg); in send_state_machine()
1226 sctx->error_nr = ISOTP_N_OK; in send()
[all …]
/Zephyr-Core-3.7.0/tests/subsys/canbus/isotp/implementation/src/
Dmain.c50 void send_complete_cb(int error_nr, void *arg) in send_complete_cb() argument
52 zassert_equal(error_nr, ISOTP_N_OK, "Sending failed (%d)", error_nr); in send_complete_cb()
/Zephyr-Core-3.7.0/tests/subsys/canbus/isotp/conformance/src/
Dmain.c157 void send_complete_cb(int error_nr, void *arg) in send_complete_cb() argument
161 zassert_equal(error_nr, expected_err_nr, in send_complete_cb()
163 expected_err_nr, error_nr); in send_complete_cb()