UdsUploadResponse Struct¶
Positive-response parameters returned by RequestUpload (0x35, ISO 14229-1 §14.1.2). Mirrors UdsDownloadResponse; the max block length constrains the size of the TransferData responses the ECU will send back to the tester.
Constructors¶
UdsUploadResponse(byte, ulong) Constructor¶
Creates the response wrapper.
Parameters¶
lengthFormatIdentifier Byte
maxNumberOfBlockLength UInt64
Properties¶
UdsUploadResponse.LengthFormatIdentifier Property¶
Raw lengthFormatIdentifier byte echoed by the ECU (byte 1 of the positive
response). The high nibble is the width, in bytes, of the following
maxNumberOfBlockLength field; the low nibble is reserved.
Property Value¶
UdsUploadResponse.MaxNumberOfBlockLength Property¶
Maximum number of bytes (including SID) the ECU is willing to accept in a single
TransferData (0x36) request. Callers MUST NOT exceed this value; the payload chunk in
each TransferData is therefore at most MaxNumberOfBlockLength - 2 bytes (SID +
blockSequenceCounter overhead).