DEENESPTFRRUARHIKOZHNL

E2E Library (E2E)

ModulE2E (E2E Library)
BSW-Modul-ID207
Standard-Header#include "E2E.h"
SWS-SpezifikationAUTOSAR_CP_SWS_E2ELibrary.pdf, AUTOSAR_SWS_E2ELibrary.pdf
Umfang284 Records · 17 Snippets
ClusterAUTOSAR-Bibliotheken

E2E Library (E2E)

AUTOSAR Classic Libraries-Modul E2E Library (E2E, Spezifikation: AUTOSAR_CP_SWS_E2ELibrary.pdf, AUTOSAR_SWS_E2ELibrary.pdf).

Funktionen — Übersicht

Typen — Übersicht

Anforderungen — Übersicht

Funktionen & Typen — Detailansicht

fonction E2E_P01Check [SWS_E2E_00158] 📄 PDF

Std_ReturnType E2E_P01Check(const E2E_P01ConfigType* Config, E2E_P01CheckStateType* State, const uint8* Data);

Checks the Data received using the E2E profile 1. This includes CRC calculation, handling of Counter and Data ID.

fonction E2E_P02Protect [SWS_E2E_00160] 📄 PDF

Std_ReturnType E2E_P02Protect(const E2E_P02ConfigType* ConfigPtr, E2E_P02ProtectStateType* StatePtr, uint8* DataPtr);

Protects the array/buffer to be transmitted using the E2E profile 2. This includes checksum calculation, handling of sequence counter and Data ID.

fonction E2E_P02Check [SWS_E2E_00161] 📄 PDF

Std_ReturnType E2E_P02Check(const E2E_P02ConfigType* ConfigPtr, E2E_P02CheckStateType* StatePtr, const uint8* DataPtr);

Check the array/buffer using the E2E profile 2. This includes checksum calculation, handling of sequence counter and Data ID.

fonction E2E_P01Protect [SWS_E2E_00166] 📄 PDF

Std_ReturnType E2E_P01Protect(const E2E_P01ConfigType* ConfigPtr, E2E_P01ProtectStateType* StatePtr, uint8* DataPtr);

Protects the array/buffer to be transmitted using the E2E profile 1. This includes checksum calculation, handling of counter and Data ID.

fonction E2EPW_WriteInit1_<p>_<o> [SWS_E2E_00318] 📄 PDF

uint8 E2EPW_WriteInit1_<p>_<o>(Rte_Instance <instance>);

The function reinitializes the corresponding data structure after a detected error or at startup.

fonction E2EPW_WriteInit2_<p>_<o> [SWS_E2E_00319] 📄 PDF

uint8 E2EPW_WriteInit2_<p>_<o>(Rte_Instance <instance>);

The function reinitializes the corresponding data structure after a detected error or at startup.

fonction E2EPW_ReadInit1_<p>_<o> [SWS_E2E_00320] 📄 PDF

uint8 E2EPW_ReadInit1_<p>_<o>(Rte_Instance <instance>);

The function reinitializes the corresponding data structure after a detected error or at startup.

fonction E2EPW_ReadInit2_<p>_<o> [SWS_E2E_00321] 📄 PDF

uint8 E2EPW_ReadInit2_<p>_<o>(Rte_Instance <instance>);

The function reinitializes the corresponding data structure after a detected error or at startup.

fonction E2E_P04Protect [SWS_E2E_00338] 📄 PDF

Std_ReturnType E2E_P04Protect(const E2E_P04ConfigType* ConfigPtr, E2E_P04ProtectStateType* StatePtr, uint8* DataPtr, uint16 Length);

Protects the array/buffer to be transmitted using the E2E profile 4. This includes checksum calculation, handling of counter and Data ID.

fonction E2E_P04Check [SWS_E2E_00339] 📄 PDF

Std_ReturnType E2E_P04Check(const E2E_P04ConfigType* ConfigPtr, E2E_P04CheckStateType* StatePtr, const uint8* DataPtr, uint16 Length);

Checks the Data received using the E2E profile 4. This includes CRC calculation, handling of Counter and Data ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link.

fonction E2E_SMCheck [SWS_E2E_00340] 📄 PDF

Std_ReturnType E2E_SMCheck(E2E_PCheckStatusType ProfileStatus, const E2E_SMConfigType* ConfigPtr, E2E_SMCheckStateType* StatePtr);

Checks the communication channel. It determines if the data can be used for safety-related application, based on history of checks performed by a corresponding E2E_P0XCheck() function.

fonction E2E_P04MapStatusToSM [SWS_E2E_00349] 📄 PDF

E2E_PCheckStatusType E2E_P04MapStatusToSM(Std_ReturnType CheckReturn, E2E_P04CheckStatusType Status);

The function maps the check status of Profile 4 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 4 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

fonction E2E_P02MapStatusToSM [SWS_E2E_00379] 📄 PDF

E2E_PCheckStatusType E2E_P02MapStatusToSM(Std_ReturnType CheckReturn, E2E_P02CheckStatusType Status, boolean profileBehavior);

The function maps the check status of Profile 2 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 2 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

fonction E2E_P01MapStatusToSM [SWS_E2E_00382] 📄 PDF

E2E_PCheckStatusType E2E_P01MapStatusToSM(Std_ReturnType CheckReturn, E2E_P01CheckStatusType Status, boolean profileBehavior);

The function maps the check status of Profile 1 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 1 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

fonction E2E_P06Protect [SWS_E2E_00393] 📄 PDF

Std_ReturnType E2E_P06Protect(const E2E_P06ConfigType* ConfigPtr, E2E_P06ProtectStateType* StatePtr, uint8* DataPtr, uint16 Length);

Protects the array/buffer to be transmitted using the E2E profile 6. This includes checksum calculation, handling of counter.

fonction E2E_P05Protect [SWS_E2E_00446] 📄 PDF

Std_ReturnType E2E_P05Protect(const E2E_P05ConfigType* ConfigPtr, E2E_P05ProtectStateType* StatePtr, uint8* DataPtr, uint16 Length);

Protects the array/buffer to be transmitted using the E2E profile 5. This includes checksum calculation, handling of counter.

fonction E2E_P05Check [SWS_E2E_00449] 📄 PDF

Std_ReturnType E2E_P05Check(const E2E_P05ConfigType* ConfigPtr, E2E_P05CheckStateType* StatePtr, const uint8* DataPtr, uint16 Length);

Checks the Data received using the E2E profile 5. This includes CRC calculation, handling of Counter. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link.

fonction E2E_P05MapStatusToSM [SWS_E2E_00452] 📄 PDF

E2E_PCheckStatusType E2E_P05MapStatusToSM(Std_ReturnType CheckReturn, E2E_P05CheckStatusType Status);

The function maps the check status of Profile 5 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 5 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

fonction E2E_P06Check [SWS_E2E_00457] 📄 PDF

Std_ReturnType E2E_P06Check(const E2E_P06ConfigType* ConfigPtr, E2E_P06CheckStateType* StatePtr, const uint8* DataPtr, uint16 Length);

Checks the Data received using the E2E profile 6. This includes CRC calculation, handling of Counter. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link.

fonction E2E_P06MapStatusToSM [SWS_E2E_00460] 📄 PDF

E2E_PCheckStatusType E2E_P06MapStatusToSM(Std_ReturnType CheckReturn, E2E_P06CheckStatusType Status);

The function maps the check status of Profile 6 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 6 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

fonction E2E_P07Protect [SWS_E2E_00546] 📄 PDF

Std_ReturnType E2E_P07Protect(const E2E_P07ConfigType* ConfigPtr, E2E_P07ProtectStateType* StatePtr, uint8* DataPtr, uint32 Length);

Protects the array/buffer to be transmitted using the E2E profile 7. This includes checksum calculation, handling of counter and Data ID.

fonction E2E_P07Check [SWS_E2E_00548] 📄 PDF

Std_ReturnType E2E_P07Check(const E2E_P07ConfigType* ConfigPtr, E2E_P07CheckStateType* StatePtr, const uint8* DataPtr, uint32 Length);

Checks the Data received using the E2E profile 7. This includes CRC calculation, handling of Counter and Data ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link.

fonction E2E_P07MapStatusToSM [SWS_E2E_00550] 📄 PDF

E2E_PCheckStatusType E2E_P07MapStatusToSM(E2E_PCheckStatusType return, E2E_P07CheckStatusType Status);

The function maps the check status of Profile 7 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 7 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

fonction E2E_P11Check [SWS_E2E_00572] 📄 PDF

Std_ReturnType E2E_P11Check(const E2E_P11ConfigType* ConfigPtr, E2E_P11CheckStateType* StatePtr, const uint8* DataPtr);

Checks the Data received using the E2E profile 11. This includes CRC calculation, handling of Counter. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link.

fonction E2E_P11MapStatusToSM [SWS_E2E_00574] 📄 PDF

E2E_PCheckStatusType E2E_P11MapStatusToSM(Std_ReturnType CheckReturn, E2E_P11CheckStatusType Status);

The function maps the check status of Profile 11 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 11 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

fonction E2E_P11Protect [SWS_E2E_00575] 📄 PDF

Std_ReturnType E2E_P11Protect(const E2E_P11ConfigType* ConfigPtr, E2E_P11ProtectStateType* StatePtr, uint8* DataPtr, uint16 Length);

Protects the array/buffer to be transmitted using the E2E profile 11. This includes checksum calculation, handling of counter.

fonction E2E_P22Check [SWS_E2E_00577] 📄 PDF

Std_ReturnType E2E_P22Check(const E2E_P22ConfigType* ConfigPtr, E2E_P22CheckStateType* StatePtr, const uint8* DataPtr, uint16 Length);

Checks the Data received using the E2E profile 22. This includes CRC calculation, handling of Counter. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link.

fonction E2E_P22MapStatusToSM [SWS_E2E_00579] 📄 PDF

E2E_PCheckStatusType E2E_P22MapStatusToSM(Std_ReturnType CheckReturn, E2E_P22CheckStatusType Status);

The function maps the check status of Profile 22 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 22 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

fonction E2E_P22Protect [SWS_E2E_00580] 📄 PDF

Std_ReturnType E2E_P22Protect(const E2E_P22ConfigType* ConfigPtr, E2E_P22ProtectStateType* StatePtr, uint8* DataPtr, uint16 Length);

Protects the array/buffer to be transmitted using the E2E profile 22. This includes checksum calculation, handling of counter.

fonction E2E_P02Forward [SWS_E2E_00583] 📄 PDF

Std_ReturnType E2E_P02Forward(const E2E_P02ConfigType* ConfigPtr, E2E_PCheckStatusType Checkstatus, E2E_P02ProtectStateType* StatePtr, uint8* DataPtr);

Protects data which is forwarded by using the E2E profile 02. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

fonction E2E_P04Forward [SWS_E2E_00584] 📄 PDF

Std_ReturnType E2E_P04Forward(const E2E_P04ConfigType* ConfigPtr, uint16 Length, E2E_PCheckStatusType Checkstatus, E2E_P04ProtectStateType StatePtr, uint8* DataPtr);

Protects data which is forwarded by using the E2E profile 04. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

fonction E2E_P05Forward [SWS_E2E_00585] 📄 PDF

Std_ReturnType E2E_P05Forward(const E2E_P05ConfigType* ConfigPtr, uint16 Length, E2E_PCheckStatusType Checkstatus, E2E_P05ProtectStateType* StatePtr, uint8* DataPtr);

Protects data which is forwarded by using the E2E profile 05. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

fonction E2E_P06Forward [SWS_E2E_00586] 📄 PDF

Std_ReturnType E2E_P06Forward(const E2E_P06ConfigType* ConfigPtr, uint16 Length, E2E_PCheckStatusType Checkstatus, E2E_P06ProtectStateType* StatePtr, uint8* DataPtr);

Protects data which is forwarded by using the E2E profile 06. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

fonction E2E_P11Forward [SWS_E2E_00587] 📄 PDF

Std_ReturnType E2E_P11Forward(const E2E_P11ConfigType* ConfigPtr, uint16 Length, E2E_PCheckStatusType Checkstatus, E2E_P11ProtectStateType* StatePtr, uint8* DataPtr);

Protects data which is forwarded by using the E2E profile 11. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

fonction E2E_P01Forward [SWS_E2E_00588] 📄 PDF

Std_ReturnType E2E_P01Forward(const E2E_P01ConfigType* ConfigPtr, E2E_PCheckStatusType Checkstatus, E2E_P01ProtectStateType* StatePtr, uint8* DataPtr);

Protects data which is forwarded by using the E2E profile 01. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

fonction E2E_P22Forward [SWS_E2E_00589] 📄 PDF

Std_ReturnType E2E_P22Forward(E2E_P22ConfigType* ConfigPtr, E2E_PCheckStatusType Checkstatus, E2E_P22ProtectStateType* StatePtr, uint8 DataPtr);

Protects data which is forwarded by using the E2E profile 22. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

fonction E2E_P07Forward [SWS_E2E_00590] 📄 PDF

Std_ReturnType E2E_P07Forward(E2E_P07ConfigType* ConfigPtr, uint32 Length, E2E_PCheckStatusType Checkstatus, E2E_P07ProtectStateType* StatePtr, uint8* DataPtr);

Protects data which is forwarded by using the E2E profile 07. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

fonction E2E_P04mSourceCheck [SWS_E2E_91002] 📄 PDF

