wiki:spec/J1939Tp

Version 7 (modified by fujisft-shigihara, 9 years ago) ( diff )

--

SAE J1939 Transport Layer


概要

API ID
[Dec]
ID
[Hex]
J1939Tp_Init 1 0x01
J1939Tp_Shutdown 2 0x02
J1939Tp_GetVersionInfo 3 0x03
J1939Tp_Transmit 5 0x05
J1939Tp_CancelTransmit 9 0x09
J1939Tp_CancelReceive 10 0x0A
J1939Tp_ChangeParameter 8 0x08
J1939Tp_RxIndication 66 0x42
J1939Tp_TxConfirmation 64 0x40
J1939Tp_MainFunction 4 0x04
  • エラーコード一覧
    • "--"はDemにより決定される
エラーコード Dec Hex
J1939TP_E_PARAM_ID 1 0x01
J1939TP_E_PARAM_ADDRESS 2 0x02
J1939TP_E_UNINIT 32 0x20
J1939TP_E_REINIT 33 0x21
J1939TP_E_RECEPTION_ABORTED 48 0x30
J1939TP_E_TRANSMISSION_ABORTED 49 0x31
J1939TP_E_COMMUNICATION -- --

API仕様

J1939Tp_Init

void J1939Tp_Init(const J1939Tp_ConfigType* ConfigPtr)

J1939Tp_Shutdown

void J1939Tp_Shutdown(void)

J1939Tp_GetVersionInfo

void J1939Tp_GetVersionInfo(Std_VersionInfoType* VersionInfo)

J1939Tp_Transmit

Std_ReturnType J1939Tp_Transmit(PduIdType TxSduId, const PduInfoType* TxInfoPtr)

J1939Tp_CancelTransmit

Std_ReturnType J1939Tp_CancelTransmit(PduIdType TxSduId)

J1939Tp_CancelReceive

Std_ReturnType J1939Tp_CancelReceive(PduIdType RxSduId)

J1939Tp_ChangeParameter

Std_ReturnType J1939Tp_ChangeParameter(PduIdType SduId, TPParameterType Parameter, uint16 Value)

J1939Tp_RxIndication

void J1939Tp_RxIndication(PduIdType RxPduId, PduInfoType* PduInfoPtr)

J1939Tp_TxConfirmation

void J1939Tp_TxConfirmation(PduIdType TxPduId)

J1939Tp_MainFunction

void J1939Tp_MainFunction(void)

コンフィギュレーション仕様

J1939TpConfiguration

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration
  • 型:Container
  • 多重度:1

J1939TpDemEventParameterRefs

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpDemEventParameterRefs
  • 型:Container
  • 多重度:0..1

J1939TP_E_COMMUNICATION

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpDemEventParameterRefs/J1939TP_E_COMMUNICATION
  • 型:Reference
  • 多重度:0..1

J1939TpRxChannel

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel
  • 型:Container
  • 多重度:0..*

J1939TpRxProtocolType

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel/J1939TpRxProtocolType
  • 型:EnumerationParam
  • 多重度:1

J1939TpRxCmNPdu

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel/J1939TpRxCmNPdu
  • 型:Container
  • 多重度:1

J1939TpRxCmNPduId

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel/J1939TpRxCmNPdu/J1939TpRxCmNPduId
  • 型:IntegerParam
  • 多重度:1

J1939TpRxCmNPduRef

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel/J1939TpRxCmNPdu/J1939TpRxCmNPduRef
  • 型:Reference
  • 多重度:1

J1939TpRxDtNPdu

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel/J1939TpRxDtNPdu
  • 型:Container
  • 多重度:1

J1939TpRxDtNPduId

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel/J1939TpRxDtNPdu/J1939TpRxDtNPduId
  • 型:IntegerParam
  • 多重度:1

J1939TpRxDtNPduRef

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel/J1939TpRxDtNPdu/J1939TpRxDtNPduRef
  • 型:Reference
  • 多重度:1

J1939TpRxPg

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel/J1939TpRxPg
  • 型:Container
  • 多重度:1..*

J1939TpRxPgDynLength

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel/J1939TpRxPg/J1939TpRxPgDynLength
  • 型:BooleanParam
  • 多重度:1

J1939TpRxPgPGN

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel/J1939TpRxPg/J1939TpRxPgPGN
  • 型:IntegerParam
  • 多重度:1

J1939TpRxDirectNPdu

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel/J1939TpRxPg/J1939TpRxDirectNPdu
  • 型:Container
  • 多重度:0..1

J1939TpRxDirectNPduId

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel/J1939TpRxPg/J1939TpRxDirectNPdu/J1939TpRxDirectNPduId
  • 型:IntegerParam
  • 多重度:1

J1939TpRxDirectNPduRef

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel/J1939TpRxPg/J1939TpRxDirectNPdu/J1939TpRxDirectNPduRef
  • 型:Reference
  • 多重度:1

J1939TpRxNSdu

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel/J1939TpRxPg/J1939TpRxNSdu
  • 型:Container
  • 多重度:1

