DriveWorks API: Autosar E2E Profile 4 Library
Description: This file defines Autosar E2E Profile 4 protect/check functions
Definition in file E2EP04.h.
Go to the source code of this file.
Data Structures | |
| struct | E2EP04Config |
| Configuration of transmitted Data (Data Element), for E2E Profile 4. More... | |
Typedefs | |
| typedef struct E2EP04Config | E2EP04Config |
| Configuration of transmitted Data (Data Element), for E2E Profile 4. More... | |
| typedef struct dwE2EP04ProtectObject * | dwE2EP04ProtectHandle_t |
| Handle represents a dwE2EP04Protect object. More... | |
| typedef struct dwE2EP04CheckObject * | dwE2EP04CheckHandle_t |
| Handle represents a dwE2EP04Check object. More... | |
Enumerations | |
| enum | E2EDataID { INVALID = 0, VIO_ASIL_STATE, VIO_ASIL_COMMAND } |
| Define a system-unique identifier of the Data. More... | |
| enum | E2EStatus { STATUS_OK = 0x00U, INPUTERR_NULL = 0x13U, INPUTERR_WRONG = 0x17U } |
| E2E function return status. More... | |
| enum | E2EP04CheckStatus { OK = 0x00U, NONEWDATA = 0x01U, CHECK_STATUS_ERROR = 0x07U, REPEATED = 0x08U, OKSOMELOST = 0x20U, WRONGSEQUENCE = 0x40U } |
| Status of the reception on one single Data in one cycle, protected with E2E Profile 4. More... | |
Functions | |
| DW_API_PUBLIC dwStatus | dwE2EP04Protect_initialize (dwE2EP04ProtectHandle_t *const protect, const uint32_t dataID, const uint8_t maxDeltaCounter, const uint16_t offset, const uint16_t minDataLength, const uint16_t maxDataLength) |
| Creates an E2E Profile 4 protect handle. More... | |
| DW_API_PUBLIC dwStatus | dwE2EP04Protect_initializeFromConfig (dwE2EP04ProtectHandle_t *const protect, E2EP04Config const *const config) |
| Creates an E2E Profile 4 protect handle from config. More... | |
| DW_API_PUBLIC dwStatus | dwE2EP04Protect_getConfig (E2EP04Config const **const config, dwE2EP04ProtectHandle_t const protect) |
| Get the current config from E2E Profile 4 protect handle. More... | |
| DW_API_PUBLIC dwStatus | dwE2EP04Protect_configVerify (E2EStatus *const e2eStatus, dwE2EP04ProtectHandle_t const protect) |
| Verify the config of E2E Profile 4 protect handle. More... | |
| DW_API_PUBLIC dwStatus | dwE2EP04Protect_protect (E2EStatus *const e2eStatus, void *dataPtr, const uint16_t length, dwE2EP04ProtectHandle_t const protect) |
| Protects the array/buffer to be transmitted using the E2E profile 4. More... | |
| DW_API_PUBLIC dwStatus | dwE2EP04Protect_release (dwE2EP04ProtectHandle_t const protect) |
| Releases a E2E Profile 4 protect handle. More... | |
| DW_API_PUBLIC dwStatus | dwE2EP04Check_initialize (dwE2EP04CheckHandle_t *const check, uint32_t dataID, uint8_t maxDeltaCounter, uint16_t offset, uint16_t minDataLength, const uint16_t maxDataLength) |
| Creates a E2E Profile 4 check handle. More... | |
| DW_API_PUBLIC dwStatus | dwE2EP04Check_initializeFromConfig (dwE2EP04CheckHandle_t *const check, E2EP04Config const *const config) |
| Creates a E2E Profile 4 check handle from config. More... | |
| DW_API_PUBLIC dwStatus | dwE2EP04Check_getConfig (E2EP04Config const **const config, dwE2EP04CheckHandle_t const check) |
| Get the current config from E2E Profile 4 check handle. More... | |
| DW_API_PUBLIC dwStatus | dwE2EP04Check_configVerify (E2EStatus *const e2eStatus, dwE2EP04CheckHandle_t const check) |
| Verify the config of E2E Profile 4 check handle. More... | |
| DW_API_PUBLIC dwStatus | dwE2EP04Check_check (E2EStatus *const e2eStatus, void *const dataPtr, uint16_t const length, dwE2EP04CheckHandle_t const check) |
| Checks the Data received using the E2E profile 4 check handle. More... | |
| DW_API_PUBLIC dwStatus | dwE2EP04Check_getCheckStatus (E2EP04CheckStatus const **const e2eCheckStatus, dwE2EP04CheckHandle_t const check) |
| Retrieve the latest check status of E2E Profile 4 check handle. More... | |
| DW_API_PUBLIC dwStatus | dwE2EP04Check_release (dwE2EP04CheckHandle_t const check) |
| Releases a E2E Profile 4 check handle. More... | |