Std_ReturnType E2E_P04mSourceCheck(const E2E_P04mConfigType* ConfigPtr, E2E_P04mCheckStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType MessageResult, const uint8* DataPtr, uint16 Length);

Checks the Data received using the E2E profile 4m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link. This function is intended for usage at the data source (i.e., in case of C/S communication at the client).

fonction E2E_P04mSinkCheck [SWS_E2E_91003] 📄 PDF

Std_ReturnType E2E_P04mSinkCheck(const E2E_P04mConfigType* ConfigPtr, E2E_P04mCheckStateType StatePtr, uint32* SourceID, Std_MessageTypeType MessageType, Std_MessageResultType MessageResult, const uint8* DataPtr, uint16 Length);

Checks the Data received using the E2E profile 4m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link. This function is intended for usage at the data sink (i.e., in case of C/S communication at the server).

fonction E2E_P04mMapStatusToSM [SWS_E2E_91004] 📄 PDF

E2E_PCheckStatusType E2E_P04mMapStatusToSM(Std_ReturnType CheckReturn, E2E_P04mCheckStatusType Status);

The function maps the check status of Profile 4m to a generic check status, which can be used by E2E state machine check function. The E2E Profile 4m delivers a more fine-granular status, but this is not relevant for the E2E state machine.

fonction E2E_P04mForward [SWS_E2E_91007] 📄 PDF

Std_ReturnType E2E_P04mForward(const E2E_P04mConfigType* ConfigPtr, uint16 Length, E2E_PCheckStatusType Checkstatus, E2E_P04mProtectStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType MessageResult, uint8* DataPtr);

Protects data which is forwarded by using the E2E profile 4m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

fonction E2E_P07mMapStatusToSM [SWS_E2E_91013] 📄 PDF

E2E_PCheckStatusType E2E_P07mMapStatusToSM(Std_ReturnType CheckReturn, E2E_P07mCheckStatusType Status);

The function maps the check status of Profile 7m to a generic check status, which can be used by E2E state machine check function. The E2E Profile 7m delivers a more fine-granular status, but this is not relevant for the E2E state machine.

fonction E2E_P07mForward [SWS_E2E_91016] 📄 PDF

Std_ReturnType E2E_P07mForward(const E2E_P07mConfigType* ConfigPtr, uint32 Length, E2E_PCheckStatusType Checkstatus, E2E_P07mProtectStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType MessageResult, uint8* DataPtr);

Protects data which is forwarded by using the E2E profile 7m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

fonction E2E_P07mSinkCheck [SWS_E2E_91017] 📄 PDF

Std_ReturnType E2E_P07mSinkCheck(const E2E_P07mConfigType* ConfigPtr, E2E_P07mCheckStateType* StatePtr, uint32* SourceID, Std_MessageTypeType MessageType, Std_MessageResultType MessageResult, const uint8* DataPtr, uint32 Length);

Checks the Data received using the E2E profile 7m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link. This function is intended for usage at the data sink (i.e., in case of C/S communication at the server).

fonction E2E_P07mSourceCheck [SWS_E2E_91018] 📄 PDF

Std_ReturnType E2E_P07mSourceCheck(const E2E_P07mConfigType* ConfigPtr, E2E_P07mCheckStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType MessageResult, const uint8* DataPtr, uint32 Length);

Checks the Data received using the E2E profile 7m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link. This function is intended for usage at the data source (i.e., in case of C/S communication at the client).

fonction E2E_P44Protect [SWS_E2E_91027] 📄 PDF

Std_ReturnType E2E_P44Protect(const E2E_P44ConfigType* ConfigPtr, E2E_P44ProtectStateType* StatePtr, uint8* DataPtr, uint16 Length);

Protects the array/buffer to be transmitted using the E2E profile 44. This includes checksum calculation, handling of counter and Data ID.

fonction E2E_P44Forward [SWS_E2E_91029] 📄 PDF

Std_ReturnType E2E_P44Forward(const E2E_P44ConfigType* ConfigPtr, uint16 Length, E2E_P44CheckStatusType Checkstatus, E2E_P44ProtectStateType StatePtr, uint8* DataPtr);

Protects data which is forwarded by using the E2E profile 44. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

fonction E2E_P44Check [SWS_E2E_91030] 📄 PDF

Std_ReturnType E2E_P44Check(const E2E_P44ConfigType* ConfigPtr, E2E_P44CheckStateType* StatePtr, const uint8* DataPtr, uint16 Length);

Checks the Data received using the E2E profile 44. This includes CRC calculation, handling of Counter and Data ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link.

fonction E2E_P44MapStatusToSM [SWS_E2E_91032] 📄 PDF

E2E_PCheckStatusType E2E_P44MapStatusToSM(Std_ReturnType CheckReturn, E2E_P44CheckStatusType Status);

The function maps the check status of Profile 44 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 44 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

fonction E2E_P08Protect [SWS_E2E_91036] 📄 PDF

Std_ReturnType E2E_P08Protect(const E2E_P08ConfigType* ConfigPtr, E2E_P08ProtectStateType* StatePtr, uint8* DataPtr, uint32 Length);

Protects the array/buffer to be transmitted using the E2E profile 08. This includes checksum calculation, handling of counter and Data ID.

fonction E2E_P08Forward [SWS_E2E_91038] 📄 PDF

Std_ReturnType E2E_P08Forward(const E2E_P08ConfigType* ConfigPtr, uint32 Length, E2E_PCheckStatusType Checkstatus, E2E_P08ProtectStateType StatePtr, uint8* DataPtr);

Protects data which is forwarded by using the E2E profile 08. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

fonction E2E_P08Check [SWS_E2E_91039] 📄 PDF

Std_ReturnType E2E_P08Check(const E2E_P08ConfigType* ConfigPtr, E2E_P08CheckStateType* StatePtr, const uint8* DataPtr, uint32 Length);

Checks the Data received using the E2E profile 08. This includes CRC calculation, handling of Counter and Data ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link.

fonction E2E_P08MapStatusToSM [SWS_E2E_91041] 📄 PDF

E2E_PCheckStatusType E2E_P08MapStatusToSM(Std_ReturnType CheckReturn, E2E_P08CheckStatusType Status);

The function maps the check status of Profile 08 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 08 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

fonction E2E_P08mForward [SWS_E2E_91083] 📄 PDF

Std_ReturnType E2E_P08mForward(const E2E_P08mConfigType* ConfigPtr, uint32 Length, E2E_PCheckStatusType Checkstatus, E2E_P08mProtectStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType Messageresult, uint8* DataPtr);

Protects data which is forwarded by using the E2E profile 08m. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

fonction E2E_P08mSourceCheck [SWS_E2E_91084] 📄 PDF

Std_ReturnType E2E_P08mSourceCheck(const E2E_P08mConfigType* ConfigPtr, E2E_P08mCheckStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType Messageresult, const uint8* DataPtr, uint32 Length);

Checks the Data received using the E2E profile 8m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link. This function is intended for usage at the data source (i.e., in case of C/S communication at the client).

fonction E2E_P08mSinkCheck [SWS_E2E_91085] 📄 PDF

Std_ReturnType E2E_P08mSinkCheck(const E2E_P08mConfigType* ConfigPtr, E2E_P08mCheckStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType Messageresult, const uint8* DataPtr, uint32 Length);

Checks the Data received using the E2E profile 8m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link. This function is intended for usage at the data sink (i.e., in case of C/S communication at the server).

fonction E2E_P08mMapStatusToSM [SWS_E2E_91087] 📄 PDF

E2E_PCheckStatusType E2E_P08mMapStatusToSM(Std_ReturnType CheckReturn, E2E_P08mCheckStatusType Status);

The function maps the check status of Profile 08m to a generic check status, which can be used by E2E state machine check function. The E2E Profile 08m delivers a more fine-granular status, but this is not relevant for the E2E state machine.

fonction E2E_P44mForward [SWS_E2E_91090] 📄 PDF

Std_ReturnType E2E_P44mForward(const E2E_P44mConfigType* ConfigPtr, uint32 Length, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType Messageresult, E2E_P44mProtectStateType* StatePtr, uint8* DataPtr);

Protects data which is forwarded by using the E2E profile 44m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

fonction E2E_P44mSourceCheck [SWS_E2E_91091] 📄 PDF

Std_ReturnType E2E_P44mSourceCheck(const E2E_P44mConfigType* ConfigPtr, E2E_P44mCheckStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType Messageresult, const uint8* DataPtr, uint32 Length);

Checks the Data received using the E2E profile 44m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link. This function is intended for usage at the data source (i.e., in case of C/S communication at the client).

fonction E2E_P44mSinkCheck [SWS_E2E_91092] 📄 PDF

Std_ReturnType E2E_P44mSinkCheck(const E2E_P44mConfigType* ConfigPtr, E2E_P44mCheckStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType Messageresult, const uint8* DataPtr, uint32 Length);

Checks the Data received using the E2E profile 44m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link. This function is intended for usage at the data sink (i.e., in case of C/S communication at the server).

fonction E2E_P44mMapStatusToSM [SWS_E2E_91094] 📄 PDF

E2E_PCheckStatusType E2E_P44mMapStatusToSM(Std_ReturnType CheckReturn, E2E_P44mCheckStatusType Status);

The function maps the check status of Profile 44m to a generic check status, which can be used by E2E state machine check function. The E2E Profile 44m delivers a more fine-granular status, but this is not relevant for the E2E state machine.

fonction E2E_P76MapStatusToSM [SWS_E2E_91098] 📄 PDF

E2E_PCheckStatusType E2E_P76MapStatusToSM(Std_ReturnType CheckReturn, E2E_P76CheckStatusType Status);

The function maps the check status of Profile 76 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 76 delivers a more fine-granular status, but this is not relevant for the E2E state machine. Tags: atp.Status=draft

fonction E2E_P76Check [SWS_E2E_91102] 📄 PDF

Std_ReturnType E2E_P76Check(const E2E_P76ConfigType* ConfigPtr, E2E_P76CheckStateType* StatePtr, const uint8* DataPtr, uint32 Length);

Checks the Data received using the E2E profile 76. This includes CRC calculation, handling of Counter. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link. Tags: atp.Status=draft

fonction E2E_P04GetHeaderInfo [SWS_E2E_91113] 📄 PDF

Std_ReturnType E2E_P04GetHeaderInfo(const E2E_P04ConfigType* ConfigPtr, const uint8* DataPtr, uint16 Length, E2E_P04HeaderInformationType* HeaderInfoPtr);

Retrieves header element data for further processing when using the E2E profile 04. This includes the SequenceCounter.

fonction E2E_P05GetHeaderInfo [SWS_E2E_91114] 📄 PDF

Std_ReturnType E2E_P05GetHeaderInfo(const E2E_P05ConfigType* ConfigPtr, const uint8* DataPtr, uint8 Length, E2E_P05HeaderInformationType* HeaderInfoPtr);

Retrieves header element data for further processing when using the E2E profile 05. This includes the SequenceCounter.

fonction E2E_P06GetHeaderInfo [SWS_E2E_91115] 📄 PDF

Std_ReturnType E2E_P06GetHeaderInfo(const E2E_P06ConfigType* ConfigPtr, const uint8* DataPtr, uint8 Length, E2E_P06HeaderInformationType* HeaderInfoPtr);

Retrieves header element data for further processing when using the E2E profile 06. This includes the SequenceCounter.

fonction E2E_P07GetHeaderInfo [SWS_E2E_91116] 📄 PDF

Std_ReturnType E2E_P07GetHeaderInfo(const E2E_P07ConfigType* ConfigPtr, const uint8* DataPtr, uint32 Length, E2E_P07HeaderInformationType* HeaderInfoPtr);

Retrieves header element data for further processing when using the E2E profile 07. This includes the SequenceCounter

fonction E2E_P08GetHeaderInfo [SWS_E2E_91117] 📄 PDF

Std_ReturnType E2E_P08GetHeaderInfo(const E2E_P08ConfigType* ConfigPtr, const uint8* DataPtr, uint32 Length, E2E_P08HeaderInformationType* HeaderInfoPtr);

Retrieves header element data for further processing when using the E2E profile 08. This includes the SequenceCounter

fonction E2E_P44GetHeaderInfo [SWS_E2E_91118] 📄 PDF

Std_ReturnType E2E_P44GetHeaderInfo(const E2E_P44ConfigType* ConfigPtr, const uint8* DataPtr, uint16 Length, E2E_P44HeaderInformationType* HeaderInfoPtr);

Retrieves header element data for further processing when using the E2E profile 44. This includes the SequenceCounter

fonction E2E_P04mGetHeaderInfo [SWS_E2E_91119] 📄 PDF

Std_ReturnType E2E_P04mGetHeaderInfo(const E2E_P04mConfigType* ConfigPtr, const uint8* DataPtr, uint16 Length, E2E_P04mHeaderInformationType* HeaderInfoPtr);

Retrieves header element data for further processing when using the E2E profile 04m. This includes SequenceCounter and SourceID.

fonction E2E_P07mGetHeaderInfo [SWS_E2E_91120] 📄 PDF

Std_ReturnType E2E_P07mGetHeaderInfo(const E2E_P07mConfigType* ConfigPtr, const uint8* DataPtr, uint32 Length, E2E_P07mHeaderInformationType* HeaderInfoPtr);

Retrieves header element data for further processing when using the E2E profile 07m. This includes SequenceCounter and SourceID.

fonction E2E_P08mGetHeaderInfo [SWS_E2E_91121] 📄 PDF

