Wireless Ethernet Transceiver Driver (WEthTrcv)
AUTOSAR Classic Wireless Comm. HW Abstraction-Modul Wireless Ethernet Transceiver Driver (WEthTrcv, Spezifikation: AUTOSAR_CP_SWS_WirelessEthernetTransceiverDriver.pdf, AUTOSAR_SWS_WirelessEthernetTransceiverDriver.pdf).
Funktionen — Übersicht
void WEthTrcv_Init (const WEthTrcv_ConfigType* CfgPtr);Initializes the Wireless Ethernet Transceiver DriverStd_ReturnType WEthTrcv_SetTransceiverMode (uint8 TrcvId, Eth_ModeType TrcvMode);Enables / disables the indexed transceiverStd_ReturnType WEthTrcv_GetTransceiverMode (uint8 TrcvId, Eth_ModeType* TrcvModePtr);Ob tains the state of the indexed transceiverStd_ReturnType WEthTrcv_GetLinkState (uint8 TrcvId, EthTrcv_LinkStateType* LinkStatePtr);Obtains the link state of the indexed transceivervoid WEthTrcv_GetVersionInfo (Std_VersionInfoType* VersionInfoPtr);Returns the version information of this modulevoid WEthTrcv_MainFunction (void);Used for polling state changes.Std_ReturnType WEthTrcv_SetRadioParams (uint8 TrcvId, const WEthTrcv_SetRadioParamIdType* ParamIds, const uint32* ParamValue, uint8 NumParams);Set values related to a transceiver's wireless radio.Std_ReturnType WEthTrcv_SetChanRxParams (uint8 TrcvId, uint8 RadioId, const WEthTrcv_SetChanRxParamIdType* ParamIds, const uint32* ParamValues, uint8 NumParams);Set values related to the receive direction of a transceiver's wireless channel.Std_ReturnType WEthTrcv_SetChanTxParams (uint8 TrcvId, uint8 RadioId, const WEthTrcv_SetChanTxParamIdType* TxParamIds, const uint32* ParamValues, uint8 NumParams);Set values related to the transmit direction of a transceiver's wireless channel.Std_ReturnType WEthTrcv_GetChanRxParams (uint8* TrcvId, uint8 RadioId, const WEthTrcv_GetChanRxParamIdType* ParamIds, uint32* ParamValues, uint8 NumParams);Read values related to the receive direction of the transceiver.
Typen — Übersicht
struct WEthTrcv_ConfigTypeImplementation specific structure of the post build configurationenum WEthTrcv_GetChanRxParamIdTypeWireless channel properties of the receive sideenum WEthTrcv_SetRadioParamIdTypeWireless radio settings for the transceiverenum WEthTrcv_SetChanRxParamIdTypeWireless channel settings for the receive sideenum WEthTrcv_SetChanTxParamIdType-struct WEthTrcv_BandwidthTypeBandwidth of a radio channelstruct WEthTrcv_TxPwrLvlTypePower of frame, in 0.struct WEthTrcv_RssiTypePower of frame, in 0.struct WEthTrcv_RadioModeTypeRadio operation mode with multiple radio channel configurations
Anforderungen — Übersicht
SWS_WEthTrcv_00003The Wi reless Ethernet Transceiver Driver is using a zero - based index to abstract the access for upper software layers.SWS_WEthTrcv_00007I n case development error detection is enabled for the Wireless Ethernet Transceiver Driver module: The Wireless Ethernet...SWS_WEthTrcv_00017Type of error Related error code Error value Invalid transceiver index WETHTRCV_ E_ INV_ TRCV_ ID 0x01 WEth Trcv module was...SWS_WEthTrcv_00027Module Header File Imported Type Dem Rte_ Dem_ Type.SWS_WEthTrcv_00044[SWS_WEthTrcv_00044] ⌈If development error detection is enabled: The function shall check that the service WEthTrcv_Init was...SWS_WEthTrcv_00045[SWS_WEthTrcv_00045] ⌈If development error detection is enabled: The function shall check the parameter TrcvIdx for being valid.SWS_WEthTrcv_00046[SWS_WEthTrcv_00046] ⌈The function shall be pre compile time configurable On/Off by the configuration parameter:...SWS_WEthTrcv_00047[SWS_WEthTrcv_00047] ⌈Caveat: The function requires previous transceiver initial- ization (EthTrcv_Init).SWS_WEthTrcv_00050[SWS_WEthTrcv_00050] ⌈If development error detection is enabled: The function shall check that the service EthTrcv_Init was...SWS_WEthTrcv_00051[SWS_WEthTrcv_00051] ⌈If development error detection is enabled: The function shall check the parameter TrcvIdx for being valid.SWS_WEthTrcv_00052[SWS_WEthTrcv_00052] ⌈If development error detection is enabled: The function shall check the parameter TrcvModePtr for being...SWS_WEthTrcv_00053[SWS_WEthTrcv_00053] ⌈The function shall be pre compile time configurable On/Off by the configuration parameter:...SWS_WEthTrcv_00054[SWS_WEthTrcv_00054] ⌈Caveat: The function requires previous transceiver initial- ization (WEthTrcv_Init).SWS_WEthTrcv_00063If development error detection is enabled: The function shall check that t he service WEthTrcv_Init was previously called.SWS_WEthTrcv_00064[SWS_WEthTrcv_00064] ⌈If development error detection is enabled: The function shall check the parameter TrcvIdx for being valid.SWS_WEthTrcv_00065[SWS_WEthTrcv_00065] ⌈If development error detection is enabled: The function shall check the parameter LinkStatePtr for being...SWS_WEthTrcv_00066[SWS_WEthTrcv_00066] ⌈The function shall be pre compile time configurable On/Off by the configuration parameter:...SWS_WEthTrcv_00067[SWS_WEthTrcv_00067] ⌈Caveat: The function requires previous transceiver initial- ization (WEthTrcv_Init).SWS_WEthTrcv_00085Dem _ Set - Event Status Dem.SWS_WEthTrcv_00093[SWS_WEthTrcv_00093] ⌈If development error detection is enabled: The function shall check the parameter VersionInfoPtr for...SWS_WEthTrcv_00104[SWS_WEthTrcv_00104] ⌈The function shall check the access to the Wireless Eth- ernet transceiver.SWS_WEthTrcv_00105Error Name: WETHTRCV_E_ACCESS Short Description: Wireless Ethernet Transceiver Access Failure.SWS_WEthTrcv_00107[SWS_WEthTrcv_00107] ⌈If the transceiver is already in the requested mode E_OK shall be returned and no development error...SWS_WEthTrcv_00120Det _ Report Error Det.SWS_WEthTrcv_10023The function s hall put the index transceiver in the specified mode and indicate the new mode by the API...SWS_WEthTrcv_10024The function shall read the current transceiver mode.SWS_WEthTrcv_10026The function WEthTrcv_SetRadioParams shall set properties of type WEthTrcv_SetRadioParamIdType to the access layer of a...SWS_WEthTrcv_10027If development error detection is enabled : Th e function shall check that the service WEthTrcv_Init was previously called.SWS_WEthTrcv_10028If development error detection is enabled : Th e function shall check the parameter Trcv Id for being valid.SWS_WEthTrcv_10029If development error detection is enabled : Th e function shall check the parameter Radio Id for being valid.SWS_WEthTrcv_10030If development error detection is enabled : Th e function shall check the parameter ParamIds for being valid.SWS_WEthTrcv_10031If development error detection is enabled : Th e function shall check the parameter ParamValues for being valid.SWS_WEthTrcv_10034[SWS_WEthTrcv_10034] Upstream requirements: SRS_BSW_00487 ⌈If development error detection is enabled: The function shall check...SWS_WEthTrcv_10035[SWS_WEthTrcv_10035] ⌈If development error detection is enabled: The function shall check the parameter TrcvId for being valid.SWS_WEthTrcv_10036If development error detection is enabled : Th e function shall check the parameter Radio Id for being valid.SWS_WEthTrcv_10037If development error detection is enabled : Th e function shall check the parameter ParamIds for being valid.SWS_WEthTrcv_10038If development error detection is enabled: the function shall check the parameter ParamValues for being valid.SWS_WEthTrcv_10042If development error detection is enabled : Th e fun ction shall check that the service WEthTrcv_Init was previously called.SWS_WEthTrcv_10043If development error detection is enabled : Th e function s hall check the parameter Trcv Id for being valid.SWS_WEthTrcv_10044If development error detection is enabled : Th e function shall check the parameter Radio Id for being valid.SWS_WEthTrcv_10045If development error detec tion is enabled : Th e function shall check the parameter Tx ParamIds for being valid.SWS_WEthTrcv_10046If development error detection is enabled : Th e func tion shall check the parameter ParamValues for being valid.SWS_WEthTrcv_10050If development error detection is enabled : Th e function shall check that the service WEthTrcv_Init was previously called.SWS_WEthTrcv_10051If development error detection is enabled : Th e function shall check the parameter Trcv Id for bei ng valid.SWS_WEthTrcv_10052If development error detection is enabled : Th e function shall check the parameter Radio Id for being vali d.SWS_WEthTrcv_10053If development error detection is enabled : Th e function shall check the parameter ParamId s for being valid.SWS_WEthTrcv_10054If development error detection is enabled : Th e function shall check the parameter ParamValues for being valid.SWS_WEthTrcv_10059Functi ons using the WEthTrcv_SetRadioParamIdType shall use the foll owing type mapping for the corresponding values: ParamId...SWS_WEthTrcv_10060Functions using the type WEthTrcv_SetChanRxParamIdType shall use a generic list of uint 32 values for the list of...SWS_WEthTrcv_10061Functions using the WEthTrcv_SetChanRxParamIdType shall use the fo llowing type mapping for the corresponding values: P aramId...SWS_WEthTrcv_10062Functions using the type WEthTrcv_SetChanTxParamIdType shall use a generic list of uint32 values for the list of corresponding...SWS_WEthTrcv_10063Functions using the WEthTrcv_SetChanTxParamIdType shall use the fo llowing type mapping for the corresponding values: ParamId...SWS_WEthTrcv_10064Functions using the type WEthTrcv_GetChanRxParamIdType shall use a generic list of uint32 values for the list of correspondi...SWS_WEthTrcv_10065Functions using the WEthTrcv_GetChanRxParamIdType shall use the following type mapping for the corresponding values: ParamId...SWS_WEthTrcv_10066For unique reference to transmission and reception paramete rs, unique enumeration IDs shall be used within this module.SWS_WEthTrcv_10067The function shall use the type mapping f rom SWS_WEt hTrcv_10059 for the ParamIds and ParamValues parameters.SWS_WEthTrcv_10068The function shall use the type mapping from SWS_WEthTrcv_10061 for the ParamIds and ParamValues parameters.SWS_WEthTrcv_10069The function shall use the type mapping from SWS_WEthTrcv_10063 for the Tx ParamIds and ParamValues parameters.SWS_WEthTrcv_10070The function shall use the type mapping from SWS_WEthTrcv_10065 for the ParamIds and ParamValues parameters.SWS_WEthTrcv_10071The following requirements are only valid for WEth Transceivers used within the V2X Communication Stack [14].SWS_WEthTrcv_10073[SWS_WEthTrcv_10073] ⌈The function shall read the current transceiver link state.SWS_WEthTrcv_20226RF output power of the WEthTrcv module shall be adjustable.SWS_WEthTrcv_20244The WEthTrcv module sh all abide by the following maximum message rates: For the relaxed state: the sum of all messages sent...SWS_WEthTrcv_CONSTR_00095The module will operate as an independent in- stance in each of the partitions, means the called API will only target the...SWS_WEthTrcv_CONSTR_00096WEthTrcvConfig and WEthCtrlConfig of one communication channel shall all reference the same ECUC partition.SWS_WEthTrcv_CONSTR_00097The ECUC partitions referenced by WEthTrcv ConfigEcucPartitionRef shall be a subset of the ECUC partitions referenced by WEth...SWS_WEthTrcv_CONSTR_00098If WEthEcucPartitionRef references one or more ECUC partiti ons, WEthTrcvConfigEcucPartitionRef shall have a multiplicity of...
Funktionen & Typen — Detailansicht
função WEthTrcv_Init [SWS_WEthTrcv_00028] 📄 PDF
void WEthTrcv_Init(const WEthTrcv_ConfigType* CfgPtr);
Initializes the Wireless Ethernet Transceiver Driver
função WEthTrcv_SetTransceiverMode [SWS_WEthTrcv_00042] 📄 PDF
Std_ReturnType WEthTrcv_SetTransceiverMode(uint8 TrcvId, Eth_ModeType TrcvMode);
Enables / disables the indexed transceiver
função WEthTrcv_GetTransceiverMode [SWS_WEthTrcv_00048] 📄 PDF
Std_ReturnType WEthTrcv_GetTransceiverMode(uint8 TrcvId, Eth_ModeType* TrcvModePtr);
Ob tains the state of the indexed transceiver
função WEthTrcv_GetLinkState [SWS_WEthTrcv_00061] 📄 PDF
Std_ReturnType WEthTrcv_GetLinkState(uint8 TrcvId, EthTrcv_LinkStateType* LinkStatePtr);
Obtains the link state of the indexed transceiver
função WEthTrcv_GetVersionInfo [SWS_WEthTrcv_00082] 📄 PDF
void WEthTrcv_GetVersionInfo(Std_VersionInfoType* VersionInfoPtr);
Returns the version information of this module
função WEthTrcv_MainFunction [SWS_WEthTrcv_00106] 📄 PDF
void WEthTrcv_MainFunction(void);
Used for polling state changes. Calls Eth If_ Trcv Mode Indication when the transceiver mode changed.
função WEthTrcv_SetRadioParams [SWS_WEthTrcv_10025] 📄 PDF
Std_ReturnType WEthTrcv_SetRadioParams(uint8 TrcvId, const WEthTrcv_SetRadioParamIdType* ParamIds, const uint32* ParamValue, uint8 NumParams);
Set values related to a transceiver's wireless radio. For example, this could be the selection of the radio settings (channel, ...).
função WEthTrcv_SetChanRxParams [SWS_WEthTrcv_10033] 📄 PDF
Std_ReturnType WEthTrcv_SetChanRxParams(uint8 TrcvId, uint8 RadioId, const WEthTrcv_SetChanRxParamIdType* ParamIds, const uint32* ParamValues, uint8 NumParams);
Set values related to the receive direction of a transceiver's wireless channel .For example, this could be a channel parameter like the frequency.
função WEthTrcv_SetChanTxParams [SWS_WEthTrcv_10040] 📄 PDF
Std_ReturnType WEthTrcv_SetChanTxParams(uint8 TrcvId, uint8 RadioId, const WEthTrcv_SetChanTxParamIdType* TxParamIds, const uint32* ParamValues, uint8 NumParams);
Set values related to the transmit direction of a transceiver's wireless channel. For example, this could be the bitrate of a channel.
função WEthTrcv_GetChanRxParams [SWS_WEthTrcv_10048] 📄 PDF
Std_ReturnType WEthTrcv_GetChanRxParams(uint8* TrcvId, uint8 RadioId, const WEthTrcv_GetChanRxParamIdType* ParamIds, uint32* ParamValues, uint8 NumParams);
Read values related to the receive direction of the transceiver. For example, this could be a Channel Busy Ratio (CBR) or the average Channel Idle Time (CIT).
tipo WEthTrcv_ConfigType [SWS_WEthTrcv_00098] 📄 PDF
Implementation specific structure of the post build configuration
tipo WEthTrcv_GetChanRxParamIdType [SWS_WEthTrcv_10007] 📄 PDF
Wireless channel properties of the receive side
tipo WEthTrcv_SetRadioParamIdType [SWS_WEthTrcv_10008] 📄 PDF
Wireless radio settings for the transceiver
tipo WEthTrcv_SetChanRxParamIdType [SWS_WEthTrcv_10009] 📄 PDF
Wireless channel settings for the receive side
tipo WEthTrcv_SetChanTxParamIdType [SWS_WEthTrcv_10011] 📄 PDF
-
tipo WEthTrcv_BandwidthType [SWS_WEthTrcv_10012] 📄 PDF
Bandwidth of a radio channel
tipo WEthTrcv_TxPwrLvlType [SWS_WEthTrcv_10014] 📄 PDF
Power of frame, in 0.5 d Bm units, raw value 0 equals - 100 d Bm
tipo WEthTrcv_RssiType [SWS_WEthTrcv_10016] 📄 PDF
Power of frame, in 0.5 d Bm units, raw value 0 equals - 100 d Bm
tipo WEthTrcv_RadioModeType [SWS_WEthTrcv_10018] 📄 PDF
Radio operation mode with multiple radio channel configurations
requirement SWS_WEthTrcv_00003 [SWS_WEthTrcv_00003] 📄 PDF
The Wi reless Ethernet Transceiver Driver is using a zero - based index to abstract the access for upper software layers. The parameter WEthTrcvId within configuration corresponds to parameter TrcvId used in the API.
requirement SWS_WEthTrcv_00007 [SWS_WEthTrcv_00007] 📄 PDF
I n case development error detection is enabled for the Wireless Ethernet Transceiver Driver module: The Wireless Ethernet Transceiver Driver module shall check API parameters for validity and repo rt detected errors to the DET.
requirement SWS_WEthTrcv_00017 [SWS_WEthTrcv_00017] 📄 PDF
Type of error Related error code Error value Invalid transceiver index WETHTRCV_ E_ INV_ TRCV_ ID 0x01 WEth Trcv module was not initialized WETHTRCV_ E_ UNINIT 0x02 Invalid pointer in parameter list WETHTRCV_ E_ PARAM_ POINTER 0x03
requirement SWS_WEthTrcv_00027 [SWS_WEthTrcv_00027] 📄 PDF
Module Header File Imported Type Dem Rte_ Dem_ Type.h Dem _ Event Id Type Rte_ Dem_ Type.h Dem _ Event Status Type Eth Eth_ General Types.h Eth _ Mode Type (draft) Eth Trcv Eth_ General Types.h Eth Trcv _ Link State Type Std Std_ Types.h Std _ Return Type Std_ Types.h Std _ Version Info Type
requirement SWS_WEthTrcv_00044 [SWS_WEthTrcv_00044] 📄 PDF
[SWS_WEthTrcv_00044] ⌈If development error detection is enabled: The function shall check that the service WEthTrcv_Init was previously called. If the check fails, the function shall raise the development error WETHTRCV_E_UNINIT otherwise (if DET is disabled) return E_NOT_OK.⌋
requirement SWS_WEthTrcv_00045 [SWS_WEthTrcv_00045] 📄 PDF
[SWS_WEthTrcv_00045] ⌈If development error detection is enabled: The function shall check the parameter TrcvIdx for being valid. If the check fails, the function shall raise the development error WETHTRCV_E_INV_TRCV_IDX otherwise (if DET is dis- abled) return E_NOT_OK.⌋
requirement SWS_WEthTrcv_00046 [SWS_WEthTrcv_00046] 📄 PDF
[SWS_WEthTrcv_00046] ⌈The function shall be pre compile time configurable On/Off by the configuration parameter: WEthTrcvSetTransceiverModeApi.⌋
requirement SWS_WEthTrcv_00047 [SWS_WEthTrcv_00047] 📄 PDF
[SWS_WEthTrcv_00047] ⌈Caveat: The function requires previous transceiver initial- ization (EthTrcv_Init).⌋
requirement SWS_WEthTrcv_00050 [SWS_WEthTrcv_00050] 📄 PDF
[SWS_WEthTrcv_00050] ⌈If development error detection is enabled: The function shall check that the service EthTrcv_Init was previously called. If the check fails, the function shall raise the development error WETHTRCV_E_UNINIT otherwise (if DET is disabled) return E_NOT_OK.⌋
requirement SWS_WEthTrcv_00051 [SWS_WEthTrcv_00051] 📄 PDF
[SWS_WEthTrcv_00051] ⌈If development error detection is enabled: The function shall check the parameter TrcvIdx for being valid. If the check fails, the function shall raise the development error WETHTRCV_E_INV_TRCV_IDX otherwise (if DET is disabled) return E_NOT_OK.⌋
requirement SWS_WEthTrcv_00052 [SWS_WEthTrcv_00052] 📄 PDF
[SWS_WEthTrcv_00052] ⌈If development error detection is enabled: The function shall check the parameter TrcvModePtr for being valid. If the check fails, the function shall raise the development error WETHTRCV_E_PARAM_POINTER otherwise (if DET is disabled) return E_NOT_OK.⌋
requirement SWS_WEthTrcv_00053 [SWS_WEthTrcv_00053] 📄 PDF
[SWS_WEthTrcv_00053] ⌈The function shall be pre compile time configurable On/Off by the configuration parameter: WEthTrcvGetTransceiverModeApi.⌋ Driver
requirement SWS_WEthTrcv_00054 [SWS_WEthTrcv_00054] 📄 PDF
[SWS_WEthTrcv_00054] ⌈Caveat: The function requires previous transceiver initial- ization (WEthTrcv_Init).⌋
requirement SWS_WEthTrcv_00063 [SWS_WEthTrcv_00063] 📄 PDF
If development error detection is enabled: The function shall check that t he service WEthTrcv_Init was previously called. If the check fails, the function shall raise the development error WETHTRCV_E_UNINIT otherwise (if DET is disabled) return E_NOT_OK.
requirement SWS_WEthTrcv_00064 [SWS_WEthTrcv_00064] 📄 PDF
[SWS_WEthTrcv_00064] ⌈If development error detection is enabled: The function shall check the parameter TrcvIdx for being valid. If the check fails, the function shall raise the development error WETHTRCV_E_INV_TRCV_IDX otherwise (if DET is disabled) return E_NOT_OK.⌋
requirement SWS_WEthTrcv_00065 [SWS_WEthTrcv_00065] 📄 PDF
[SWS_WEthTrcv_00065] ⌈If development error detection is enabled: The function shall check the parameter LinkStatePtr for being valid. If the check fails, the function shall raise the development error WETHTRCV_E_PARAM_POINTER otherwise (if DET is disabled) return E_NOT_OK.⌋
requirement SWS_WEthTrcv_00066 [SWS_WEthTrcv_00066] 📄 PDF
[SWS_WEthTrcv_00066] ⌈The function shall be pre compile time configurable On/Off by the configuration parameter: WEthTrcvGetLinkStateApi.⌋ Driver
requirement SWS_WEthTrcv_00067 [SWS_WEthTrcv_00067] 📄 PDF
[SWS_WEthTrcv_00067] ⌈Caveat: The function requires previous transceiver initial- ization (WEthTrcv_Init).⌋
requirement SWS_WEthTrcv_00085 [SWS_WEthTrcv_00085] 📄 PDF
Dem _ Set - Event Status Dem.h Called by SW - Cs or BSW modules to report monitor status information to the Dem. BSW modules calling Dem_ Set Event Status can safely ignore the return value. This API will be available only if ({Dem/ Dem Config Set/ Dem Event Parameter/ Dem Event Reporting Type} == STANDARD_ REPORTING) Eth If _ Trcv - Mode - Indication Eth If.h Called asynchronously when a mode change has been read out. If the function is triggered by pre vious call of Eth Trcv_ Set Transceiver Mode it can directly be called within the trigger function. Sch M _ - Enter _ W - Eth Trcv Sch M_<Mip>.h Invokes the Sch M_ Enter function to enter a module local exclusive area. Sch M _ Exit _ - W Eth Trcv Sch M_<Mip>.h Invokes the Sch M_ Exit function to exit an exclusive area. W Eth _ - Read Trcv - Regs WEth.h Reads a transceiver register W Eth _ Write - Trcv Regs WEth.h Configures a transceivers registers or triggers a function offered by the receiver
requirement SWS_WEthTrcv_00093 [SWS_WEthTrcv_00093] 📄 PDF
[SWS_WEthTrcv_00093] ⌈If development error detection is enabled: The function shall check the parameter VersionInfoPtr for being valid. If the check fails, the func- tion shall raise the development error WETHTRCV_E_PARAM_POINTER.⌋
requirement SWS_WEthTrcv_00104 [SWS_WEthTrcv_00104] 📄 PDF
[SWS_WEthTrcv_00104] ⌈The function shall check the access to the Wireless Eth- ernet transceiver. If the check fails, the function shall raise the production error WETHTRCV_E_ACCESS and return E_NOT_OK, otherwise pass the production error WETHTRCV_E_ACCESS and return E_OK.⌋ Driver
requirement SWS_WEthTrcv_00105 [SWS_WEthTrcv_00105] 📄 PDF
Error Name: WETHTRCV_E_ACCESS Short Description: Wireless Ethernet Transceiver Access Failure. Long Description: Monitors the access to the Wireless Ethernet Transceiver if a transceiver hardware is seperate f rom the baseband modem hardware . Detection Criter ia: Fail When access to the Wireless Ethernet Transceiver fails the module shall report the extended production error with event status DEM_EVENT_STATUS_PREFAILED to DEM. Pass When access to the Wireless Ethernet Transceiver succeds the module shall re port the extended production error with event status DEM_EVENT_STATUS_PREPASSED to DEM. Secondary Parameters: None. Time Required: None. Monitor Frequency None.
requirement SWS_WEthTrcv_00107 [SWS_WEthTrcv_00107] 📄 PDF
[SWS_WEthTrcv_00107] ⌈If the transceiver is already in the requested mode E_OK shall be returned and no development error shall be raised.⌋
requirement SWS_WEthTrcv_00120 [SWS_WEthTrcv_00120] 📄 PDF
Det _ Report Error Det.h Service to report development errors.
requirement SWS_WEthTrcv_10023 [SWS_WEthTrcv_10023] 📄 PDF
The function s hall put the index transceiver in the specified mode and indicate the new mode by the API EthIf_TrcvModeIndication latest during the next WEthTrcv_MainFunction.
requirement SWS_WEthTrcv_10024 [SWS_WEthTrcv_10024] 📄 PDF
The function shall read the current transceiver mode.
requirement SWS_WEthTrcv_10026 [SWS_WEthTrcv_10026] 📄 PDF
The function WEthTrcv_SetRadioParams shall set properties of type WEthTrcv_SetRadioParamIdType to the access layer of a specific wireless radio indexed by RadioId.
requirement SWS_WEthTrcv_10027 [SWS_WEthTrcv_10027] 📄 PDF
If development error detection is enabled : Th e function shall check that the service WEthTrcv_Init was previously called . If the check fails, the function shall raise the development error WETHTRCV_E_UNINIT .
requirement SWS_WEthTrcv_10028 [SWS_WEthTrcv_10028] 📄 PDF
If development error detection is enabled : Th e function shall check the parameter Trcv Id for being valid . If the check fails, the function shall raise the development error W ETHTRCV _E_INV_TRCV_ ID otherwise (if DET is disabled) return E_NOT_OK .
requirement SWS_WEthTrcv_10029 [SWS_WEthTrcv_10029] 📄 PDF
If development error detection is enabled : Th e function shall check the parameter Radio Id for being valid . If the check fails, the function shall raise the development error W ETHTRCV_E_INV_PARAM otherwise (if DET is disabled) return E_NOT_OK .
requirement SWS_WEthTrcv_10030 [SWS_WEthTrcv_10030] 📄 PDF
If development error detection is enabled : Th e function shall check the parameter ParamIds for being valid. If the check fails, the func tion shall raise the development error W ETHTRCV_E_PARAM_POINTER .
requirement SWS_WEthTrcv_10031 [SWS_WEthTrcv_10031] 📄 PDF
If development error detection is enabled : Th e function shall check the parameter ParamValues for being valid. If the check fails, the function shall raise the dev elopment error W ETHTRCV_E_PARAM_POINTER .
requirement SWS_WEthTrcv_10034 [SWS_WEthTrcv_10034] 📄 PDF
[SWS_WEthTrcv_10034] Upstream requirements: SRS_BSW_00487 ⌈If development error detection is enabled: The function shall check that the service WEthTrcv_Init was previously called. If the check fails, the function shall raise the development error WETHTRCV_E_UNINIT.⌋
requirement SWS_WEthTrcv_10035 [SWS_WEthTrcv_10035] 📄 PDF
[SWS_WEthTrcv_10035] ⌈If development error detection is enabled: The function shall check the parameter TrcvId for being valid. If the check fails, the function shall Driver raise the development error WETHTRCV_E_INV_TRCV_ID otherwise (if DET is dis- abled) return E_NOT_OK.⌋
requirement SWS_WEthTrcv_10036 [SWS_WEthTrcv_10036] 📄 PDF
If development error detection is enabled : Th e function shall check the parameter Radio Id for being valid . If the check fails, the function shall raise the development error W ETHTRCV_E_INV_PARAM otherwise (if DET is disabl ed) return E_NOT_OK .
requirement SWS_WEthTrcv_10037 [SWS_WEthTrcv_10037] 📄 PDF
If development error detection is enabled : Th e function shall check the parameter ParamIds for being valid. If the check fails, the function shall raise the development error W ETHTRCV_E_PARAM_POINTER .
requirement SWS_WEthTrcv_10038 [SWS_WEthTrcv_10038] 📄 PDF
If development error detection is enabled: the function shall check the parameter ParamValues for being valid . If the check fails, the function shall raise the development error W ETHTRCV_E_PARAM_POINTER .
requirement SWS_WEthTrcv_10042 [SWS_WEthTrcv_10042] 📄 PDF
If development error detection is enabled : Th e fun ction shall check that the service WEthTrcv_Init was previously called . If the check fails, the function shall raise the development error WETHTRCV_E_UNINIT .
requirement SWS_WEthTrcv_10043 [SWS_WEthTrcv_10043] 📄 PDF
If development error detection is enabled : Th e function s hall check the parameter Trcv Id for being valid . If the check fails, the function shall raise the development error W ETHTRCV_E_INV_TRCV_ ID otherwise (if DET is disabled) return E_NOT_OK .
requirement SWS_WEthTrcv_10044 [SWS_WEthTrcv_10044] 📄 PDF
If development error detection is enabled : Th e function shall check the parameter Radio Id for being valid . If the check fails, the function shall raise the development error W ETHTRCV_E_INV_PARAM otherwise (if DET is disabled) return E_NOT_OK .
requirement SWS_WEthTrcv_10045 [SWS_WEthTrcv_10045] 📄 PDF
If development error detec tion is enabled : Th e function shall check the parameter Tx ParamIds for being valid. If the check fails, the function shall raise the development error W ETHTRCV_E_PARAM_POINTER .
requirement SWS_WEthTrcv_10046 [SWS_WEthTrcv_10046] 📄 PDF
If development error detection is enabled : Th e func tion shall check the parameter ParamValues for being valid. If the check fails, the function shall raise the development error W ETHTRCV_E_PARAM_POINTER .
requirement SWS_WEthTrcv_10050 [SWS_WEthTrcv_10050] 📄 PDF
If development error detection is enabled : Th e function shall check that the service WEthTrcv_Init was previously called . If the check fails, the function shall raise the development error WETHTRCV_E_UNINIT .
requirement SWS_WEthTrcv_10051 [SWS_WEthTrcv_10051] 📄 PDF
If development error detection is enabled : Th e function shall check the parameter Trcv Id for bei ng valid. If the check f ails, the function shall raise the development error W ETHTRCV_E_INV_TRCV_ ID otherwise (if DET is disabled) return E_NOT_OK .
requirement SWS_WEthTrcv_10052 [SWS_WEthTrcv_10052] 📄 PDF
If development error detection is enabled : Th e function shall check the parameter Radio Id for being vali d . If the check fails, the function shall raise the development error W ETHTRCV_E_INV_PARAM otherwise (if DET is disabled) return E_NOT_OK .
requirement SWS_WEthTrcv_10053 [SWS_WEthTrcv_10053] 📄 PDF
If development error detection is enabled : Th e function shall check the parameter ParamId s for being valid. If the check fails, the function shall raise the development error W ETHTRCV_E_PARAM_POINTER .
requirement SWS_WEthTrcv_10054 [SWS_WEthTrcv_10054] 📄 PDF
If development error detection is enabled : Th e function shall check the parameter ParamValues for being valid . If th e check fails, the function shall raise the development error W ETHTRCV_E_PARAM_POINTER .
requirement SWS_WEthTrcv_10059 [SWS_WEthTrcv_10059] 📄 PDF
Functi ons using the WEthTrcv_SetRadioParamIdType shall use the foll owing type mapping for the corresponding values: ParamId ParamValue Type WETHTRCV_SETRADIOPID_SEL_TRCV_CHCFG uint8 WETHTRCV_SETRADIOPID_SET_CHCFGID uint8 WETHTRCV_SETRADIOPID_TOLLINGZONE_INFO uint8
requirement SWS_WEthTrcv_10060 [SWS_WEthTrcv_10060] 📄 PDF
Functions using the type WEthTrcv_SetChanRxParamIdType shall use a generic list of uint 32 values for the list of corresponding values.
requirement SWS_WEthTrcv_10061 [SWS_WEthTrcv_10061] 📄 PDF
Functions using the WEthTrcv_SetChanRxParamIdType shall use the fo llowing type mapping for the corresponding values: P aramId ParamValue Type WETHTRCV_SETCHRXPID_BITRATE uint8 WETHTRCV_SETCHRXPID_BANDWIDTH WEthTrcv_Bandwidth Type WETHTRCV_SETCHRXPID_FREQ uint16 WETHTRCV_SETCHRXPID_CSPWRTRESH WEthTrcv_ RssiType WETHTRC V_SETCHRXPID_RADIO_MODE WEthTrcv_RadioModeType WETHT RCV_SETCHRXPID_ANTENNA uint8
requirement SWS_WEthTrcv_10062 [SWS_WEthTrcv_10062] 📄 PDF
Functions using the type WEthTrcv_SetChanTxParamIdType shall use a generic list of uint32 values for the list of corresponding values.
requirement SWS_WEthTrcv_10063 [SWS_WEthTrcv_10063] 📄 PDF
Functions using the WEthTrcv_SetChanTxParamIdType shall use the fo llowing type mapping for the corresponding values: ParamId ParamValue Type WETHTRCV_SETCHTXPID_BITRATE uint8 WETHTRCV_SETCHTXPID_BANDWIDTH WEthTrcv_Bandwidth Type WETHTRCV_SETCHTXPID_TXPOWER WEthTrcv_TxPwrLvlType WETHTRCV_SETCHTXPID_DCC_CBR uint8 WETH TRCV_SETCHTXPID_TXQSEL uint8 WETHTRCV_SETCHTXPID_TXQCFG_AIFSN uint8 WETHTRCV_SETCHTXPID_TXQCFG_CWMIN uint8 WETHTRCV_SETCHTXPID_TXQCFG_CWMAX uint16 WETHTRCV_SETCHTXPID_TXQCFG_TXOP uint8 WETHTRCV_SETCHTXPID_RADIO_MODE WEthTrcv_RadioModeType WETHTRCV_SE TCHTXPID_ANTENNA uint8 WETHTRCV_SETCHTXPID_PACKET_INTERVAL uint16 WETHTRCV_SETCHTXPID_DCC_STATE uint8
requirement SWS_WEthTrcv_10064 [SWS_WEthTrcv_10064] 📄 PDF
Functions using the type WEthTrcv_GetChanRxParamIdType shall use a generic list of uint32 values for the list of correspondi ng values.
requirement SWS_WEthTrcv_10065 [SWS_WEthTrcv_10065] 📄 PDF
Functions using the WEthTrcv_GetChanRxParamIdType shall use the following type mapping for the corresponding values: ParamId ParamValue Type WETHTRCV_GETCHRXPID_CBR uint8 WETHTRCV_GETCHRXPID_CIT uint16
requirement SWS_WEthTrcv_10066 [SWS_WEthTrcv_10066] 📄 PDF
For unique reference to transmission and reception paramete rs, unique enumeration IDs shall be used within this module.
requirement SWS_WEthTrcv_10067 [SWS_WEthTrcv_10067] 📄 PDF
The function shall use the type mapping f rom SWS_WEt hTrcv_10059 for the ParamIds and ParamValues parameters .
requirement SWS_WEthTrcv_10068 [SWS_WEthTrcv_10068] 📄 PDF
The function shall use the type mapping from SWS_WEthTrcv_10061 for the ParamIds and ParamValues parameters .
requirement SWS_WEthTrcv_10069 [SWS_WEthTrcv_10069] 📄 PDF
The function shall use the type mapping from SWS_WEthTrcv_10063 for the Tx ParamIds and ParamValues parameters .
requirement SWS_WEthTrcv_10070 [SWS_WEthTrcv_10070] 📄 PDF
The function shall use the type mapping from SWS_WEthTrcv_10065 for the ParamIds and ParamValues parameters .
requirement SWS_WEthTrcv_10071 [SWS_WEthTrcv_10071] 📄 PDF
The following requirements are only valid for WEth Transceivers used within the V2X Communication Stack [14] .
requirement SWS_WEthTrcv_10073 [SWS_WEthTrcv_10073] 📄 PDF
[SWS_WEthTrcv_10073] ⌈The function shall read the current transceiver link state.⌋
requirement SWS_WEthTrcv_20226 [SWS_WEthTrcv_20226] 📄 PDF
RF output power of the WEthTrcv module shall be adjustable.
requirement SWS_WEthTrcv_20244 [SWS_WEthTrcv_20244] 📄 PDF
The WEthTrcv module sh all abide by the following maximum message rates: For the relaxed state: the sum of all messages sent on DP1, DP2 and DP3 while in relaxed state shall not surpass R max_relaxed = 16.7 messages per second. Message bursts are allowed for DP0 with R Burst = 20 messages per second, with a maximum duration of T Burst = 1 seconds, and may only take place every T BurstPeriod = 10 seconds. Thus, adding DP0 messages, the maximum message rate amounts to R max_relaxed = 36.7 messages per second.
requirement SWS_WEthTrcv_CONSTR_00095 [SWS_WEthTrcv_CONSTR_00095] 📄 PDF
The module will operate as an independent in- stance in each of the partitions, means the called API will only target the partition it is called in.
requirement SWS_WEthTrcv_CONSTR_00096 [SWS_WEthTrcv_CONSTR_00096] 📄 PDF
WEthTrcvConfig and WEthCtrlConfig of one communication channel shall all reference the same ECUC partition.
requirement SWS_WEthTrcv_CONSTR_00097 [SWS_WEthTrcv_CONSTR_00097] 📄 PDF
The ECUC partitions referenced by WEthTrcv ConfigEcucPartitionRef shall be a subset of the ECUC partitions referenced by WEth TrcvEcucPartitionRef.
requirement SWS_WEthTrcv_CONSTR_00098 [SWS_WEthTrcv_CONSTR_00098] 📄 PDF
If WEthEcucPartitionRef references one or more ECUC partiti ons, WEthTrcvConfigEcucPartitionRef shall have a multiplicity of one and reference one of these ECUC partitions as well.
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/CP_MOD_WEthTrcv- Status
- unspecified
- Version
AUTOSAR/AP/record/CP_MOD_WEthTrcv@rel:R20-11#42af53f4- Content hash
42af53f4- Source
- https://www.autosar.org/fileadmin/standards/R20-11/CP/AUTOSAR_SWS_WirelessEthernetTransceiverDriver.pdf#nameddest=SWS_WEthTrcv_00028