J1939TpRxNSduRef

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel/J1939TpRxPg/J1939TpRxNSdu/J1939TpRxNSduRef
  • 型:Reference
  • 多重度:1

J1939TpTxFcNPdu

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel/J1939TpTxFcNPdu
  • 型:Container
  • 多重度:0..1

J1939TpTxFcNPduTxConfId

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel/J1939TpTxFcNPdu/J1939TpTxFcNPduTxConfId
  • 型:IntegerParam
  • 多重度:1

J1939TpTxFcNPduRef

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpRxChannel/J1939TpTxFcNPdu/J1939TpTxFcNPduRef
  • 型:Reference
  • 多重度:1

J1939TpTxChannel

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel
  • 型:Container
  • 多重度:0..*

J1939TpTxProtocolType

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpTxProtocolType
  • 型:EnumerationParam
  • 多重度:1

J1939TpRxFcNPdu

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpRxFcNPdu
  • 型:Container
  • 多重度:0..1

J1939TpRxFcNPduId

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpRxFcNPdu/J1939TpRxFcNPduId
  • 型:IntegerParam
  • 多重度:1

J1939TpRxFcNPduRef

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpRxFcNPdu/J1939TpRxFcNPduRef
  • 型:Reference
  • 多重度:1

J1939TpTxCmNPdu

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpTxCmNPdu
  • 型:Container
  • 多重度:1

J1939TpTxCmNPduTxConfId

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpTxCmNPdu/J1939TpTxCmNPduTxConfId
  • 型:IntegerParam
  • 多重度:1

J1939TpTxCmNPduRef

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpTxCmNPdu/J1939TpTxCmNPduRef
  • 型:Reference
  • 多重度:1

J1939TpTxDtNPdu

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpTxDtNPdu
  • 型:Container
  • 多重度:1

J1939TpTxDtNPduTxConfId

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpTxDtNPdu/J1939TpTxDtNPduTxConfId
  • 型:IntegerParam
  • 多重度:1

J1939TpTxDtNPduRef

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpTxDtNPdu/J1939TpTxDtNPduRef
  • 型:Reference
  • 多重度:1

J1939TpTxPg

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpTxPg
  • 型:Container
  • 多重度:1..*

J1939TpTxPgDynLength

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpTxPg/J1939TpTxPgDynLength
  • 型:BooleanParam
  • 多重度:1

J1939TpTxPgPGN

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpTxPg/J1939TpTxPgPGN
  • 型:IntegerParam
  • 多重度:1

J1939TpTxDirectNPdu

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpTxPg/J1939TpTxDirectNPdu
  • 型:Container
  • 多重度:0..1

J1939TpTxDirectNPduTxConfId

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpTxPg/J1939TpTxDirectNPdu/J1939TpTxDirectNPduTxConfId
  • 型:IntegerParam
  • 多重度:1

J1939TpTxDirectNPduRef

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpTxPg/J1939TpTxDirectNPdu/J1939TpTxDirectNPduRef
  • 型:Reference
  • 多重度:1

J1939TpTxNSdu

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpTxPg/J1939TpTxNSdu
  • 型:Container
  • 多重度:1

J1939TpTxNSduId

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpTxPg/J1939TpTxNSdu/J1939TpTxNSduId
  • 型:IntegerParam
  • 多重度:1

J1939TpTxNSduRef

/AUTOSAR/EcucDefs/J1939Tp/J1939TpConfiguration/J1939TpTxChannel/J1939TpTxPg/J1939TpTxNSdu/J1939TpTxNSduRef
  • 型:Reference
  • 多重度:1

J1939TpGeneral

/AUTOSAR/EcucDefs/J1939Tp/J1939TpGeneral
  • 型:Container
  • 多重度:1

J1939TpDevErrorDetect

/AUTOSAR/EcucDefs/J1939Tp/J1939TpGeneral/J1939TpDevErrorDetect
  • 型:BooleanParam
  • 多重度:1

J1939TpMainFunctionPeriod

/AUTOSAR/EcucDefs/J1939Tp/J1939TpGeneral/J1939TpMainFunctionPeriod
  • 型:FloatParam
  • 多重度:1

J1939TpMaxPacketsPerBlock

/AUTOSAR/EcucDefs/J1939Tp/J1939TpGeneral/J1939TpMaxPacketsPerBlock
  • 型:IntegerParam
  • 多重度:1

J1939TpPacketsPerBlock

/AUTOSAR/EcucDefs/J1939Tp/J1939TpGeneral/J1939TpPacketsPerBlock
  • 型:IntegerParam
  • 多重度:1

J1939TpTxConfTimeout

/AUTOSAR/EcucDefs/J1939Tp/J1939TpGeneral/J1939TpTxConfTimeout
  • 型:FloatParam
  • 多重度:1

J1939TpVersionInfoApi

/AUTOSAR/EcucDefs/J1939Tp/J1939TpGeneral/J1939TpVersionInfoApi
  • 型:BooleanParam
  • 多重度:1
Note: See TracWiki for help on using the wiki.