Std_ReturnType E2E_P08mGetHeaderInfo(const E2E_P08mConfigType* ConfigPtr, const uint8* DataPtr, uint32 Length, E2E_P08mHeaderInformationType* HeaderInfoPtr);

Retrieves header element data for further processing when using the E2E profile 08m. This includes SequenceCounter and SourceID.

fonction E2E_P44mGetHeaderInfo [SWS_E2E_91122] 📄 PDF

Std_ReturnType E2E_P44mGetHeaderInfo(const E2E_P44mConfigType* ConfigPtr, const uint8* DataPtr, uint16 Length, E2E_P44mHeaderInformationType* HeaderInfoPtr);

Retrieves header element data for further processing when using the E2E profile 44m. This includes SequenceCounter and SourceID.

type E2E_P01ConfigType [SWS_E2E_00018] 📄 PDF

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 1. For each transmitted Data, there is an instance of this typedef.

type E2E_P01CheckStatusType [SWS_E2E_00022] 📄 PDF

Result of the verification of the Data in E2E Profile 1, determined by the Check function.

type E2E_P02ConfigType [SWS_E2E_00152] 📄 PDF

Non-modifiable configuration of the data element sent over an RTE port, for E2E profile 2. The position of the counter and CRC is not configurable in profile 2.

type E2E_P01DataIDMode [SWS_E2E_00200] 📄 PDF

The Data ID is two bytes long in E2E Profile 1. There are four inclusion modes how the implicit two-byte Data ID is included in the one-byte CRC.

type E2E_P02CheckStatusType [SWS_E2E_00214] 📄 PDF

Result of the verification of the Data in E2E Profile 2, determined by the Check function.

type E2E_P04ConfigType [SWS_E2E_00334] 📄 PDF

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 4. For each transmitted Data, there is an instance of this typedef.

type E2E_P04CheckStateType [SWS_E2E_00336] 📄 PDF

State of the reception on one single Data protected with E2E Profile 4.

type E2E_P04CheckStatusType [SWS_E2E_00337] 📄 PDF

Status of the reception on one single Data in one cycle, protected with E2E Profile 4.

type E2E_SMStateType [SWS_E2E_00344] 📄 PDF

Status of the communication channel exchanging the data. If the status is OK, then the data may be used.

type E2E_PCheckStatusType [SWS_E2E_00347] 📄 PDF

Profile-independent status of the reception on one single Data in one cycle.

type E2E_P05ConfigType [SWS_E2E_00437] 📄 PDF

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 5. For each transmitted Data, there is an instance of this typedef.

type E2E_P05CheckStateType [SWS_E2E_00439] 📄 PDF

Description: State of the reception on one single Data protected with E2E Profile 5.

type E2E_P05CheckStatusType [SWS_E2E_00440] 📄 PDF

Status of the reception on one single Data in one cycle, protected with E2E Profile 5.

type E2E_P06ConfigType [SWS_E2E_00441] 📄 PDF

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 6. For each transmitted Data, there is an instance of this typedef.

type E2E_P06CheckStateType [SWS_E2E_00444] 📄 PDF

State of the reception on one single Data protected with E2E Profile 6.

type E2E_P06CheckStatusType [SWS_E2E_00445] 📄 PDF

Status of the reception on one single Data in one cycle, protected with E2E Profile 6.

type E2E_P07CheckStateType [SWS_E2E_00542] 📄 PDF

State of the reception on one single Data protected with E2E Profile 7.

type E2E_P07ConfigType [SWS_E2E_00544] 📄 PDF

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 7. For each transmitted Data, there is an instance of this typedef.

type E2E_P11CheckStateType [SWS_E2E_00563] 📄 PDF

Description: State of the reception on one single Data protected with E2E Profile 11.

type E2E_P11CheckStatusType [SWS_E2E_00564] 📄 PDF

Status of the reception on one single Data in one cycle, protected with E2E Profile 11.

type E2E_P11ConfigType [SWS_E2E_00565] 📄 PDF

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 11. For each transmitted Data, there is an instance of this typedef.

type E2E_P11ProtectStateType [SWS_E2E_00567] 📄 PDF

State of the sender for a Data protected with E2E Profile 11.

type E2E_P22CheckStatusType [SWS_E2E_00569] 📄 PDF

Result of the verification of the Data in E2E Profile 22, determined by the Check function.

type E2E_P22ProtectStateType [SWS_E2E_00570] 📄 PDF

State of the sender for a Data protected with E2E Profile 22.

type E2E_P22ConfigType [SWS_E2E_00571] 📄 PDF

Non-modifiable configuration of the data element sent over an RTE port, for E2E profile 22. The position of the counter and CRC is not configurable in profile 22.

type E2E_P07CheckStatusType [SWS_E2E_00591] 📄 PDF

Status of the reception on one single Data in one cycle, protected with E2E Profile 7.

type E2E_P22ConfigType [SWS_E2E_00616] 📄 PDF

Non-modifiable configuration of the data element sent over an RTE port, for E2E profile 22. The position of the counter and CRC is not configurable in profile 22.

type E2E_P07mCheckStateType [SWS_E2E_91008] 📄 PDF

State of the reception on one single Data protected with E2E Profile 7m.

type E2E_P07mCheckStatusType [SWS_E2E_91009] 📄 PDF

Status of the reception on one single Data in one cycle, protected with E2E Profile 7m.

type E2E_P07mConfigType [SWS_E2E_91010] 📄 PDF

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 7m. For each transmitted Data, there is an instance of this typedef.

type E2E_P07mProtectStateType [SWS_E2E_91011] 📄 PDF

State of the sender for a Data protected with E2E Profile 7m.

type E2E_P04mCheckStateType [SWS_E2E_91019] 📄 PDF

State of the reception on one single Data protected with E2E Profile 4m.

type E2E_P04mProtectStateType [SWS_E2E_91020] 📄 PDF

State of the sender for a Data protected with E2E Profile 4m.

type E2E_P04mConfigType [SWS_E2E_91021] 📄 PDF

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 4m. For each transmitted Data, there is an instance of this typedef.

type E2E_P04mCheckStatusType [SWS_E2E_91022] 📄 PDF

Status of the reception on one single Data in one cycle, protected with E2E Profile 4m.

type E2E_P44ConfigType [SWS_E2E_91023] 📄 PDF

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 44. For each transmitted Data, there is an instance of this typedef.

type E2E_P44ProtectStateType [SWS_E2E_91024] 📄 PDF

State of the sender for a Data protected with E2E Profile 44.

type E2E_P44CheckStateType [SWS_E2E_91025] 📄 PDF

State of the reception on one single Data protected with E2E Profile 44.

type E2E_P44CheckStatusType [SWS_E2E_91026] 📄 PDF

Status of the reception on one single Data in one cycle, protected with E2E Profile 44.

type E2E_P08ConfigType [SWS_E2E_91033] 📄 PDF

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 08. For each transmitted Data, there is an instance of this typedef.

type E2E_P08CheckStateType [SWS_E2E_91034] 📄 PDF

State of the reception on one single Data protected with E2E Profile 08

type E2E_P08CheckStatusType [SWS_E2E_91035] 📄 PDF

Status of the reception on one single Data in one cycle, protected with E2E Profile 08.

type E2E_P08ProtectStateType [SWS_E2E_91042] 📄 PDF

State of the sender for a Data protected with E2E Profile 08.

type E2E_P08mConfigType [SWS_E2E_91073] 📄 PDF

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 08m. For each transmitted Data, there is an instance of this typedef.

type E2E_P08mProtectStateType [SWS_E2E_91074] 📄 PDF

State of the sender for a Data protected with E2E Profile 08m.

type E2E_P08mCheckStateType [SWS_E2E_91075] 📄 PDF

State of the reception on one single Data protected with E2E Profile 08m.

type E2E_P08mCheckStatusType [SWS_E2E_91076] 📄 PDF

Status of the reception on one single Data in one cycle, protected with E2E Profile 08m.

type E2E_P44mConfigType [SWS_E2E_91077] 📄 PDF

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 44m. For each transmitted Data, there is an instance of this typedef.

type E2E_P44mProtectStateType [SWS_E2E_91078] 📄 PDF

State of the sender for a Data protected with E2E Profile 44m.

type E2E_P44mCheckStateType [SWS_E2E_91079] 📄 PDF

State of the reception on one single Data protected with E2E Profile 44m.

type E2E_P44mCheckStatusType [SWS_E2E_91080] 📄 PDF

Status of the reception on one single Data in one cycle, protected with E2E Profile 44m.

type E2E_P04HeaderInformationType [SWS_E2E_91103] 📄 PDF

Data that can be retrieved from E2E header on receiver side in case E2E Profile 04 is used.

type E2E_P05HeaderInformationType [SWS_E2E_91104] 📄 PDF

Data that can be retrieved from E2E header on receiver side in case E2E Profile 05 is used.

type E2E_P06HeaderInformationType [SWS_E2E_91105] 📄 PDF

Data that can be retrieved from E2E header on receiver side in case E2E Profile 06 is used.

type E2E_P08HeaderInformationType [SWS_E2E_91107] 📄 PDF

Data that can be retrieved from E2E header on receiver side in case E2E Profile 08 is used.

type E2E_P44HeaderInformationType [SWS_E2E_91108] 📄 PDF

Data that can be retrieved from E2E header on receiver side in case E2E Profile 44 is used.

requirement RS_E2E_08527 [RS_E2E_08527] 📄 PDF

[RS_E2E_08527] Implementation of E2E protocol shall fulfill ISO 26262 Satisfied by: PRS_E2E_00219, PRS_E2E_00372, PRS_E2E_00394, PRS_E2E_00479, PRS_E2E_00480, PRS_E2E_00503, PRS_E2E_00522, PRS_E2E_00870, PRS_E2E_00875, PRS_E2E_00877, PRS_E2E_00882, PRS_E2E_00888, PRS_E2E_00894, PRS_E2E_00904, PRS_E2E_01318, PRS_E2E_01456

requirement RS_E2E_08528 [RS_E2E_08528] 📄 PDF

[RS_E2E_08528] E2E protocol shall provide different E2E profiles Satisfied by: PRS_E2E_00012, PRS_E2E_00075, PRS_E2E_00076, PRS_E2E_00085, PRS_E2E_00117, PRS_E2E_00118, PRS_E2E_00119, PRS_E2E_00120, PRS_E2E_00121, PRS_E2E_00122, PRS_E2E_00123, PRS_E2E_00124, PRS_E2E_00125, PRS_E2E_00126, PRS_E2E_00127, PRS_E2E_00128, PRS_E2E_00129, PRS_E2E_00130, PRS_E2E_00132, PRS_E2E_00133, PRS_E2E_00134, PRS_E2E_00135, PRS_E2E_00136, PRS_E2E_00137, PRS_E2E_00138, PRS_E2E_00139, PRS_E2E_00140, PRS_E2E_00141, PRS_E2E_00142, PRS_E2E_00143

requirement SWS_E2E_00011 [SWS_E2E_00011] 📄 PDF

The E2E Library shall report errors detected by library-internal mechanisms to callers of E2E functions through return value.

requirement SWS_E2E_00017 [SWS_E2E_00017] 📄 PDF

Module Header File Imported Type Std_Types.h Std_MessageResultType Std_Types.h Std_MessageTypeType Std_Types.h Std_ReturnType Std Std_Types.h Std_VersionInfoType

requirement SWS_E2E_00033 [SWS_E2E_00033] 📄 PDF

The function E2E_GetVersionInfo shall return the version infor- mation of this module. The version information includes: • vendor ID • module ID • sw_major_version • sw_minor_version • sw_patch_version

requirement SWS_E2E_00038 [SWS_E2E_00038] 📄 PDF

The standardized common published parameters as required by SRS_BSW_00402 in [6, General Requirements on Basic Software Modules] shall be published within the header file of this module and need to be provided in the BSW Module Description. The according module abbreviation can be found in [7, List of Basic Software Modules].

requirement SWS_E2E_00047 [SWS_E2E_00047] 📄 PDF

Type of error Related error code Error value At least one pointer parameter is a NULL pointer E2E_E_INPUTERR_NULL 0x13 At least one input parameter is erroneous, e.g. out of range E2E_E_INPUTERR_WRONG 0x17 An internal library error has occurred (e.g. error detected by program flow monitoring, violated invariant or postcondition) E2E_E_INTERR 0x19 Function executed in wrong state E2E_E_WRONGSTATE 0x1A

requirement SWS_E2E_00048 [SWS_E2E_00048] 📄 PDF

E2E library shall be built of the following files: E2E.h (common header), E2E.c (implementation of common parts),E2E_PXX.c (where XX: e.g. 01, 02, ... representing the profile) and E2E_SM.c (for E2E state machine).

requirement SWS_E2E_00049 [SWS_E2E_00049] 📄 PDF

The E2E library shall not contain library-internal mechanisms for error detection to be traced as development errors.

requirement SWS_E2E_00050 [SWS_E2E_00050] 📄 PDF

The implementation of the E2E Library shall comply with the re- quirements for the development of safety-related software for the automotive domain.

requirement SWS_E2E_00110 [SWS_E2E_00110] 📄 PDF

The E2E library shall not call any functions from external modules apart from explicitly listed expected interfaces of E2E Library.

requirement SWS_E2E_00115 [SWS_E2E_00115] 📄 PDF

E2E library files (i.e. E2E_*.*) shall not include any RTE files.

