|
static const uint8_t | cNegativeResponseCodeSid {0x7f} |
| Negative response code service ID.
|
|
| RequestTransfer (const ara::core::InstanceSpecifier &specifier, ReentrancyType reentrancyType, uint8_t sid, TransferData &transferData, TransferDirection transferDirection) |
| Constructor. More...
|
|
bool | TryParseRequest (const std::vector< uint8_t > &requestData, uint8_t &dataFormatIdentifier, uint8_t &addressAndLengthFormatIdentifier, std::vector< uint8_t > &memoryAddressAndSize) const |
| Try to parse a transfer request. More...
|
|
bool | TryParseLengthFormat (uint8_t dataFormatIdentifier, uint8_t addressAndLengthFormatIdentifier, const std::vector< uint8_t > &memoryAddressAndSize, size_t &memoryAddress, size_t &memorySize) const |
| Try to parse a memory length format. More...
|
|
bool | TryRequestTransfer (size_t memoryAddress, size_t memorySize) |
| Try to request a transfer in a certain direction (download/upload) More...
|
|
bool | TryGeneratePositiveResponse (MetaInfo &metaInfo, OperationOutput &response) const |
| Try to generate a positive response to a transfer request. More...
|
|
std::future< void > | RequestDataTransfer (uint8_t dataFormatIdentifier, uint8_t addressAndLengthFormatIdentifier, std::vector< uint8_t > memoryAddressAndSize, MetaInfo &metaInfo, CancellationHandler &&cancellationHandler) |
| Request diagnostic data transfer. More...
|
|
| RoutableUdsService (const ara::core::InstanceSpecifier &specifier, uint8_t sid) noexcept |
| Constructor. More...
|
|
void | GenerateNegativeResponse (OperationOutput &response, uint8_t nrc) const |
| Generate a negative response with a specific NRC. More...
|
|
template<class T > |
bool | TryExtractValue (MetaInfo &metaInfo, std::string key, T &value) const |
| Try to extract a value from the given meta-info. More...
|
|
const uint8_t | cSubFunctionNotSupported {0x12} |
| Unsupported sub-function NRC.
|
|
const uint8_t | cIncorrectMessageLength {0x13} |
| Incorrect message length NRC.
|
|
const uint8_t | cRequestSequenceError {0x24} |
| Incorrect request sequence NRC.
|
|
static const uint8_t | cPositiveResponseSidIncrement {0x40} |
| SID increment for a positive response.
|
|
A class to request diagnostic data transfer from a client to the server.
- Note
- The class is not compatible with the ARA standard.