|
|
NVIDIA DriveOS Linux SDK API Reference
|
7.2.5.0 Early Access Release
|
Go to the documentation of this file.
29 #ifndef DW_CORE_UTILITY_E2EP04_H_
30 #define DW_CORE_UTILITY_E2EP04_H_
338 #endif // DW_CORE_UTILITY_E2EP04_H_
DW_API_PUBLIC dwStatus dwE2EP04Protect_getConfig(E2EP04Config const **const config, dwE2EP04ProtectHandle_t const protect)
Get the current config from E2E Profile 4 protect handle.
uint16_t offset
Bit offset of the first bit of the E2E header from the beginning of the Data (bit numbering: bit 0 is...
@ CHECK_STATUS_ERROR
Error. Error not related to counters occurred (e.g. wrong crc, wrong length, wrong options,...
DW_API_PUBLIC dwStatus dwE2EP04Protect_configVerify(E2EStatus *const e2eStatus, dwE2EP04ProtectHandle_t const protect)
Verify the config of E2E Profile 4 protect handle.
E2EStatus
E2E function return status.
uint16_t maxDataLength
Maximal length of Data, in bits.
@ REPEATED
Error. The checks of the Data in this cycle were successful, with the exception of the repetition.
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.
uint32_t dataID
A system-unique identifier of the Data.
struct dwE2EP04CheckObject * dwE2EP04CheckHandle_t
Handle represents a dwE2EP04Check object.
@ VIO_ASIL_COMMAND
data id for dwVehicleIOASILCommandE2EWrapper
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.
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.
DW_API_PUBLIC dwStatus dwE2EP04Check_initializeFromConfig(dwE2EP04CheckHandle_t *const check, E2EP04Config const *const config)
Creates a E2E Profile 4 check handle from config.
struct E2EP04Config E2EP04Config
Configuration of transmitted Data (Data Element), for E2E Profile 4.
uint16_t minDataLength
Minimal length of Data, in bits.
DW_API_PUBLIC dwStatus dwE2EP04Check_release(dwE2EP04CheckHandle_t const check)
Releases a E2E Profile 4 check handle.
dwStatus
Status definition.
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.
DW_API_PUBLIC dwStatus dwE2EP04Check_configVerify(E2EStatus *const e2eStatus, dwE2EP04CheckHandle_t const check)
Verify the config of E2E Profile 4 check handle.
DW_API_PUBLIC dwStatus dwE2EP04Check_getConfig(E2EP04Config const **const config, dwE2EP04CheckHandle_t const check)
Get the current config from E2E Profile 4 check handle.
Configuration of transmitted Data (Data Element), for E2E Profile 4.
E2EP04CheckStatus
Status of the reception on one single Data in one cycle, protected with E2E Profile 4.
DW_API_PUBLIC dwStatus dwE2EP04Protect_release(dwE2EP04ProtectHandle_t const protect)
Releases a E2E Profile 4 protect handle.
DW_API_PUBLIC dwStatus dwE2EP04Protect_initializeFromConfig(dwE2EP04ProtectHandle_t *const protect, E2EP04Config const *const config)
Creates an E2E Profile 4 protect handle from config.
uint8_t maxDeltaCounter
Maximum allowed gap between two counter values of two consecutively received valid Data.
struct dwE2EP04ProtectObject * dwE2EP04ProtectHandle_t
Handle represents a dwE2EP04Protect object.
E2EDataID
Define a system-unique identifier of the Data.
@ VIO_ASIL_STATE
data id for dwVehicleIOASILStateE2EWrapper structure
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.