PDU Router
概要
Upper layer module | <UpModId>
|
---|
Com | 8
|
Dcm | 9
|
IpduM | A
|
Dbg | B
|
CDD for interface interaction | C
|
CDD for transport protocol interaction | D
|
Lower layer communication interface module | <LoModId>
|
---|
CanIf/TTCanIf | 0
|
CanNm | 1
|
IpduM | 2
|
FrIf | 3
|
FrNm | 4
|
LinIf | 5
|
SoAdIf | 6
|
CDD If | 7
|
Lower layer transport protocol module | <LoTpModId>
|
---|
CanTp | 0
|
SAE J1939 | 1
|
FrTp | 3
|
LinTp | 5
|
SoAdTp | 6
|
CDD Tp | 7
|
エラーコード | Dec | Hex
|
---|
PDUR_E_CONFIG_PTR_INVALID | 0 | 0x00
|
PDUR_E_INVALID_REQUEST | 1 | 0x01
|
PDUR_E_PDU_ID_INVALID | 2 | 0x02
|
PDUR_E_TP_TX_REQ_REJECTED | 3 | 0x03
|
PDUR_E_PARAM_INVALID | 4 | 0x04
|
PDUR_E_DUPLICATE_IPDU_ID | 6 | 0x06
|
PDUR_E_IPDU_TOO_LONG | 7 | 0x07
|
PDUR_E_ROUTING_PATH_GROUP_ID_INVALID | 8 | 0x08
|
PDUR_E_PDU_INSTANCES_LOST | 10 | 0x0A
|
PDUR_E_INIT_FAILED | 11 | 0x0B
|
PDUR_E_NULL_POINTER | 9 | 0x09
|
API仕様
PduR_Init
void PduR_Init(const PduR_PBConfigType* ConfigPtr)
PduR_GetVersionInfo
void PduR_GetVersionInfo(Std_VersionInfoType* versionInfo)
PduR_GetConfigurationId
PduR_PBConfigIdType PduR_GetConfigurationId(void)
PduR_EnableRouting
void PduR_EnableRouting(PduR_RoutingPathGroupIdType id)
PduR_DisableRouting
void PduR_DisableRouting(PduR_RoutingPathGroupIdType id)
PduR_<User:Up>Transmit
Std_ReturnType PduR_<User:Up>Transmit(PduIdType id, const PduInfoType* info)
PduR_<User:Up>CancelTransmit
Std_ReturnType PduR_<User:Up>CancelTransmit(PduIdType id)
PduR_<User:Up>ChangeParameter
Std_ReturnType PduR_<User:Up>ChangeParameter(PduIdType id, TPParameterType parameter, uint16 value)
PduR_<User:Up>CancelReceive
Std_ReturnType PduR_<User:Up>CancelReceive(PduIdType id)
PduR_<User:Lo>RxIndication
void PduR_<User:Lo>RxIndication(PduIdType RxPduId, const PduInfoType* PduInfoPtr)
PduR_<User:Lo>TxConfirmation
void PduR_<User:Lo>TxConfirmation(PduIdType TxPduId)
PduR_<User:Lo>TriggerTransmit
Std_ReturnType PduR_<User:Lo>TriggerTransmit(PduIdType TxPduId, PduInfoType* PduInfoPtr)
PduR_<User:LoTp>CopyRxData
BufReq_ReturnType PduR_<User:LoTp>CopyRxData(PduIdType id, const PduInfoType* info, PduLengthType* bufferSizePtr)
PduR_<User:LoTp>RxIndication
void PduR_<User:LoTp>RxIndication(PduIdType id, Std_ReturnType result)
PduR_<User:LoTp>StartOfReception
BufReq_ReturnType PduR_<User:LoTp>StartOfReception(PduIdType id, const PduInfoType* info, PduLengthType TpSduLength, PduLengthType* bufferSizePtr)
PduR_<User:LoTp>CopyTxData
BufReq_ReturnType PduR_<User:LoTp>CopyTxData(PduIdType id, const PduInfoType* info, RetryInfoType* retry, PduLengthType* availableDataPtr)
PduR_<User:LoTp>TxConfirmation
void PduR_<User:LoTp>TxConfirmation(PduIdType id, Std_ReturnType result)
コンフィギュレーション仕様
PduRBswModules
/AUTOSAR/EcucDefs/PduR/PduRBswModules
PduRCancelReceive
/AUTOSAR/EcucDefs/PduR/PduRBswModules/PduRCancelReceive
PduRCancelTransmit
/AUTOSAR/EcucDefs/PduR/PduRBswModules/PduRCancelTransmit
PduRChangeParameterRequestApi
/AUTOSAR/EcucDefs/PduR/PduRBswModules/PduRChangeParameterRequestApi
PduRCommunicationInterface
/AUTOSAR/EcucDefs/PduR/PduRBswModules/PduRCommunicationInterface
PduRLowerModule
/AUTOSAR/EcucDefs/PduR/PduRBswModules/PduRLowerModule
PduRRetransmission
/AUTOSAR/EcucDefs/PduR/PduRBswModules/PduRRetransmission
PduRTransportProtocol
/AUTOSAR/EcucDefs/PduR/PduRBswModules/PduRTransportProtocol
PduRTriggertransmit
/AUTOSAR/EcucDefs/PduR/PduRBswModules/PduRTriggertransmit
PduRTxConfirmation
/AUTOSAR/EcucDefs/PduR/PduRBswModules/PduRTxConfirmation
PduRUpperModule
/AUTOSAR/EcucDefs/PduR/PduRBswModules/PduRUpperModule
PduRUseTag
/AUTOSAR/EcucDefs/PduR/PduRBswModules/PduRUseTag
PduRBswModuleRef
/AUTOSAR/EcucDefs/PduR/PduRBswModules/PduRBswModuleRef
PduRGeneral
/AUTOSAR/EcucDefs/PduR/PduRGeneral
PduRDevErrorDetect
/AUTOSAR/EcucDefs/PduR/PduRGeneral/PduRDevErrorDetect
PduRVersionInfoApi
/AUTOSAR/EcucDefs/PduR/PduRGeneral/PduRVersionInfoApi
PduRZeroCostOperation
/AUTOSAR/EcucDefs/PduR/PduRGeneral/PduRZeroCostOperation
PduRRoutingTables
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables
PduRConfigurationId
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRConfigurationId
PduRRoutingPathGroup
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingPathGroup
PduRIsEnabledAtInit
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingPathGroup/PduRIsEnabledAtInit
PduRRoutingPathGroupId
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingPathGroup/PduRRoutingPathGroupId
PduRDestPduRef
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingPathGroup/PduRDestPduRef
PduRRoutingTable
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingTable
PduRIsMinimumRouting
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingTable/PduRIsMinimumRouting
PduRRoutingPath
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingTable/PduRRoutingPath
PduRDestPdu
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingTable/PduRRoutingPath/PduRDestPdu
PduRDestPduDataProvision
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingTable/PduRRoutingPath/PduRDestPdu/PduRDestPduDataProvision
- 型:EnumerationParam
- 多重度:0..1
PduRDestPduHandleId
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingTable/PduRRoutingPath/PduRDestPdu/PduRDestPduHandleId
PduRTpThreshold
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingTable/PduRRoutingPath/PduRDestPdu/PduRTpThreshold
PduRTransmissionConfirmation
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingTable/PduRRoutingPath/PduRDestPdu/PduRTransmissionConfirmation
PduRDestPduRef
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingTable/PduRRoutingPath/PduRDestPdu/PduRDestPduRef
PduRDestTxBufferRef
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingTable/PduRRoutingPath/PduRDestPdu/PduRDestTxBufferRef
PduRDefaultValue
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingTable/PduRRoutingPath/PduRDestPdu/PduRDefaultValue
PduRDefaultValueElement
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingTable/PduRRoutingPath/PduRDestPdu/PduRDefaultValue/PduRDefaultValueElement
PduRDefaultValueElement
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingTable/PduRRoutingPath/PduRDestPdu/PduRDefaultValue/PduRDefaultValueElement/PduRDefaultValueElement
PduRDefaultValueElementBytePosition
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingTable/PduRRoutingPath/PduRDestPdu/PduRDefaultValue/PduRDefaultValueElement/PduRDefaultValueElementBytePosition
PduRSrcPdu
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingTable/PduRRoutingPath/PduRSrcPdu
PduRSourcePduHandleId
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingTable/PduRRoutingPath/PduRSrcPdu/PduRSourcePduHandleId
PduRSrcPduRef
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRRoutingTable/PduRRoutingPath/PduRSrcPdu/PduRSrcPduRef
PduRTpBufferTable
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRTpBufferTable
PduRMaxTpBufferNumber
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRTpBufferTable/PduRMaxTpBufferNumber
PduRTpBuffer
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRTpBufferTable/PduRTpBuffer
PduRTpBufferLength
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRTpBufferTable/PduRTpBuffer/PduRTpBufferLength
PduRTxBufferTable
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRTxBufferTable
PduRMaxTxBufferNumber
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRTxBufferTable/PduRMaxTxBufferNumber
PduRTxBuffer
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRTxBufferTable/PduRTxBuffer
PduRPduMaxLength
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRTxBufferTable/PduRTxBuffer/PduRPduMaxLength
PduRTxBufferDepth
/AUTOSAR/EcucDefs/PduR/PduRRoutingTables/PduRTxBufferTable/PduRTxBuffer/PduRTxBufferDepth