SNIP_CLASSIC_STD_SECTION_8_3_4_4_E2E_P04mSourceCheck
Wortlaut
8.3.4.4 E2E_P04mSourceCheck
[SWS_E2E_91002] Definition of API function E2E_P04mSourceCheck
Upstream requirements: RS_E2E_08539, RS_E2E_08527
⌈
Service Name
E2E_P04mSourceCheck
Syntax
Std_ReturnType E2E_P04mSourceCheck (
const E2E_P04mConfigType* ConfigPtr,
E2E_P04mCheckStateType* StatePtr,
uint32 SourceID,
Std_MessageTypeType MessageType,
Std_MessageResultType MessageResult,
const uint8* DataPtr,
uint16 Length
)
Service ID [hex]
0x43
Sync/Async
Synchronous
Reentrancy
Reentrant
ConfigPtr
Pointer to static configuration.
SourceID
A system-unique identifier of the Data Source.
MessageType
Type of the message (request/response)
MessageResult
Result of the message (OK/ERROR)
DataPtr
Pointer to received data.
Parameters (in)
Length
Length of the data in bytes.
Parameters (inout)
StatePtr
Pointer to received data.
Parameters (out)
None
Return value
Std_ReturnType
E2E_E_INPUTERR_NULL
E2E_E_INPUTERR_WRONG
E2E_E_OK
For definitions for return values, see SWS_E2E_00047.
▽
Protection Library
△
Description
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).
Available via
E2E.h
⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Cited verbatim in the snippet (deterministic citation).
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_E2ELibrary.pdf |
|---|---|
| Dokumentseite | Seite 108 |
| Ziel-Modul | std (classic) |
| Ziel-Anforderung | SWS_Std_91002 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |