E2E Profile11 variant A implementation.
More...
#include <profile11.h>
|
bool | TryProtect (const std::vector< uint8_t > &unprotectedData, std::vector< uint8_t > &protectedData) override |
| Try to protect a message payload by inserting a CRC header. More...
|
|
bool | TryForward (const std::vector< uint8_t > &unprotectedData, std::vector< uint8_t > &protectedData) override |
| Try to protect a message payload by inserting a CRC header while replicating the E2E status. More...
|
|
CheckStatusType | Check (const std::vector< uint8_t > &protectedData) override |
| Check whether a message is received correctly or not. More...
|
|
E2E Profile11 variant A implementation.
◆ Check()
CheckStatusType ara::com::e2e::Profile11::Check |
( |
const std::vector< uint8_t > & |
protectedData | ) |
|
|
overridevirtual |
Check whether a message is received correctly or not.
- Parameters
-
protectedData | Message payload containing the CRC protection to be checked |
- Returns
- The result of checking the message protection
Implements ara::com::e2e::Profile.
◆ TryForward()
bool ara::com::e2e::Profile11::TryForward |
( |
const std::vector< uint8_t > & |
unprotectedData, |
|
|
std::vector< uint8_t > & |
protectedData |
|
) |
| |
|
overridevirtual |
Try to protect a message payload by inserting a CRC header while replicating the E2E status.
- Parameters
-
[in] | unprotectedData | Message payload without any protection |
[out] | protectedData | Message payload containing the CRC protection |
- Returns
- True if the protected data is generated successfully; otherwise false
- See also
- TryProtect
Implements ara::com::e2e::Profile.
◆ TryProtect()
bool ara::com::e2e::Profile11::TryProtect |
( |
const std::vector< uint8_t > & |
unprotectedData, |
|
|
std::vector< uint8_t > & |
protectedData |
|
) |
| |
|
overridevirtual |
Try to protect a message payload by inserting a CRC header.
- Parameters
-
[in] | unprotectedData | Message payload without any protection |
[out] | protectedData | Message payload containing the CRC protection |
- Returns
- True if the protected data is generated successfully; otherwise false
Implements ara::com::e2e::Profile.