requirement SWS_E2E_00215 [SWS_E2E_00215] 📄 PDF

Files E2E_PXX.c and E2E.h shall contain implementation parts specific of each profile.

requirement SWS_E2E_00216 [SWS_E2E_00216] 📄 PDF

The E2E Library shall not call BSW modules for error reporting (in particular DEM and DET), nor for any other purpose. The E2E Library shall not call RTE.

requirement SWS_E2E_00311 [SWS_E2E_00311] 📄 PDF

The configuration of the E2E Library and of the code invoking it (e.g. E2E wrapper , E2E callouts , E2E transformer) shall be implemented and configured (including configuration options used from other subsystems, e.g. COM signal to I-PDU mapping) according to the requirements for the development of safety- related software for the automotive domain.

requirement SWS_E2E_00314 [SWS_E2E_00314] 📄 PDF

The caller of the E2E Wrapper functions should handle the errors/ stati defined in UC_E2E_0302 and UC_E2E_0303 according to the column "How do caller of E2E shall handle it".

requirement SWS_E2E_00322 [SWS_E2E_00322] 📄 PDF

The function E2EPW_WriteInit1_<p>_<o> shall initialize the E2E_PXXProtectStateType_<p>_<o> related to redundant channel 1 with the following values: Counter = 0.

requirement SWS_E2E_00323 [SWS_E2E_00323] 📄 PDF

The function E2EPW_WriteInit2_<p>_<o> shall initialize the E2E_PXXProtectStateType_<p>_<o> related to redundant channel 2 with the following values: Counter = 0.

requirement SWS_E2E_00324 [SWS_E2E_00324] 📄 PDF

The function E2EPW_ReadInit1_<p>_<o> shall initialize the E2E_PXXCheckStateType_<p>_<o> related to redundant channel 1 with the follow- ing values: LastValidCounter = 0 MaxDeltaCounter = 0 WaitForFirstData = TRUE NewDataAvailable = FALSE LostData = 0 Status = E2E_PXXSTATUS_NONEWDATA NoNewOrRepeatedDataCounter = 0 SyncCounter = 0.

requirement SWS_E2E_00325 [SWS_E2E_00325] 📄 PDF

The function E2EPW_ReadInit2_<p>_<o> shall initialize the E2E_PXXCheckStateType_<p>_<o> related to redundant channel 2 with the follow- ing values: LastValidCounter = 0 MaxDeltaCounter = 0 WaitForFirstData = TRUE NewDataAvailable = FALSE LostData = 0 Status = E2E_PXXSTATUS_NONEWDATA NoNewOrRepeatedDataCounter = 0 SyncCounter = 0.

requirement SWS_E2E_00351 [SWS_E2E_00351] 📄 PDF

If CheckReturn = E2E_E_OK, then the function E2E_P04Map StatusToSMshall return the values depending on the value of Status: See Table 8.5

requirement SWS_E2E_00352 [SWS_E2E_00352] 📄 PDF

If CheckReturn != E2E_E_OK, then the function E2E_P04Map StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

requirement SWS_E2E_00370 [SWS_E2E_00370] 📄 PDF

In case State is NULL or Config is NULL, the function E2E_SM- CheckInit shall return immediately with E2E_E_INPUTERR_NULL. Else (i.e. both pointers arenot NULL), the function E2E_SMCheckInit shall initialize the State structure, setting: 1. ProfileStatusWindow[] to E2E_P_NOTAVAILABLE on each element of the array 2. WindowTopIndex to 0 3. OKCount to 0 4. ERRORCount to 0 5. SMState to E2E_SM_NODATA and it shall return with E2E_E_OK.

requirement SWS_E2E_00371 [SWS_E2E_00371] 📄 PDF

In case State is NULL or Config is NULL, the function E2E_SM- Check shall return immediately with E2E_E_INPUTERR_NULL. Else, the function E2E_SMCheck shall perform the logic according to the specified state machine.

requirement SWS_E2E_00377 [SWS_E2E_00377] 📄 PDF

In case State is NULL, E2E_P04ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

requirement SWS_E2E_00378 [SWS_E2E_00378] 📄 PDF

In case State is NULL, E2E_P04CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xFF'FF. 2. Status to E2E_P04STATUS_ERROR.

requirement SWS_E2E_00380 [SWS_E2E_00380] 📄 PDF

If CheckReturn == E2E_E_OKand ProfileBehavior == 1, then the function E2E_P02MapStatusToSM shall return the values depending on the value of Status: See Table 8.3

requirement SWS_E2E_00381 [SWS_E2E_00381] 📄 PDF

If CheckReturn != E2E_E_OK, then the function E2E_P02Map StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

requirement SWS_E2E_00383 [SWS_E2E_00383] 📄 PDF

If CheckReturn == E2E_E_OK and ProfileBehavior == TRUE, then the function E2E_P01MapStatusToSM shall return the values depending on the value of Status: See Table 8.1

requirement SWS_E2E_00384 [SWS_E2E_00384] 📄 PDF

If CheckReturn != E2E_E_OK, then the function E2E_P01Map StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

requirement SWS_E2E_00386 [SWS_E2E_00386] 📄 PDF

In case State is NULL, E2E_P01ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

requirement SWS_E2E_00388 [SWS_E2E_00388] 📄 PDF

In case State is NULL, E2E_P02ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

requirement SWS_E2E_00389 [SWS_E2E_00389] 📄 PDF

In case State is NULL, E2E_P01CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: • LastValidCounter = 0 • MaxDeltaCounter = 0 • WaitForFirstData = TRUE • NewDataAvailable = TRUE • LostData = 0 • Status = E2E_P01STATUS_NONEWDATA • NoNewOrRepeatedDataCounter = 0 • SyncCounter = 0.

requirement SWS_E2E_00392 [SWS_E2E_00392] 📄 PDF

In case State is NULL, E2E_P02CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: • LastValidCounter = 0 • MaxDeltaCounter = 0 • WaitForFirstData = TRUE • NewDataAvailable = TRUE • LostData = 0 • Status = E2E_P02STATUS_NONEWDATA • NoNewOrRepeatedDataCounter = 0 • SyncCounter = 0.

requirement SWS_E2E_00448 [SWS_E2E_00448] 📄 PDF

In case State is NULL, E2E_P05ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

requirement SWS_E2E_00451 [SWS_E2E_00451] 📄 PDF

In case State is NULL, E2E_P05CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xFF 2. Status to E2E_P05STATUS_ERROR.

requirement SWS_E2E_00453 [SWS_E2E_00453] 📄 PDF

If CheckReturn = E2E_E_OK, then the function E2E_P05Map StatusToSM shall return the values depending on the value of Status: See Table 8.7

requirement SWS_E2E_00454 [SWS_E2E_00454] 📄 PDF

If CheckReturn != E2E_E_OK, then the function E2E_P05Map StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

requirement SWS_E2E_00456 [SWS_E2E_00456] 📄 PDF

In case State is NULL, E2E_P06ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

requirement SWS_E2E_00459 [SWS_E2E_00459] 📄 PDF

In case State is NULL, E2E_P06CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xFF 2. Status to E2E_P06STATUS_ERROR.

requirement SWS_E2E_00461 [SWS_E2E_00461] 📄 PDF

If CheckReturn = E2E_E_OK, then the function E2E_P06Map StatusToSM shall return the values depending on the value of Status: See Table 8.8

requirement SWS_E2E_00462 [SWS_E2E_00462] 📄 PDF

If CheckReturn != E2E_E_OK, then the function E2E_P06Map StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

requirement SWS_E2E_00476 [SWS_E2E_00476] 📄 PDF

If CheckReturn == E2E_E_OK and ProfileBehavior == FALSE, then the function E2E_P01MapStatusToSM shall return the values depending on the value of Status: See Table 8.2

requirement SWS_E2E_00477 [SWS_E2E_00477] 📄 PDF

If CheckReturn == E2E_E_OK and ProfileBehavior == 0, then the function E2E_P02MapStatusToSM shall return the values depending on the value of Status: See Table 8.4

requirement SWS_E2E_00551 [SWS_E2E_00551] 📄 PDF

In case State is NULL, E2E_P07ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

requirement SWS_E2E_00552 [SWS_E2E_00552] 📄 PDF

In case State is NULL, E2E_P07CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xFF'FF'FF'FF 2. Status to E2E_P07STATUS_ERROR.

requirement SWS_E2E_00553 [SWS_E2E_00553] 📄 PDF

If CheckReturn = E2E_E_OK, then the function E2E_P07Map StatusToSM shall return the values depending on the value of Status: See Table 8.9

requirement SWS_E2E_00554 [SWS_E2E_00554] 📄 PDF

If CheckReturn != E2E_E_OK, then the function E2E_P07Map StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

requirement SWS_E2E_00555 [SWS_E2E_00555] 📄 PDF

In case State is NULL, E2E_P11ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

requirement SWS_E2E_00556 [SWS_E2E_00556] 📄 PDF

In case State is NULL, E2E_P11CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xE 2. Status to E2E_P11STATUS_ERROR.

requirement SWS_E2E_00557 [SWS_E2E_00557] 📄 PDF

If CheckReturn = E2E_E_OK, then the function E2E_P11Map StatusToSM shall return the values depending on the value of Status: See Table 8.13

requirement SWS_E2E_00558 [SWS_E2E_00558] 📄 PDF

If CheckReturn != E2E_E_OK, then the function E2E_P11Map StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

requirement SWS_E2E_00559 [SWS_E2E_00559] 📄 PDF

In case State is NULL, E2E_P22ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

requirement SWS_E2E_00560 [SWS_E2E_00560] 📄 PDF

In case State is NULL, E2E_P22CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xF 2. Status to E2E_P22STATUS_ERROR.

requirement SWS_E2E_00561 [SWS_E2E_00561] 📄 PDF

If CheckReturn = E2E_E_OK, then the function E2E_P22Map StatusToSM shall return the values depending on the value of Status: See Table 8.14

requirement SWS_E2E_00562 [SWS_E2E_00562] 📄 PDF

If CheckReturn != E2E_E_OK, then the function E2E_P22Map StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

requirement SWS_E2E_00592 [SWS_E2E_00592] 📄 PDF

In case State is NULL, E2E_P04mProtectInit shall return imme- diately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

requirement SWS_E2E_00593 [SWS_E2E_00593] 📄 PDF

In case State is NULL, E2E_P04mCheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xFF'FF. 2. Status to E2E_P04MSTATUS_ERROR.

requirement SWS_E2E_00594 [SWS_E2E_00594] 📄 PDF

If CheckReturn = E2E_E_OK, then the function E2E_P04mMap StatusToSMshall return the values depending on the value of Status: See Table 8.6

requirement SWS_E2E_00595 [SWS_E2E_00595] 📄 PDF

If CheckReturn != E2E_E_OK, then the function E2E_P04mMap StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

requirement SWS_E2E_00596 [SWS_E2E_00596] 📄 PDF

In case State is NULL, E2E_P07mProtectInit shall return imme- diately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

requirement SWS_E2E_00597 [SWS_E2E_00597] 📄 PDF

In case State is NULL, E2E_P07mCheckInit shall return imme- diately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xFF'FF'FF'FF. 2. Status to E2E_P07MSTATUS_ERROR.

requirement SWS_E2E_00598 [SWS_E2E_00598] 📄 PDF

If CheckReturn = E2E_E_OK, then the function E2E_P07mMap StatusToSMshall return the values depending on the value of Status: See Table 8.10

requirement SWS_E2E_00599 [SWS_E2E_00599] 📄 PDF

If CheckReturn != E2E_E_OK, then the function E2E_P07mMap StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

requirement SWS_E2E_00612 [SWS_E2E_00612] 📄 PDF

[SWS_E2E_00612] If CheckReturn != E2E_E_OK, then the function E2E_P44MapStatusToSM() shall return E2E_P_ER- ROR (regardless of value of Status).⌋

requirement SWS_E2E_00624 [SWS_E2E_00624] 📄 PDF

[SWS_E2E_00624] P76Protect - State NULL Status: DRAFT Upstream requirements: RS_E2E_08528, RS_E2E_08539 ⌈In case State is NULL, E2E_P76ProtectInit shall return immediately with E2E_E_ INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.⌋ Protection Library

requirement SWS_E2E_00625 [SWS_E2E_00625] 📄 PDF

[SWS_E2E_00625] P76Check - State NULL Status: DRAFT Upstream requirements: RS_E2E_08528, RS_E2E_08539 ⌈In case State is NULL, E2E_P76CheckInit shall return immediately with E2E_E_IN- PUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0x1F 2. Status to E2E_P76STATUS_ERROR. ⌋ Protection Library

requirement SWS_E2E_00626 [SWS_E2E_00626] 📄 PDF

[SWS_E2E_00626] P76 Status Mapping Status: DRAFT Upstream requirements: RS_E2E_08548 ⌈If CheckReturn = E2E_E_OK, then the function E2E_P76MapStatusToSM shall return the values depending on the value of Status: See [SWS_E2E_00623]⌋

requirement SWS_E2E_00627 [SWS_E2E_00627] 📄 PDF

[SWS_E2E_00627] P76 Error Status: DRAFT Upstream requirements: RS_E2E_08548 ⌈If CheckReturn != E2E_E_OK, then the function E2E_P76MapStatusToSM() shall re- turn E2E_P_ERROR (regardless of value of Status).⌋ Protection Library

requirement SWS_E2E_10001 [SWS_E2E_10001] 📄 PDF

In case State is NULL, E2E_P44ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

