Kvaser ISO-TP SDK
Loading...
Searching...
No Matches
CreateParams Struct Reference

A struct that holds the parameters for creating an ISO-TP channel. More...

#include <kvisotplib.h>

Data Fields

unsigned int channel
 The number of the channel. The CANlib channel number to use.
 
enum CanMode can_mode
 The CAN mode to use.
 
bool support_virtual
 True if virtual channels are supported.
 
unsigned int bit_rate
 The bit rate to use for the channel. If CAN FD, then this is the bit rate used in arbitration. If set to 0, then this channel will be opened with NO_INIT_ACCESS and it will use the bit rate defined by the CANlib channel.
 
unsigned int data_phase_bit_rate
 The data phase bit rate to use for the channel. This is only used if the channel is opened with CAN FD mode. If set to 0, then the data phase bit rate will be set to the same value as the arbitration bit rate.
 
struct AddressInfo local_address_info
 Contains the CAN ID and address extension (if applicable) for the device end point of the ISO 15765 connection. Messages received by the device that match this address and have the properties defined by the address_extension and use_extended_addressing shall be accepted and placed in the receive queue.
 
struct AddressInfo remote_address_info
 Contains the CAN ID and address extension (if applicable) for the remote/vehicle end point of the ISO 15765 connection. The channel uses this information when it transmits a flow control message as part of a segmented transfer. The state of the use_padding flag shall cause the outgoing flow control message to be either padded or not.
 

Detailed Description

A struct that holds the parameters for creating an ISO-TP channel.

Examples
/examples/c_obd_reader/obd_reader.c, and /examples/cpp_obd_reader/obd_reader.cpp.

The documentation for this struct was generated from the following file: