Vehicle-2-X Basic Transport (V2xBtp)
AUTOSAR Classic Off-board Comm. Services-Modul Vehicle-2-X Basic Transport (V2xBtp, Spezifikation: AUTOSAR_CP_SWS_V2XBasicTransport.pdf, AUTOSAR_SWS_V2XBasicTransport.pdf).
Funktionen — Übersicht
void V2xBtp_Init (void* CfgPtr);Initializes the V2x Btp module.void V2Btp_GetVersionInfo (Std_VersionInfoType* VersionInfoPtr);Returns the version information of this module.Std_ReturnType V2xBtp_Transmit (uint16 TransactionId16, const V2xBtp_TxParamsType* TransmitParams, uint16 Length, const uint8* DataPtr);This API is c alled by the V2x Fac module to request sending a BTP - PDU to the peer BTP entity.void V2xBtp_RxIndication (uint32 TransactionId32, const V2xBtp_RxParamsType* ReceiveParams, uint16 Length, const uint8* DataPtr);Via this API, the V2x Btp module gets the data (BTP - PDU), the Geo Networking parameters and the Transaction ID of a received...void V2xBtp_TxConfirmation (uint16 TransactionId16);By this API primitive, the V2x Btp module gets an indication from the V2x Gn module about the status of the transmission of...Std_ReturnType V2xBtp_CopyTxData (uint16 TransactionId16, uint8* DestPtr, uint16* Length);This API is called by the V2x Gn module to request the V2x Btp module to copy the transmission data to a specific location.void <User>_RxIndication (uint32 TransactionId32, const V2xBtp_RxParamsType* ReceiveParams, uint16 Length, const uint8* DataPtr);Via this API, the BTP upper layer modules gets the data (BTP - SDU), the Geo Networking parameters and the Transaction ID of a...
Typen — Übersicht
struct V2xBtp_TxParamsTypeStructure containing BTP and Geo Networking related parameters that should be passed to the transmit request function (i.struct V2xBtp_RxParamsTypeStructure containing BTP and Geo Networking parameters related to a received BTP packet.
Anforderungen — Übersicht
SWS_V2xBtp_00023Type of error Related error code Error value API service called with invalid parameter V2XBTP_ E_ PARAM 0x01 API service...SWS_V2xBtp_00024Module Header File Imported Type Std Std_ Types.SWS_V2xBtp_00034V2x Fac _ Rx - Indication V2x Fac.SWS_V2xBtp_00035Det_ReportError Det.SWS_V2xBtp_00041[SWS_V2xBtp_00041] ⌈If development error detection is enabled: the function shall check the parameter VersionInfoPtr for being...SWS_V2xBtp_00042[SWS_V2xBtp_00042] ⌈If development error detection is enabled: the function shall check that the service V2xBtp_Init() was...SWS_V2xBtp_00043[SWS_V2xBtp_00043] ⌈If development error detection is enabled: the function shall check the parameter TransmitParams for being...SWS_V2xBtp_00044[SWS_V2xBtp_00044] ⌈If development error detection is enabled: the function shall check the parameter DataPtr for being valid.SWS_V2xBtp_00053[SWS_V2xBtp_00053] ⌈If development error detection is enabled: the function shall check that the service V2xBtp_Init() was...SWS_V2xBtp_00054[SWS_V2xBtp_00054] ⌈If development error detection is enabled: the function shall check the parameter DestPtr for being valid.SWS_V2xBtp_00057[SWS_V2xBtp_00057] ⌈If development error detection is enabled: the function shall check the parameter Length for being valid...SWS_V2xBtp_20274The V2xBt p module shall set the destination port info field to the value 0.
Funktionen & Typen — Detailansicht
함수 V2xBtp_Init [SWS_V2xBtp_00029] 📄 PDF
void V2xBtp_Init(void* CfgPtr);
Initializes the V2x Btp module.
함수 V2Btp_GetVersionInfo [SWS_V2xBtp_00030] 📄 PDF
void V2Btp_GetVersionInfo(Std_VersionInfoType* VersionInfoPtr);
Returns the version information of this module.
함수 V2xBtp_Transmit [SWS_V2xBtp_00031] 📄 PDF
Std_ReturnType V2xBtp_Transmit(uint16 TransactionId16, const V2xBtp_TxParamsType* TransmitParams, uint16 Length, const uint8* DataPtr);
This API is c alled by the V2x Fac module to request sending a BTP - PDU to the peer BTP entity.
함수 V2xBtp_RxIndication [SWS_V2xBtp_00032] 📄 PDF
void V2xBtp_RxIndication(uint32 TransactionId32, const V2xBtp_RxParamsType* ReceiveParams, uint16 Length, const uint8* DataPtr);
Via this API, the V2x Btp module gets the data (BTP - PDU), the Geo Networking parameters and the Transaction ID of a received Geo Networking packet.
함수 V2xBtp_TxConfirmation [SWS_V2xBtp_00033] 📄 PDF
void V2xBtp_TxConfirmation(uint16 TransactionId16);
By this API primitive, the V2x Btp module gets an indication from the V2x Gn module about the status of the transmission of the data (FAC - PDU) with the associated ID.
함수 V2xBtp_CopyTxData [SWS_V2xBtp_00052] 📄 PDF
Std_ReturnType V2xBtp_CopyTxData(uint16 TransactionId16, uint8* DestPtr, uint16* Length);
This API is called by the V2x Gn module to request the V2x Btp module to copy the transmission data to a specific location.
함수 <User>_RxIndication [SWS_V2xBtp_00056] 📄 PDF
void <User>_RxIndication(uint32 TransactionId32, const V2xBtp_RxParamsType* ReceiveParams, uint16 Length, const uint8* DataPtr);
Via this API, the BTP upper layer modules gets the data (BTP - SDU), the Geo Networking parameters and the Transaction ID of a received BTP packet.
타입 V2xBtp_TxParamsType [SWS_V2xBtp_00027] 📄 PDF
Structure containing BTP and Geo Networking related parameters that should be passed to the transmit request function (i.e. V2x Btp_ Transmit defined in 8.3.3) by the V2x Fac module.
타입 V2xBtp_RxParamsType [SWS_V2xBtp_00028] 📄 PDF
Structure containing BTP and Geo Networking parameters related to a received BTP packet. This structure should be passed to the V2x Btp module from the V2x Gn Module when the V2x Gn module receives a GN packet from the peer Geo Networking entit y.
requirement SWS_V2xBtp_00023 [SWS_V2xBtp_00023] 📄 PDF
Type of error Related error code Error value API service called with invalid parameter V2XBTP_ E_ PARAM 0x01 API service called with invalid pointer V2XBTP_ E_ PARAM_ POINTER 0x02 API service used without module initialization V2XBTP_ E_ UNINIT 0x03 V2x Btp initialization failed V2XBTP_ E_ INIT_ FAILED 0x04
requirement SWS_V2xBtp_00024 [SWS_V2xBtp_00024] 📄 PDF
Module Header File Imported Type Std Std_ Types.h Std _ Return Type Std_ Types.h Std _ Version Info Type V2x_ General Types Rte_ V2x M_ Type.h V2x M _ Sec Report Type V2x_ General Types.h V2x _ Gn Address Type V2x_ General Types.h V2x _ Gn Area Shape Type V2x_ General Types.h V2x _ Gn Destination Area Type V2x_ General Types.h V2x _ Gn Destination Type V2x_ General Types.h V2x _ Gn Long Position Vector Type V2x_ General Types.h V2x _ Gn Packet Transport Type V2x_ General Types.h V2x _ Gn Tx Result Type V2x_ General Types.h V2x _ Gn Upper Protocol Type V2x_ General Types.h V2x _ Sec Profile Type V2x_ General Types.h V2x _ Traffic Class Id Type V2x Fac V2x Fac.h V2x Fac _ Rx Params Type V2x Gn V2x Gn.h V2x Gn _ Tx Params Type
requirement SWS_V2xBtp_00034 [SWS_V2xBtp_00034] 📄 PDF
V2x Fac _ Rx - Indication V2x Fac.h This API primitive is called by the V2x Btp module providing the data and the Geo Networking parameters of a received BTP packet to V2x Fac module. V2x Gn _ - Transmit V2x Gn.h Is called by V2x_ Btp to send a message.
requirement SWS_V2xBtp_00035 [SWS_V2xBtp_00035] 📄 PDF
Det_ReportError Det.h Service to report development errors. ⌋
requirement SWS_V2xBtp_00041 [SWS_V2xBtp_00041] 📄 PDF
[SWS_V2xBtp_00041] ⌈If development error detection is enabled: the function shall check the parameter VersionInfoPtr for being valid. If the check fails, the function shall raise the development error V2XBTP_E_PARAM_POINTER.⌋
requirement SWS_V2xBtp_00042 [SWS_V2xBtp_00042] 📄 PDF
[SWS_V2xBtp_00042] ⌈If development error detection is enabled: the function shall check that the service V2xBtp_Init() was previously called. If the check fails, the function shall raise the development error V2XBTP_E_UNINIT.⌋
requirement SWS_V2xBtp_00043 [SWS_V2xBtp_00043] 📄 PDF
[SWS_V2xBtp_00043] ⌈If development error detection is enabled: the function shall check the parameter TransmitParams for being valid. If the check fails, the function shall raise the development error V2XBTP_E_PARAM_POINTER.⌋
requirement SWS_V2xBtp_00044 [SWS_V2xBtp_00044] 📄 PDF
[SWS_V2xBtp_00044] ⌈If development error detection is enabled: the function shall check the parameter DataPtr for being valid. If the check fails, the function shall raise the development error V2XBTP_E_PARAM_POINTER.⌋
requirement SWS_V2xBtp_00053 [SWS_V2xBtp_00053] 📄 PDF
[SWS_V2xBtp_00053] ⌈If development error detection is enabled: the function shall check that the service V2xBtp_Init() was previously called. If the check fails, the function shall raise the development error V2XBTP_E_UNINIT.⌋
requirement SWS_V2xBtp_00054 [SWS_V2xBtp_00054] 📄 PDF
[SWS_V2xBtp_00054] ⌈If development error detection is enabled: the function shall check the parameter DestPtr for being valid. If the check fails, the function shall raise the development error V2XBTP_E_PARAM_POINTER.⌋
requirement SWS_V2xBtp_00057 [SWS_V2xBtp_00057] 📄 PDF
[SWS_V2xBtp_00057] ⌈If development error detection is enabled: the function shall check the parameter Length for being valid (Pointer is not NULL_PTR and value matches to data length). If the check fails, the function shall raise the development error V2XBTP_E_PARAM_POINTER.⌋
requirement SWS_V2xBtp_20274 [SWS_V2xBtp_20274] 📄 PDF
The V2xBt p module shall set the destination port info field to the value 0.
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/CP_MOD_V2xBtp- Status
- unspecified
- Version
AUTOSAR/AP/record/CP_MOD_V2xBtp@rel:R20-11#0dcd3adb- Content hash
0dcd3adb- Source
- https://www.autosar.org/fileadmin/standards/R20-11/CP/AUTOSAR_SWS_V2XBasicTransport.pdf#nameddest=SWS_V2xBtp_00029