requirement SWS_E2E_10002 [SWS_E2E_10002] 📄 PDF

In case State is NULL, E2E_P44CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xFF'FF. 2. Status to E2E_P44STATUS_ERROR.

requirement SWS_E2E_10003 [SWS_E2E_10003] 📄 PDF

If CheckReturn = E2E_E_OK, then the function E2E_P44Map StatusToSMshall return the values depending on the value of Status: See Table 8.15 If CheckReturn != E2E_E_OK, then the function E2E_P44MapStatusToSM() shall re- turn E2E_P_ERROR (regardless of value of Status).

requirement SWS_E2E_10004 [SWS_E2E_10004] 📄 PDF

In case State is NULL, E2E_P08ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

requirement SWS_E2E_10005 [SWS_E2E_10005] 📄 PDF

In case State is NULL, E2E_P08CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xFF'FF'FF'FF 2. Status to E2E_P08STATUS_ERROR.

requirement SWS_E2E_10006 [SWS_E2E_10006] 📄 PDF

If CheckReturn = E2E_E_OK, then the function E2E_P08Map StatusToSM shall return the values depending on the value of Status: See Table 8.11

requirement SWS_E2E_10007 [SWS_E2E_10007] 📄 PDF

If CheckReturn != E2E_E_OK, then the function E2E_P08Map StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

requirement SWS_E2E_91053 [SWS_E2E_91053] 📄 PDF

In case State is NULL, E2E_P08mProtectInit shall return imme- diately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

requirement SWS_E2E_91059 [SWS_E2E_91059] 📄 PDF

If CheckReturn = E2E_E_OK, then the function E2E_P08mMap StatusToSMshall return the values depending on the value of Status: See Table 8.12

requirement SWS_E2E_91060 [SWS_E2E_91060] 📄 PDF

If CheckReturn != E2E_E_OK, then the function E2E_P08mMap StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

requirement SWS_E2E_91063 [SWS_E2E_91063] 📄 PDF

In case State is NULL, E2E_P44mProtectInit shall return imme- diately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

requirement SWS_E2E_91068 [SWS_E2E_91068] 📄 PDF

In case State is NULL, E2E_P44mCheckInit shall return imme- diately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0x FF'FF'FF'FF. 2. Status to E2E_P44MSTATUS_ERROR.

requirement SWS_E2E_91070 [SWS_E2E_91070] 📄 PDF

If CheckReturn = E2E_E_OK, then the function E2E_P44mMap StatusToSMshall return the values depending on the value of Status: See Table 8.16

requirement SWS_E2E_91071 [SWS_E2E_91071] 📄 PDF

If CheckReturn != E2E_E_OK, then the function E2E_P44mMap StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

requirement SWS_E2E_91072 [SWS_E2E_91072] 📄 PDF

In case State is NULL, E2E_P08mCheckInit shall return imme- diately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0x FF'FF'FF'FF. 2. Status to E2E_P08MSTATUS_ERROR.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/CP_MOD_E2E
Status
unspecified
Version
AUTOSAR/AP/record/CP_MOD_E2E@rel:R20-11#aecc07f0
Content hash
aecc07f0
Source
https://www.autosar.org/fileadmin/standards/R20-11/CP/AUTOSAR_SWS_E2ELibrary.pdf#nameddest=SWS_E2E_00032

Carte des thèmes

Initialisation et état

1

Vue détaillée

Sélectionnez une entrée dans le plan.

Initialisation et état

Returns the version information of this module.

void E2E_GetVersionInfo(Std_VersionInfoType* VersionInfo);

Services · P04m…

Initializes the check state

Std_ReturnType E2E_P04mCheckInit(E2E_P04mCheckStateType* StatePtr);

Protects data which is forwarded by using the E2E profile 4m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

Std_ReturnType E2E_P04mForward(const E2E_P04mConfigType* ConfigPtr, uint16 Length, E2E_PCheckStatusType Checkstatus, E2E_P04mProtectStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType MessageResult, uint8* DataPtr);

Retrieves header element data for further processing when using the E2E profile 04m. This includes SequenceCounter and SourceID.

Std_ReturnType E2E_P04mGetHeaderInfo(const E2E_P04mConfigType* ConfigPtr, const uint8* DataPtr, uint16 Length, E2E_P04mHeaderInformationType* HeaderInfoPtr);

The function maps the check status of Profile 4m to a generic check status, which can be used by E2E state machine check function. The E2E Profile 4m delivers a more fine-granular status, but this is not relevant for the E2E state machine.

E2E_PCheckStatusType E2E_P04mMapStatusToSM(Std_ReturnType CheckReturn, E2E_P04mCheckStatusType Status);

Protects the array/buffer to be transmitted using the E2E profile 4m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID.

Std_ReturnType E2E_P04mProtect(const E2E_P04mConfigType* ConfigPtr, E2E_P04mProtectStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType MessageResult, uint8* DataPtr, uint16 Length);

Initializes the protection state.

Std_ReturnType E2E_P04mProtectInit(E2E_P04mProtectStateType* StatePtr);

Checks the Data received using the E2E profile 4m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link. This function is intended for usage at the data sink (i.e., in case of C/S communication at the server).

Std_ReturnType E2E_P04mSinkCheck(const E2E_P04mConfigType* ConfigPtr, E2E_P04mCheckStateType StatePtr, uint32* SourceID, Std_MessageTypeType MessageType, Std_MessageResultType MessageResult, const uint8* DataPtr, uint16 Length);

Checks the Data received using the E2E profile 4m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link. This function is intended for usage at the data source (i.e., in case of C/S communication at the client).

Std_ReturnType E2E_P04mSourceCheck(const E2E_P04mConfigType* ConfigPtr, E2E_P04mCheckStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType MessageResult, const uint8* DataPtr, uint16 Length);

Services · P07m…

Initializes the check state

Std_ReturnType E2E_P07mCheckInit(E2E_P07mCheckStateType* StatePtr);

Protects data which is forwarded by using the E2E profile 7m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

Std_ReturnType E2E_P07mForward(const E2E_P07mConfigType* ConfigPtr, uint32 Length, E2E_PCheckStatusType Checkstatus, E2E_P07mProtectStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType MessageResult, uint8* DataPtr);

Retrieves header element data for further processing when using the E2E profile 07m. This includes SequenceCounter and SourceID.

Std_ReturnType E2E_P07mGetHeaderInfo(const E2E_P07mConfigType* ConfigPtr, const uint8* DataPtr, uint32 Length, E2E_P07mHeaderInformationType* HeaderInfoPtr);

The function maps the check status of Profile 7m to a generic check status, which can be used by E2E state machine check function. The E2E Profile 7m delivers a more fine-granular status, but this is not relevant for the E2E state machine.

E2E_PCheckStatusType E2E_P07mMapStatusToSM(Std_ReturnType CheckReturn, E2E_P07mCheckStatusType Status);

Protects the array/buffer to be transmitted using the E2E profile 7m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID.

Std_ReturnType E2E_P07mProtect(const E2E_P07mConfigType* ConfigPtr, E2E_P07mProtectStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType MessageResult, uint8* DataPtr, uint32 Length);

Initializes the protection state.

Std_ReturnType E2E_P07mProtectInit(E2E_P07mProtectStateType* StatePtr);

Checks the Data received using the E2E profile 7m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link. This function is intended for usage at the data sink (i.e., in case of C/S communication at the server).

Std_ReturnType E2E_P07mSinkCheck(const E2E_P07mConfigType* ConfigPtr, E2E_P07mCheckStateType* StatePtr, uint32* SourceID, Std_MessageTypeType MessageType, Std_MessageResultType MessageResult, const uint8* DataPtr, uint32 Length);

Checks the Data received using the E2E profile 7m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link. This function is intended for usage at the data source (i.e., in case of C/S communication at the client).

Std_ReturnType E2E_P07mSourceCheck(const E2E_P07mConfigType* ConfigPtr, E2E_P07mCheckStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType MessageResult, const uint8* DataPtr, uint32 Length);

Services · P08m…

Initializes the check state

Std_ReturnType E2E_P08mCheckInit(E2E_P08mCheckStateType* StatePtr);

Protects data which is forwarded by using the E2E profile 08m. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

Std_ReturnType E2E_P08mForward(const E2E_P08mConfigType* ConfigPtr, uint32 Length, E2E_PCheckStatusType Checkstatus, E2E_P08mProtectStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType Messageresult, uint8* DataPtr);

Retrieves header element data for further processing when using the E2E profile 08m. This includes SequenceCounter and SourceID.

Std_ReturnType E2E_P08mGetHeaderInfo(const E2E_P08mConfigType* ConfigPtr, const uint8* DataPtr, uint32 Length, E2E_P08mHeaderInformationType* HeaderInfoPtr);

The function maps the check status of Profile 08m to a generic check status, which can be used by E2E state machine check function. The E2E Profile 08m delivers a more fine-granular status, but this is not relevant for the E2E state machine.

E2E_PCheckStatusType E2E_P08mMapStatusToSM(Std_ReturnType CheckReturn, E2E_P08mCheckStatusType Status);

Protects the array/buffer to be transmitted using the E2E profile 08m. This includes CRC calculation, handling of counter, Data ID, Message Type, Message Result and Source ID.

Std_ReturnType E2E_P08mProtect(const E2E_P08mConfigType* ConfigPtr, E2E_P08mProtectStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType Messageresult, uint8* DataPtr, uint32 Length);

Initializes the protection state.

Std_ReturnType E2E_P08mProtectInit(E2E_P08mProtectStateType* StatePtr);

Checks the Data received using the E2E profile 8m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link. This function is intended for usage at the data sink (i.e., in case of C/S communication at the server).

Std_ReturnType E2E_P08mSinkCheck(const E2E_P08mConfigType* ConfigPtr, E2E_P08mCheckStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType Messageresult, const uint8* DataPtr, uint32 Length);

Checks the Data received using the E2E profile 8m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link. This function is intended for usage at the data source (i.e., in case of C/S communication at the client).

Std_ReturnType E2E_P08mSourceCheck(const E2E_P08mConfigType* ConfigPtr, E2E_P08mCheckStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType Messageresult, const uint8* DataPtr, uint32 Length);

Services · P44m…

Initializes the check state

Std_ReturnType E2E_P44mCheckInit(E2E_P44mCheckStateType* StatePtr);

Protects data which is forwarded by using the E2E profile 44m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

Std_ReturnType E2E_P44mForward(const E2E_P44mConfigType* ConfigPtr, uint32 Length, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType Messageresult, E2E_P44mProtectStateType* StatePtr, uint8* DataPtr);

Retrieves header element data for further processing when using the E2E profile 44m. This includes SequenceCounter and SourceID.

Std_ReturnType E2E_P44mGetHeaderInfo(const E2E_P44mConfigType* ConfigPtr, const uint8* DataPtr, uint16 Length, E2E_P44mHeaderInformationType* HeaderInfoPtr);

The function maps the check status of Profile 44m to a generic check status, which can be used by E2E state machine check function. The E2E Profile 44m delivers a more fine-granular status, but this is not relevant for the E2E state machine.

E2E_PCheckStatusType E2E_P44mMapStatusToSM(Std_ReturnType CheckReturn, E2E_P44mCheckStatusType Status);

Protects the array/buffer to be transmitted using the E2E profile 44m. This includes CRC calculation, handling of counter, Data ID, Message Type, Message Result and Source ID.

Std_ReturnType E2E_P44mProtect(const E2E_P44mConfigType* ConfigPtr, E2E_P44mProtectStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType Messageresult, uint8* DataPtr, uint32 Length);

Initializes the protection state.

Std_ReturnType E2E_P44mProtectInit(E2E_P44mProtectStateType* StatePtr);

Checks the Data received using the E2E profile 44m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link. This function is intended for usage at the data sink (i.e., in case of C/S communication at the server).

Std_ReturnType E2E_P44mSinkCheck(const E2E_P44mConfigType* ConfigPtr, E2E_P44mCheckStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType Messageresult, const uint8* DataPtr, uint32 Length);

Checks the Data received using the E2E profile 44m. This includes CRC calculation, handling of Counter, Data ID, Message Type, Message Result, and Source ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link. This function is intended for usage at the data source (i.e., in case of C/S communication at the client).

Std_ReturnType E2E_P44mSourceCheck(const E2E_P44mConfigType* ConfigPtr, E2E_P44mCheckStateType* StatePtr, uint32 SourceID, Std_MessageTypeType MessageType, Std_MessageResultType Messageresult, const uint8* DataPtr, uint32 Length);

Services · P04…

E2E_P04Check fonction

Checks the Data received using the E2E profile 4. This includes CRC calculation, handling of Counter and Data ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link.

Std_ReturnType E2E_P04Check(const E2E_P04ConfigType* ConfigPtr, E2E_P04CheckStateType* StatePtr, const uint8* DataPtr, uint16 Length);

Initializes the check state

Std_ReturnType E2E_P04CheckInit(E2E_P04CheckStateType* StatePtr);

Protects data which is forwarded by using the E2E profile 04. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

Std_ReturnType E2E_P04Forward(const E2E_P04ConfigType* ConfigPtr, uint16 Length, E2E_PCheckStatusType Checkstatus, E2E_P04ProtectStateType StatePtr, uint8* DataPtr);

Retrieves header element data for further processing when using the E2E profile 04. This includes the SequenceCounter.

Std_ReturnType E2E_P04GetHeaderInfo(const E2E_P04ConfigType* ConfigPtr, const uint8* DataPtr, uint16 Length, E2E_P04HeaderInformationType* HeaderInfoPtr);

The function maps the check status of Profile 4 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 4 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

E2E_PCheckStatusType E2E_P04MapStatusToSM(Std_ReturnType CheckReturn, E2E_P04CheckStatusType Status);

Protects the array/buffer to be transmitted using the E2E profile 4. This includes checksum calculation, handling of counter and Data ID.

Std_ReturnType E2E_P04Protect(const E2E_P04ConfigType* ConfigPtr, E2E_P04ProtectStateType* StatePtr, uint8* DataPtr, uint16 Length);

Initializes the protection state.

Std_ReturnType E2E_P04ProtectInit(E2E_P04ProtectStateType* StatePtr);

Services · P05…

E2E_P05Check fonction

Checks the Data received using the E2E profile 5. This includes CRC calculation, handling of Counter. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link.

Std_ReturnType E2E_P05Check(const E2E_P05ConfigType* ConfigPtr, E2E_P05CheckStateType* StatePtr, const uint8* DataPtr, uint16 Length);

Initializes the check state

Std_ReturnType E2E_P05CheckInit(E2E_P05CheckStateType* StatePtr);

Protects data which is forwarded by using the E2E profile 05. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

Std_ReturnType E2E_P05Forward(const E2E_P05ConfigType* ConfigPtr, uint16 Length, E2E_PCheckStatusType Checkstatus, E2E_P05ProtectStateType* StatePtr, uint8* DataPtr);

Retrieves header element data for further processing when using the E2E profile 05. This includes the SequenceCounter.

Std_ReturnType E2E_P05GetHeaderInfo(const E2E_P05ConfigType* ConfigPtr, const uint8* DataPtr, uint8 Length, E2E_P05HeaderInformationType* HeaderInfoPtr);

The function maps the check status of Profile 5 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 5 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

E2E_PCheckStatusType E2E_P05MapStatusToSM(Std_ReturnType CheckReturn, E2E_P05CheckStatusType Status);

Protects the array/buffer to be transmitted using the E2E profile 5. This includes checksum calculation, handling of counter.

Std_ReturnType E2E_P05Protect(const E2E_P05ConfigType* ConfigPtr, E2E_P05ProtectStateType* StatePtr, uint8* DataPtr, uint16 Length);

Initializes the protection state.

Std_ReturnType E2E_P05ProtectInit(E2E_P05ProtectStateType* StatePtr);

Services · P06…

E2E_P06Check fonction

Checks the Data received using the E2E profile 6. This includes CRC calculation, handling of Counter. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link.

Std_ReturnType E2E_P06Check(const E2E_P06ConfigType* ConfigPtr, E2E_P06CheckStateType* StatePtr, const uint8* DataPtr, uint16 Length);

Initializes the check state

Std_ReturnType E2E_P06CheckInit(E2E_P06CheckStateType* StatePtr);

Protects data which is forwarded by using the E2E profile 06. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

Std_ReturnType E2E_P06Forward(const E2E_P06ConfigType* ConfigPtr, uint16 Length, E2E_PCheckStatusType Checkstatus, E2E_P06ProtectStateType* StatePtr, uint8* DataPtr);

Retrieves header element data for further processing when using the E2E profile 06. This includes the SequenceCounter.

Std_ReturnType E2E_P06GetHeaderInfo(const E2E_P06ConfigType* ConfigPtr, const uint8* DataPtr, uint8 Length, E2E_P06HeaderInformationType* HeaderInfoPtr);

The function maps the check status of Profile 6 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 6 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

E2E_PCheckStatusType E2E_P06MapStatusToSM(Std_ReturnType CheckReturn, E2E_P06CheckStatusType Status);

Protects the array/buffer to be transmitted using the E2E profile 6. This includes checksum calculation, handling of counter.

Std_ReturnType E2E_P06Protect(const E2E_P06ConfigType* ConfigPtr, E2E_P06ProtectStateType* StatePtr, uint8* DataPtr, uint16 Length);

Initializes the protection state.

Std_ReturnType E2E_P06ProtectInit(E2E_P06ProtectStateType* StatePtr);

Services · P07…

E2E_P07Check fonction

Checks the Data received using the E2E profile 7. This includes CRC calculation, handling of Counter and Data ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link.

Std_ReturnType E2E_P07Check(const E2E_P07ConfigType* ConfigPtr, E2E_P07CheckStateType* StatePtr, const uint8* DataPtr, uint32 Length);

Initializes the check state

Std_ReturnType E2E_P07CheckInit(E2E_P07CheckStateType* StatePtr);

Protects data which is forwarded by using the E2E profile 07. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

Std_ReturnType E2E_P07Forward(E2E_P07ConfigType* ConfigPtr, uint32 Length, E2E_PCheckStatusType Checkstatus, E2E_P07ProtectStateType* StatePtr, uint8* DataPtr);

Retrieves header element data for further processing when using the E2E profile 07. This includes the SequenceCounter

Std_ReturnType E2E_P07GetHeaderInfo(const E2E_P07ConfigType* ConfigPtr, const uint8* DataPtr, uint32 Length, E2E_P07HeaderInformationType* HeaderInfoPtr);

The function maps the check status of Profile 7 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 7 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

E2E_PCheckStatusType E2E_P07MapStatusToSM(E2E_PCheckStatusType return, E2E_P07CheckStatusType Status);

Protects the array/buffer to be transmitted using the E2E profile 7. This includes checksum calculation, handling of counter and Data ID.

Std_ReturnType E2E_P07Protect(const E2E_P07ConfigType* ConfigPtr, E2E_P07ProtectStateType* StatePtr, uint8* DataPtr, uint32 Length);

Initializes the protection state.

Std_ReturnType E2E_P07ProtectInit(E2E_P07ProtectStateType* StatePtr);

Services · P08…

E2E_P08Check fonction

Checks the Data received using the E2E profile 08. This includes CRC calculation, handling of Counter and Data ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link.

Std_ReturnType E2E_P08Check(const E2E_P08ConfigType* ConfigPtr, E2E_P08CheckStateType* StatePtr, const uint8* DataPtr, uint32 Length);

Initializes the check state

Std_ReturnType E2E_P08CheckInit(E2E_P08CheckStateType* StatePtr);

Protects data which is forwarded by using the E2E profile 08. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

Std_ReturnType E2E_P08Forward(const E2E_P08ConfigType* ConfigPtr, uint32 Length, E2E_PCheckStatusType Checkstatus, E2E_P08ProtectStateType StatePtr, uint8* DataPtr);

Retrieves header element data for further processing when using the E2E profile 08. This includes the SequenceCounter

Std_ReturnType E2E_P08GetHeaderInfo(const E2E_P08ConfigType* ConfigPtr, const uint8* DataPtr, uint32 Length, E2E_P08HeaderInformationType* HeaderInfoPtr);

The function maps the check status of Profile 08 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 08 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

E2E_PCheckStatusType E2E_P08MapStatusToSM(Std_ReturnType CheckReturn, E2E_P08CheckStatusType Status);

Protects the array/buffer to be transmitted using the E2E profile 08. This includes checksum calculation, handling of counter and Data ID.

Std_ReturnType E2E_P08Protect(const E2E_P08ConfigType* ConfigPtr, E2E_P08ProtectStateType* StatePtr, uint8* DataPtr, uint32 Length);

Initializes the protection state.

Std_ReturnType E2E_P08ProtectInit(E2E_P08ProtectStateType* StatePtr);

Services · P44…

E2E_P44Check fonction

Checks the Data received using the E2E profile 44. This includes CRC calculation, handling of Counter and Data ID. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link.

Std_ReturnType E2E_P44Check(const E2E_P44ConfigType* ConfigPtr, E2E_P44CheckStateType* StatePtr, const uint8* DataPtr, uint16 Length);

Initializes the check state.

Std_ReturnType E2E_P44CheckInit(E2E_P44CheckStateType* StatePtr);

Protects data which is forwarded by using the E2E profile 44. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

Std_ReturnType E2E_P44Forward(const E2E_P44ConfigType* ConfigPtr, uint16 Length, E2E_P44CheckStatusType Checkstatus, E2E_P44ProtectStateType StatePtr, uint8* DataPtr);

Retrieves header element data for further processing when using the E2E profile 44. This includes the SequenceCounter

Std_ReturnType E2E_P44GetHeaderInfo(const E2E_P44ConfigType* ConfigPtr, const uint8* DataPtr, uint16 Length, E2E_P44HeaderInformationType* HeaderInfoPtr);

The function maps the check status of Profile 44 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 44 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

E2E_PCheckStatusType E2E_P44MapStatusToSM(Std_ReturnType CheckReturn, E2E_P44CheckStatusType Status);

Protects the array/buffer to be transmitted using the E2E profile 44. This includes checksum calculation, handling of counter and Data ID.

Std_ReturnType E2E_P44Protect(const E2E_P44ConfigType* ConfigPtr, E2E_P44ProtectStateType* StatePtr, uint8* DataPtr, uint16 Length);

Initializes the protection state.

Std_ReturnType E2E_P44ProtectInit(E2E_P44ProtectStateType* StatePtr);

Services · P01…

E2E_P01Check fonction

Checks the Data received using the E2E profile 1. This includes CRC calculation, handling of Counter and Data ID.

Std_ReturnType E2E_P01Check(const E2E_P01ConfigType* Config, E2E_P01CheckStateType* State, const uint8* Data);

Initializes the check state

Std_ReturnType E2E_P01CheckInit(E2E_P01CheckStateType* StatePtr);

Protects data which is forwarded by using the E2E profile 01. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

Std_ReturnType E2E_P01Forward(const E2E_P01ConfigType* ConfigPtr, E2E_PCheckStatusType Checkstatus, E2E_P01ProtectStateType* StatePtr, uint8* DataPtr);

The function maps the check status of Profile 1 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 1 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

E2E_PCheckStatusType E2E_P01MapStatusToSM(Std_ReturnType CheckReturn, E2E_P01CheckStatusType Status, boolean profileBehavior);

Protects the array/buffer to be transmitted using the E2E profile 1. This includes checksum calculation, handling of counter and Data ID.

Std_ReturnType E2E_P01Protect(const E2E_P01ConfigType* ConfigPtr, E2E_P01ProtectStateType* StatePtr, uint8* DataPtr);

Initializes the protection state.

Std_ReturnType E2E_P01ProtectInit(E2E_P01ProtectStateType* StatePtr);

Services · P02…

E2E_P02Check fonction

Check the array/buffer using the E2E profile 2. This includes checksum calculation, handling of sequence counter and Data ID.

Std_ReturnType E2E_P02Check(const E2E_P02ConfigType* ConfigPtr, E2E_P02CheckStateType* StatePtr, const uint8* DataPtr);

Initializes the check state

Std_ReturnType E2E_P02CheckInit(E2E_P02CheckStateType* StatePtr);

Protects data which is forwarded by using the E2E profile 02. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

Std_ReturnType E2E_P02Forward(const E2E_P02ConfigType* ConfigPtr, E2E_PCheckStatusType Checkstatus, E2E_P02ProtectStateType* StatePtr, uint8* DataPtr);

The function maps the check status of Profile 2 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 2 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

E2E_PCheckStatusType E2E_P02MapStatusToSM(Std_ReturnType CheckReturn, E2E_P02CheckStatusType Status, boolean profileBehavior);

Protects the array/buffer to be transmitted using the E2E profile 2. This includes checksum calculation, handling of sequence counter and Data ID.

Std_ReturnType E2E_P02Protect(const E2E_P02ConfigType* ConfigPtr, E2E_P02ProtectStateType* StatePtr, uint8* DataPtr);

Initializes the protection state.

Std_ReturnType E2E_P02ProtectInit(E2E_P02ProtectStateType* StatePtr);

Services · P11…

E2E_P11Check fonction

Checks the Data received using the E2E profile 11. This includes CRC calculation, handling of Counter. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link.

Std_ReturnType E2E_P11Check(const E2E_P11ConfigType* ConfigPtr, E2E_P11CheckStateType* StatePtr, const uint8* DataPtr);

Initializes the check state

Std_ReturnType E2E_P11CheckInit(E2E_P11CheckStateType* StatePtr);

Protects data which is forwarded by using the E2E profile 11. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

Std_ReturnType E2E_P11Forward(const E2E_P11ConfigType* ConfigPtr, uint16 Length, E2E_PCheckStatusType Checkstatus, E2E_P11ProtectStateType* StatePtr, uint8* DataPtr);

The function maps the check status of Profile 11 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 11 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

E2E_PCheckStatusType E2E_P11MapStatusToSM(Std_ReturnType CheckReturn, E2E_P11CheckStatusType Status);

Protects the array/buffer to be transmitted using the E2E profile 11. This includes checksum calculation, handling of counter.

Std_ReturnType E2E_P11Protect(const E2E_P11ConfigType* ConfigPtr, E2E_P11ProtectStateType* StatePtr, uint8* DataPtr, uint16 Length);

Initializes the protection state.

Std_ReturnType E2E_P11ProtectInit(E2E_P11ProtectStateType* StatePtr);

Services · P22…

E2E_P22Check fonction

Checks the Data received using the E2E profile 22. This includes CRC calculation, handling of Counter. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link.

Std_ReturnType E2E_P22Check(const E2E_P22ConfigType* ConfigPtr, E2E_P22CheckStateType* StatePtr, const uint8* DataPtr, uint16 Length);

