Main Content

target.XCPTransport class

Package: target

Base class for XCP transport protocol layer

Since R2021a

Description

The target.XCPTransport class is a base class for representing the XCP transport protocol layer on the target hardware. The target.XCPTCPIPTransport and target.XCPSerialTransport classes are derived from this class.

Class Attributes

Abstract
true
HandleCompatible
true

For information on class attributes, see Class Attributes.

Properties

expand all

Maximum size of CTO packet, in bytes.

Example: extModeConnectivity.XCP.XCPTransport.MaxCTOSize = 16

Attributes:

GetAccess
public
SetAccess
public

Data Types: uint8

Maximum size of DTO packet, in bytes.

Example: extModeConnectivity.XCP.XCPTransport.MaxDTOSize = 256

Attributes:

GetAccess
public
SetAccess
public

Data Types: uint16

Maximum size of an ODT entry in a DAQ list.

Example: extModeConnectivity.XCP.XCPTransport.MaxODTEntrySizeDAQ = 128

Attributes:

GetAccess
public
SetAccess
public

Data Types: uint8

Examples

Specify XCP Memory Configuration Parameters

For an example that uses this class, see Customise Connectivity for XCP External Mode Simulations.

Version History

Introduced in R2021a