Lines Matching +full:target +full:- +full:buffered +full:- +full:mode
4 * SPDX-License-Identifier: Apache-2.0
9 * @brief Public API for ISO-TP (ISO 15765-2:2016)
11 * ISO-TP is a transport protocol for CAN (Controller Area Network)
18 * @brief CAN ISO-TP Protocol
19 * @defgroup can_isotp CAN ISO-TP Protocol
43 * TA Target Address
50 * N_Result according to ISO 15765-2:2016
58 #define ISOTP_N_TIMEOUT_A -1
61 #define ISOTP_N_TIMEOUT_BS -2
64 #define ISOTP_N_TIMEOUT_CR -3
67 #define ISOTP_N_WRONG_SN -4
70 #define ISOTP_N_INVALID_FS -5
73 #define ISOTP_N_UNEXP_PDU -6
76 #define ISOTP_N_WFT_OVRN -7
79 #define ISOTP_N_BUFFER_OVERFLW -8
82 #define ISOTP_N_ERROR -9
87 #define ISOTP_NO_FREE_FILTER -10
90 #define ISOTP_NO_NET_BUF_LEFT -11
93 #define ISOTP_NO_BUF_DATA_LEFT -12
96 #define ISOTP_NO_CTX_LEFT -13
99 #define ISOTP_RECV_TIMEOUT -14
102 * CAN ID filtering for ISO-TP fixed addressing according to SAE J1939
104 * Format of 29-bit CAN identifier:
105 * ------------------------------------------------------
107 * ------------------------------------------------------
109 * ------------------------------------------------------
118 /** Position of fixed target address (TA) */
121 /** Mask to obtain fixed target address (TA) */
124 /** Position of priority in fixed addressing mode */
127 /** Mask for priority in fixed addressing mode */
138 * @name ISO-TP message ID flags
144 /** Message uses ISO-TP extended addressing (first payload byte of CAN frame) */
148 * Message uses ISO-TP fixed addressing (according to SAE J1939). Only valid in combination with
153 /** Message uses extended (29-bit) CAN ID */
165 * @brief ISO-TP message id struct
173 * If ISO-TP fixed addressing is used, isotp_bind ignores SA and
180 /** ISO-TP extended address (if used) */
183 * ISO-TP frame data length (TX_DL for TX address or RX_DL for RX address).
199 * 0-127: 0ms-127ms
200 * 128-240: Reserved
201 * 241-249: 100us-900us (multiples of 100us)
202 * 250- : Reserved
206 * @brief ISO-TP frame control options struct
232 * When data arrives from the specified address, it is buffered and can be read
287 * This function reads incoming data into net-buffers.
291 * The net-buffers are referenced and must be freed with net_buf_unref after the
308 * An internal work-queue is used to transfer the segmented data.
310 * If a complete_cb is given, this function is non-blocking, and the callback
333 * @brief Send data with buffered context
358 * @brief Send data with buffered context
387 * @brief Send data with buffered context
390 * allocated from an internal pool and the data to be send is buffered in an