File isotp_config.h

FileList > inc > isotp_config.h

Go to the source code of this file

ISO-TP configuration parameters and feature toggles. More...

Macros

Type Name
define ISO_TP_DEFAULT_BLOCK_SIZE (8)
Max number of messages the receiver can receive at one time.
define ISO_TP_DEFAULT_RESPONSE_TIMEOUT_US (100000)
Default timeout while waiting for a response during a multi-frame transfer.
define ISO_TP_DEFAULT_ST_MIN_US (0)
Minimum time gap allowed between consecutive frame N_PDUs.
define ISO_TP_FRAME_PADDING_VALUE (0xAA)
Padding byte value when ISO_TP_FRAME_PADDING is enabled.
define ISO_TP_MAX_WFT_NUMBER (1)
Number of FC N_PDU WTs that can be transmitted by the receiver in a row.

Detailed Description

Project: ISO-TP-C - Embedded-Grade Refactoring & Optimization Author: Anton Vynohradov Email: avynohradov@systemfromscratch.com

Copyright:

Copyright (c) 2026 Anton Vynohradov @license MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

SPDX-License-Identifier: MIT

Macro Definition Documentation

define ISO_TP_DEFAULT_BLOCK_SIZE

Max number of messages the receiver can receive at one time.

#define ISO_TP_DEFAULT_BLOCK_SIZE `(8)`

This value is affected by CAN driver queue length.


define ISO_TP_DEFAULT_RESPONSE_TIMEOUT_US

Default timeout while waiting for a response during a multi-frame transfer.

#define ISO_TP_DEFAULT_RESPONSE_TIMEOUT_US `(100000)`


define ISO_TP_DEFAULT_ST_MIN_US

Minimum time gap allowed between consecutive frame N_PDUs.

#define ISO_TP_DEFAULT_ST_MIN_US `(0)`


define ISO_TP_FRAME_PADDING_VALUE

Padding byte value when ISO_TP_FRAME_PADDING is enabled.

#define ISO_TP_FRAME_PADDING_VALUE `(0xAA)`


define ISO_TP_MAX_WFT_NUMBER

Number of FC N_PDU WTs that can be transmitted by the receiver in a row.

#define ISO_TP_MAX_WFT_NUMBER `(1)`



The documentation for this class was generated from the following file inc/isotp_config.h