Initializes the check state

Std_ReturnType E2E_P22CheckInit(E2E_P22CheckStateType* StatePtr);

Protects data which is forwarded by using the E2E profile 22. This includes checksum calculation, handling of counter and Data ID. Detected Errors of received message will be reconstruct on output data. Tags: atp.Status=draft

Std_ReturnType E2E_P22Forward(E2E_P22ConfigType* ConfigPtr, E2E_PCheckStatusType Checkstatus, E2E_P22ProtectStateType* StatePtr, uint8 DataPtr);

The function maps the check status of Profile 22 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 22 delivers a more fine-granular status, but this is not relevant for the E2E state machine.

E2E_PCheckStatusType E2E_P22MapStatusToSM(Std_ReturnType CheckReturn, E2E_P22CheckStatusType Status);

Protects the array/buffer to be transmitted using the E2E profile 22. This includes checksum calculation, handling of counter.

Std_ReturnType E2E_P22Protect(const E2E_P22ConfigType* ConfigPtr, E2E_P22ProtectStateType* StatePtr, uint8* DataPtr, uint16 Length);

Initializes the protection state.

Std_ReturnType E2E_P22ProtectInit(E2E_P22ProtectStateType* StatePtr);

Services · P76…

E2E_P76Check fonction

Checks the Data received using the E2E profile 76. This includes CRC calculation, handling of Counter. The function checks only one single data in one cycle, it does not determine/compute the accumulated state of the communication link. Tags: atp.Status=draft

Std_ReturnType E2E_P76Check(const E2E_P76ConfigType* ConfigPtr, E2E_P76CheckStateType* StatePtr, const uint8* DataPtr, uint32 Length);

Initializes the check state Tags: atp.Status=draft

Std_ReturnType E2E_P76CheckInit(E2E_P76CheckStateType* StatePtr);

The function maps the check status of Profile 76 to a generic check status, which can be used by E2E state machine check function. The E2E Profile 76 delivers a more fine-granular status, but this is not relevant for the E2E state machine. Tags: atp.Status=draft

E2E_PCheckStatusType E2E_P76MapStatusToSM(Std_ReturnType CheckReturn, E2E_P76CheckStatusType Status);

Initializes the protection state. Tags: atp.Status=draft

Std_ReturnType E2E_P76ProtectInit(E2E_P76ProtectStateType* StatePtr);

Services · Autres

E2E_SMCheck fonction

Checks the communication channel. It determines if the data can be used for safety-related application, based on history of checks performed by a corresponding E2E_P0XCheck() function.

Std_ReturnType E2E_SMCheck(E2E_PCheckStatusType ProfileStatus, const E2E_SMConfigType* ConfigPtr, E2E_SMCheckStateType* StatePtr);

Initializes the state machine.

Std_ReturnType E2E_SMCheckInit(E2E_SMCheckStateType* StatePtr, const E2E_SMConfigType* ConfigPtr);

The function reinitializes the corresponding data structure after a detected error or at startup.

uint8 E2EPW_ReadInit1_<p>_<o>(Rte_Instance <instance>);

The function reinitializes the corresponding data structure after a detected error or at startup.

uint8 E2EPW_ReadInit2_<p>_<o>(Rte_Instance <instance>);

The function reinitializes the corresponding data structure after a detected error or at startup.

uint8 E2EPW_WriteInit1_<p>_<o>(Rte_Instance <instance>);

The function reinitializes the corresponding data structure after a detected error or at startup.

uint8 E2EPW_WriteInit2_<p>_<o>(Rte_Instance <instance>);

Types

State of the receiver for a Data protected with E2E Profile 1.

Result of the verification of the Data in E2E Profile 1, determined by the Check function.

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 1. For each transmitted Data, there is an instance of this typedef.

The Data ID is two bytes long in E2E Profile 1. There are four inclusion modes how the implicit two-byte Data ID is included in the one-byte CRC.

State of the sender for a Data protected with E2E Profile 1.

State of the sender for a Data protected with E2E Profile 2.

Result of the verification of the Data in E2E Profile 2, determined by the Check function.

Non-modifiable configuration of the data element sent over an RTE port, for E2E profile 2. The position of the counter and CRC is not configurable in profile 2.

State of the sender for a Data protected with E2E Profile 2.

State of the reception on one single Data protected with E2E Profile 4.

Status of the reception on one single Data in one cycle, protected with E2E Profile 4.

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 4. For each transmitted Data, there is an instance of this typedef.

Data that can be retrieved from E2E header on receiver side in case E2E Profile 04 is used.

State of the reception on one single Data protected with E2E Profile 4m.

Status of the reception on one single Data in one cycle, protected with E2E Profile 4m.

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 4m. For each transmitted Data, there is an instance of this typedef.

State of the sender for a Data protected with E2E Profile 4m.

State of the sender for a Data protected with E2E Profile 4.

Description: State of the reception on one single Data protected with E2E Profile 5.

Status of the reception on one single Data in one cycle, protected with E2E Profile 5.

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 5. For each transmitted Data, there is an instance of this typedef.

Data that can be retrieved from E2E header on receiver side in case E2E Profile 05 is used.

State of the sender for a Data protected with E2E Profile 5.

State of the reception on one single Data protected with E2E Profile 6.

Status of the reception on one single Data in one cycle, protected with E2E Profile 6.

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 6. For each transmitted Data, there is an instance of this typedef.

Data that can be retrieved from E2E header on receiver side in case E2E Profile 06 is used.

State of the sender for a Data protected with E2E Profile 6.

State of the reception on one single Data protected with E2E Profile 7.

Status of the reception on one single Data in one cycle, protected with E2E Profile 7.

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 7. For each transmitted Data, there is an instance of this typedef.

State of the reception on one single Data protected with E2E Profile 7m.

Status of the reception on one single Data in one cycle, protected with E2E Profile 7m.

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 7m. For each transmitted Data, there is an instance of this typedef.

State of the sender for a Data protected with E2E Profile 7m.

State of the sender for a Data protected with E2E Profile 7.

State of the reception on one single Data protected with E2E Profile 08

Status of the reception on one single Data in one cycle, protected with E2E Profile 08.

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 08. For each transmitted Data, there is an instance of this typedef.

Data that can be retrieved from E2E header on receiver side in case E2E Profile 08 is used.

State of the reception on one single Data protected with E2E Profile 08m.

Status of the reception on one single Data in one cycle, protected with E2E Profile 08m.

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 08m. For each transmitted Data, there is an instance of this typedef.

State of the sender for a Data protected with E2E Profile 08m.

State of the sender for a Data protected with E2E Profile 08.

Description: State of the reception on one single Data protected with E2E Profile 11.

Status of the reception on one single Data in one cycle, protected with E2E Profile 11.

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 11. For each transmitted Data, there is an instance of this typedef.

State of the sender for a Data protected with E2E Profile 11.

State of the sender for a Data protected with E2E Profile 22.

Result of the verification of the Data in E2E Profile 22, determined by the Check function.

Non-modifiable configuration of the data element sent over an RTE port, for E2E profile 22. The position of the counter and CRC is not configurable in profile 22.

Non-modifiable configuration of the data element sent over an RTE port, for E2E profile 22. The position of the counter and CRC is not configurable in profile 22.

State of the sender for a Data protected with E2E Profile 22.

State of the reception on one single Data protected with E2E Profile 44.

Status of the reception on one single Data in one cycle, protected with E2E Profile 44.

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 44. For each transmitted Data, there is an instance of this typedef.

Data that can be retrieved from E2E header on receiver side in case E2E Profile 44 is used.

State of the reception on one single Data protected with E2E Profile 44m.

Status of the reception on one single Data in one cycle, protected with E2E Profile 44m.

Configuration of transmitted Data (Data Element or I-PDU), for E2E Profile 44m. For each transmitted Data, there is an instance of this typedef.

State of the sender for a Data protected with E2E Profile 44m.

State of the sender for a Data protected with E2E Profile 44.

Profile-independent status of the reception on one single Data in one cycle.

State of the protection of a communication channel.

Configuration of a communication channel for exchanging Data.

Status of the communication channel exchanging the data. If the status is OK, then the data may be used.

Exigences

RS_E2E_08527 requirement

[RS_E2E_08527] Implementation of E2E protocol shall fulfill ISO 26262 Satisfied by: PRS_E2E_00219, PRS_E2E_00372, PRS_E2E_00394, PRS_E2E_00479, PRS_E2E_00480, PRS_E2E_00503, PRS_E2E_00522, PRS_E2E_00870, PRS_E2E_00875, PRS_E2E_00877, PRS_E2E_00882, PRS_E2E_00888, PRS_E2E_00894, PRS_E2E_00904, PRS_E2E_01318, PRS_E2E_01456

RS_E2E_08528 requirement

[RS_E2E_08528] E2E protocol shall provide different E2E profiles Satisfied by: PRS_E2E_00012, PRS_E2E_00075, PRS_E2E_00076, PRS_E2E_00085, PRS_E2E_00117, PRS_E2E_00118, PRS_E2E_00119, PRS_E2E_00120, PRS_E2E_00121, PRS_E2E_00122, PRS_E2E_00123, PRS_E2E_00124, PRS_E2E_00125, PRS_E2E_00126, PRS_E2E_00127, PRS_E2E_00128, PRS_E2E_00129, PRS_E2E_00130, PRS_E2E_00132, PRS_E2E_00133, PRS_E2E_00134, PRS_E2E_00135, PRS_E2E_00136, PRS_E2E_00137, PRS_E2E_00138, PRS_E2E_00139, PRS_E2E_00140, PRS_E2E_00141, PRS_E2E_00142, PRS_E2E_00143

RS_E2E_08538 requirement

[RS_E2E_08538] RS_E2E_08538

RS_E2E_08539 requirement

[RS_E2E_08539] RS_E2E_08539

RS_E2E_08543 requirement

[RS_E2E_08543] Table 5.1: Requirements Tracing

RS_E2E_08544 requirement

[RS_E2E_08544] RS_E2E_08544

RS_E2E_08545 requirement

[RS_E2E_08545] RS_E2E_08545

RS_E2E_08546 requirement

[RS_E2E_08546] RS_E2E_08546

RS_E2E_08547 requirement

[RS_E2E_08547] RS_E2E_08547

SWS_E2E_00011 requirement

The E2E Library shall report errors detected by library-internal mechanisms to callers of E2E functions through return value.

SWS_E2E_00017 requirement

Module Header File Imported Type Std_Types.h Std_MessageResultType Std_Types.h Std_MessageTypeType Std_Types.h Std_ReturnType Std Std_Types.h Std_VersionInfoType

SWS_E2E_00033 requirement

The function E2E_GetVersionInfo shall return the version infor- mation of this module. The version information includes: • vendor ID • module ID • sw_major_version • sw_minor_version • sw_patch_version

SWS_E2E_00037 requirement

The E2E library shall not have any configuration options.

SWS_E2E_00038 requirement

The standardized common published parameters as required by SRS_BSW_00402 in [6, General Requirements on Basic Software Modules] shall be published within the header file of this module and need to be provided in the BSW Module Description. The according module abbreviation can be found in [7, List of Basic Software Modules].

SWS_E2E_00047 requirement

Type of error Related error code Error value At least one pointer parameter is a NULL pointer E2E_E_INPUTERR_NULL 0x13 At least one input parameter is erroneous, e.g. out of range E2E_E_INPUTERR_WRONG 0x17 An internal library error has occurred (e.g. error detected by program flow monitoring, violated invariant or postcondition) E2E_E_INTERR 0x19 Function executed in wrong state E2E_E_WRONGSTATE 0x1A

SWS_E2E_00048 requirement

E2E library shall be built of the following files: E2E.h (common header), E2E.c (implementation of common parts),E2E_PXX.c (where XX: e.g. 01, 02, ... representing the profile) and E2E_SM.c (for E2E state machine).

SWS_E2E_00049 requirement

The E2E library shall not contain library-internal mechanisms for error detection to be traced as development errors.

SWS_E2E_00050 requirement

The implementation of the E2E Library shall comply with the re- quirements for the development of safety-related software for the automotive domain.

SWS_E2E_00110 requirement

The E2E library shall not call any functions from external modules apart from explicitly listed expected interfaces of E2E Library.

SWS_E2E_00115 requirement

E2E library files (i.e. E2E_*.*) shall not include any RTE files.

SWS_E2E_00215 requirement

Files E2E_PXX.c and E2E.h shall contain implementation parts specific of each profile.

SWS_E2E_00216 requirement

The E2E Library shall not call BSW modules for error reporting (in particular DEM and DET), nor for any other purpose. The E2E Library shall not call RTE.

SWS_E2E_00311 requirement

The configuration of the E2E Library and of the code invoking it (e.g. E2E wrapper , E2E callouts , E2E transformer) shall be implemented and configured (including configuration options used from other subsystems, e.g. COM signal to I-PDU mapping) according to the requirements for the development of safety- related software for the automotive domain.

SWS_E2E_00314 requirement

The caller of the E2E Wrapper functions should handle the errors/ stati defined in UC_E2E_0302 and UC_E2E_0303 according to the column "How do caller of E2E shall handle it".

SWS_E2E_00322 requirement

The function E2EPW_WriteInit1_<p>_<o> shall initialize the E2E_PXXProtectStateType_<p>_<o> related to redundant channel 1 with the following values: Counter = 0.

SWS_E2E_00323 requirement

