CanEasy COM-Help
CanEasy::ITransmissionData Interface Reference

Inherits IDispatch.

Detailed Description

Uses as parameter for transmission events

interface ITransmissionData : IDispatch
{
HRESULT Bus([out, retval] IBus** ppBus);
HRESULT Message([out, retval] IMessage** ppMsg);
HRESULT GetMsgId([out, retval] IMessageId** ppMsgId);
HRESULT Dlc([out, retval] byte* pDlc);
HRESULT Timestamp([out, retval] double* pTimestamp);
HRESULT Data([out, retval] IMsgData** ppData);
HRESULT MsgId([out, retval] IMessageId** ppMsgId);
HRESULT Received([out, retval] VARIANT_BOOL* pVal);
HRESULT ErrorNo([out, retval] LONG* pErrorNo);
HRESULT ErrorText([out, retval] BSTR* pErrorText);
HRESULT DBItem([out, retval] IDatabaseItem** ppDBItem);
HRESULT Timeout([out, retval] VARIANT_BOOL* timeout);
HRESULT Flags([out, retval] enum TransmissionFlags* timeout);
};

Definition at line 8374 of file cand_tlb.idl.

Member Function Documentation

◆ GetMsgId()

HRESULT CanEasy::ITransmissionData::GetMsgId ( [out, retval] IMessageId **  ppMsgId)

Returns on object to access the message identifier

Property Documentation

◆ Bus

IBus CanEasy::ITransmissionData::Bus
get

Returns the database bus/channel related to this transmission

◆ Data

IMsgData CanEasy::ITransmissionData::Data
get

Returns object which allows to access the payload

◆ DBItem

IDatabaseItem CanEasy::ITransmissionData::DBItem
get

Returns the database reference

◆ Dlc

byte CanEasy::ITransmissionData::Dlc
get

Returns the payload length

◆ ErrorNo

LONG CanEasy::ITransmissionData::ErrorNo
get

Returns an error number (e.g. for diag config)

◆ ErrorText

BSTR CanEasy::ITransmissionData::ErrorText
get

Returns an error text if transmission failed

◆ Flags

TransmissionFlags CanEasy::ITransmissionData::Flags
get

Returns transmission flags

◆ Message

IMessage CanEasy::ITransmissionData::Message
get

Returns the database message related to this transmission

◆ MsgId

IMessageId CanEasy::ITransmissionData::MsgId
get

Returns on object to access the message identifier

◆ Received

VARIANT_BOOL CanEasy::ITransmissionData::Received
get

Returns True if the message was received

◆ Timeout

VARIANT_BOOL CanEasy::ITransmissionData::Timeout
get

Returns True if timeout occurred

◆ Timestamp

double CanEasy::ITransmissionData::Timestamp
get

Returns the timestamp

CanEasy::ITransmissionData::Data
IMsgData Data
CanEasy::ITransmissionData::Timestamp
double Timestamp
CanEasy::ITransmissionData::ErrorText
BSTR ErrorText
CanEasy::ITransmissionData::Message
IMessage Message
CanEasy::TransmissionFlags
TransmissionFlags
The TransmissionFlags enumeration defines flags for low-level protocol handling as a bit mask.
Definition: cand_tlb.idl:513
CanEasy::ITransmissionData::ErrorNo
LONG ErrorNo
CanEasy::ITransmissionData::Dlc
byte Dlc
CanEasy::ITransmissionData::MsgId
IMessageId MsgId
CanEasy::ITransmissionData::Flags
TransmissionFlags Flags
CanEasy::ITransmissionData::Received
VARIANT_BOOL Received
CanEasy::ITransmissionData::DBItem
IDatabaseItem DBItem
CanEasy::ITransmissionData::GetMsgId
HRESULT GetMsgId([out, retval] IMessageId **ppMsgId)
CanEasy::ITransmissionData::Bus
IBus Bus
CanEasy::ITransmissionData::Timeout
VARIANT_BOOL Timeout