The function E2EPW_WriteInit2_<p>_<o> shall initialize the E2E_PXXProtectStateType_<p>_<o> related to redundant channel 2 with the following values: Counter = 0.

SWS_E2E_00324 requirement

The function E2EPW_ReadInit1_<p>_<o> shall initialize the E2E_PXXCheckStateType_<p>_<o> related to redundant channel 1 with the follow- ing values: LastValidCounter = 0 MaxDeltaCounter = 0 WaitForFirstData = TRUE NewDataAvailable = FALSE LostData = 0 Status = E2E_PXXSTATUS_NONEWDATA NoNewOrRepeatedDataCounter = 0 SyncCounter = 0.

SWS_E2E_00325 requirement

The function E2EPW_ReadInit2_<p>_<o> shall initialize the E2E_PXXCheckStateType_<p>_<o> related to redundant channel 2 with the follow- ing values: LastValidCounter = 0 MaxDeltaCounter = 0 WaitForFirstData = TRUE NewDataAvailable = FALSE LostData = 0 Status = E2E_PXXSTATUS_NONEWDATA NoNewOrRepeatedDataCounter = 0 SyncCounter = 0.

SWS_E2E_00351 requirement

If CheckReturn = E2E_E_OK, then the function E2E_P04Map StatusToSMshall return the values depending on the value of Status: See Table 8.5

SWS_E2E_00352 requirement

If CheckReturn != E2E_E_OK, then the function E2E_P04Map StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

SWS_E2E_00370 requirement

In case State is NULL or Config is NULL, the function E2E_SM- CheckInit shall return immediately with E2E_E_INPUTERR_NULL. Else (i.e. both pointers arenot NULL), the function E2E_SMCheckInit shall initialize the State structure, setting: 1. ProfileStatusWindow[] to E2E_P_NOTAVAILABLE on each element of the array 2. WindowTopIndex to 0 3. OKCount to 0 4. ERRORCount to 0 5. SMState to E2E_SM_NODATA and it shall return with E2E_E_OK.

SWS_E2E_00371 requirement

In case State is NULL or Config is NULL, the function E2E_SM- Check shall return immediately with E2E_E_INPUTERR_NULL. Else, the function E2E_SMCheck shall perform the logic according to the specified state machine.

SWS_E2E_00377 requirement

In case State is NULL, E2E_P04ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

SWS_E2E_00378 requirement

In case State is NULL, E2E_P04CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xFF'FF. 2. Status to E2E_P04STATUS_ERROR.

SWS_E2E_00380 requirement

If CheckReturn == E2E_E_OKand ProfileBehavior == 1, then the function E2E_P02MapStatusToSM shall return the values depending on the value of Status: See Table 8.3

SWS_E2E_00381 requirement

If CheckReturn != E2E_E_OK, then the function E2E_P02Map StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

SWS_E2E_00383 requirement

If CheckReturn == E2E_E_OK and ProfileBehavior == TRUE, then the function E2E_P01MapStatusToSM shall return the values depending on the value of Status: See Table 8.1

SWS_E2E_00384 requirement

If CheckReturn != E2E_E_OK, then the function E2E_P01Map StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

SWS_E2E_00386 requirement

In case State is NULL, E2E_P01ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

SWS_E2E_00388 requirement

In case State is NULL, E2E_P02ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

SWS_E2E_00389 requirement

In case State is NULL, E2E_P01CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: • LastValidCounter = 0 • MaxDeltaCounter = 0 • WaitForFirstData = TRUE • NewDataAvailable = TRUE • LostData = 0 • Status = E2E_P01STATUS_NONEWDATA • NoNewOrRepeatedDataCounter = 0 • SyncCounter = 0.

SWS_E2E_00392 requirement

In case State is NULL, E2E_P02CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: • LastValidCounter = 0 • MaxDeltaCounter = 0 • WaitForFirstData = TRUE • NewDataAvailable = TRUE • LostData = 0 • Status = E2E_P02STATUS_NONEWDATA • NoNewOrRepeatedDataCounter = 0 • SyncCounter = 0.

SWS_E2E_00448 requirement

In case State is NULL, E2E_P05ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

SWS_E2E_00451 requirement

In case State is NULL, E2E_P05CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xFF 2. Status to E2E_P05STATUS_ERROR.

SWS_E2E_00453 requirement

If CheckReturn = E2E_E_OK, then the function E2E_P05Map StatusToSM shall return the values depending on the value of Status: See Table 8.7

SWS_E2E_00454 requirement

If CheckReturn != E2E_E_OK, then the function E2E_P05Map StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

SWS_E2E_00456 requirement

In case State is NULL, E2E_P06ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

SWS_E2E_00459 requirement

In case State is NULL, E2E_P06CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xFF 2. Status to E2E_P06STATUS_ERROR.

SWS_E2E_00461 requirement

If CheckReturn = E2E_E_OK, then the function E2E_P06Map StatusToSM shall return the values depending on the value of Status: See Table 8.8

SWS_E2E_00462 requirement

If CheckReturn != E2E_E_OK, then the function E2E_P06Map StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

SWS_E2E_00476 requirement

If CheckReturn == E2E_E_OK and ProfileBehavior == FALSE, then the function E2E_P01MapStatusToSM shall return the values depending on the value of Status: See Table 8.2

SWS_E2E_00477 requirement

If CheckReturn == E2E_E_OK and ProfileBehavior == 0, then the function E2E_P02MapStatusToSM shall return the values depending on the value of Status: See Table 8.4

SWS_E2E_00551 requirement

In case State is NULL, E2E_P07ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

SWS_E2E_00552 requirement

In case State is NULL, E2E_P07CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xFF'FF'FF'FF 2. Status to E2E_P07STATUS_ERROR.

SWS_E2E_00553 requirement

If CheckReturn = E2E_E_OK, then the function E2E_P07Map StatusToSM shall return the values depending on the value of Status: See Table 8.9

SWS_E2E_00554 requirement

If CheckReturn != E2E_E_OK, then the function E2E_P07Map StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

SWS_E2E_00555 requirement

In case State is NULL, E2E_P11ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

SWS_E2E_00556 requirement

In case State is NULL, E2E_P11CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xE 2. Status to E2E_P11STATUS_ERROR.

SWS_E2E_00557 requirement

If CheckReturn = E2E_E_OK, then the function E2E_P11Map StatusToSM shall return the values depending on the value of Status: See Table 8.13

SWS_E2E_00558 requirement

If CheckReturn != E2E_E_OK, then the function E2E_P11Map StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

SWS_E2E_00559 requirement

In case State is NULL, E2E_P22ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

SWS_E2E_00560 requirement

In case State is NULL, E2E_P22CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xF 2. Status to E2E_P22STATUS_ERROR.

SWS_E2E_00561 requirement

If CheckReturn = E2E_E_OK, then the function E2E_P22Map StatusToSM shall return the values depending on the value of Status: See Table 8.14

SWS_E2E_00562 requirement

If CheckReturn != E2E_E_OK, then the function E2E_P22Map StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

SWS_E2E_00592 requirement

In case State is NULL, E2E_P04mProtectInit shall return imme- diately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

SWS_E2E_00593 requirement

In case State is NULL, E2E_P04mCheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xFF'FF. 2. Status to E2E_P04MSTATUS_ERROR.

SWS_E2E_00594 requirement

If CheckReturn = E2E_E_OK, then the function E2E_P04mMap StatusToSMshall return the values depending on the value of Status: See Table 8.6

SWS_E2E_00595 requirement

If CheckReturn != E2E_E_OK, then the function E2E_P04mMap StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

SWS_E2E_00596 requirement

In case State is NULL, E2E_P07mProtectInit shall return imme- diately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

SWS_E2E_00597 requirement

In case State is NULL, E2E_P07mCheckInit shall return imme- diately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xFF'FF'FF'FF. 2. Status to E2E_P07MSTATUS_ERROR.

SWS_E2E_00598 requirement

If CheckReturn = E2E_E_OK, then the function E2E_P07mMap StatusToSMshall return the values depending on the value of Status: See Table 8.10

SWS_E2E_00599 requirement

If CheckReturn != E2E_E_OK, then the function E2E_P07mMap StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

SWS_E2E_00600 requirement

[SWS_E2E_00600]⌋

SWS_E2E_00601 requirement

[SWS_E2E_00601]⌋

SWS_E2E_00602 requirement

[SWS_E2E_00602]⌋

SWS_E2E_00603 requirement

[SWS_E2E_00603]⌋

SWS_E2E_00604 requirement

[SWS_E2E_00604]⌋ Protection Library

SWS_E2E_00605 requirement

[SWS_E2E_00605]⌋

SWS_E2E_00606 requirement

[SWS_E2E_00606]⌋ Protection Library

SWS_E2E_00608 requirement

[SWS_E2E_00608]⌋

SWS_E2E_00609 requirement

[SWS_E2E_00609]⌋ Protection Library

SWS_E2E_00610 requirement

[SWS_E2E_00610]⌋

SWS_E2E_00611 requirement

[SWS_E2E_00611]⌋

SWS_E2E_00612 requirement

[SWS_E2E_00612] If CheckReturn != E2E_E_OK, then the function E2E_P44MapStatusToSM() shall return E2E_P_ER- ROR (regardless of value of Status).⌋

SWS_E2E_00613 requirement

[SWS_E2E_00613]⌋

SWS_E2E_00614 requirement

[SWS_E2E_00614]⌋

SWS_E2E_00615 requirement

[SWS_E2E_00615]⌋

SWS_E2E_00623 requirement

[SWS_E2E_00623]⌋

SWS_E2E_00624 requirement

[SWS_E2E_00624] P76Protect - State NULL Status: DRAFT Upstream requirements: RS_E2E_08528, RS_E2E_08539 ⌈In case State is NULL, E2E_P76ProtectInit shall return immediately with E2E_E_ INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.⌋ Protection Library

SWS_E2E_00625 requirement

[SWS_E2E_00625] P76Check - State NULL Status: DRAFT Upstream requirements: RS_E2E_08528, RS_E2E_08539 ⌈In case State is NULL, E2E_P76CheckInit shall return immediately with E2E_E_IN- PUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0x1F 2. Status to E2E_P76STATUS_ERROR. ⌋ Protection Library

SWS_E2E_00626 requirement

[SWS_E2E_00626] P76 Status Mapping Status: DRAFT Upstream requirements: RS_E2E_08548 ⌈If CheckReturn = E2E_E_OK, then the function E2E_P76MapStatusToSM shall return the values depending on the value of Status: See [SWS_E2E_00623]⌋

SWS_E2E_00627 requirement

[SWS_E2E_00627] P76 Error Status: DRAFT Upstream requirements: RS_E2E_08548 ⌈If CheckReturn != E2E_E_OK, then the function E2E_P76MapStatusToSM() shall re- turn E2E_P_ERROR (regardless of value of Status).⌋ Protection Library

SWS_E2E_10001 requirement

In case State is NULL, E2E_P44ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

SWS_E2E_10002 requirement

In case State is NULL, E2E_P44CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xFF'FF. 2. Status to E2E_P44STATUS_ERROR.

SWS_E2E_10003 requirement

If CheckReturn = E2E_E_OK, then the function E2E_P44Map StatusToSMshall return the values depending on the value of Status: See Table 8.15 If CheckReturn != E2E_E_OK, then the function E2E_P44MapStatusToSM() shall re- turn E2E_P_ERROR (regardless of value of Status).

SWS_E2E_10004 requirement

In case State is NULL, E2E_P08ProtectInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

SWS_E2E_10005 requirement

In case State is NULL, E2E_P08CheckInit shall return immedi- ately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0xFF'FF'FF'FF 2. Status to E2E_P08STATUS_ERROR.

SWS_E2E_10006 requirement

If CheckReturn = E2E_E_OK, then the function E2E_P08Map StatusToSM shall return the values depending on the value of Status: See Table 8.11

SWS_E2E_10007 requirement

If CheckReturn != E2E_E_OK, then the function E2E_P08Map StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

SWS_E2E_91053 requirement

In case State is NULL, E2E_P08mProtectInit shall return imme- diately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

SWS_E2E_91059 requirement

If CheckReturn = E2E_E_OK, then the function E2E_P08mMap StatusToSMshall return the values depending on the value of Status: See Table 8.12

SWS_E2E_91060 requirement

If CheckReturn != E2E_E_OK, then the function E2E_P08mMap StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

SWS_E2E_91063 requirement

In case State is NULL, E2E_P44mProtectInit shall return imme- diately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting Counter to 0.

SWS_E2E_91068 requirement

In case State is NULL, E2E_P44mCheckInit shall return imme- diately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0x FF'FF'FF'FF. 2. Status to E2E_P44MSTATUS_ERROR.

SWS_E2E_91070 requirement

If CheckReturn = E2E_E_OK, then the function E2E_P44mMap StatusToSMshall return the values depending on the value of Status: See Table 8.16

SWS_E2E_91071 requirement

If CheckReturn != E2E_E_OK, then the function E2E_P44mMap StatusToSM() shall return E2E_P_ERROR (regardless of value of Status).

SWS_E2E_91072 requirement

In case State is NULL, E2E_P08mCheckInit shall return imme- diately with E2E_E_INPUTERR_NULL. Otherwise, it shall initialize the state structure, setting: 1. Counter to 0x FF'FF'FF'FF. 2. Status to E2E_P08MSTATUS_ERROR.

SWS_E2E_NA_00294 requirement

These requirements are not applicable to this specifica- tion.