C# (CSharp) Subaru.SSM2 Пространство имен

Классы

Имя Описание
Ssm2DataResponse
Ssm2InitRequest Init request packet. Does not have specific properties. This packet type is usually created by the tester and sent to the car control unit. (Packet always consists of 6 bytes: 5 byte header + 1 checksum. Typically for engine it is {0x80, 0x10, 0xF0, 0x01, 0xBF, 0x40} )
Ssm2InitResponse Init response packet. This packet type is usually created by control unit and sent to the tester. Packet consists of: 5 byte header + 3 SSMID + 5 ROMID + X capability bytes + 1 checksum. Capability bytes length is not constant, usually 32, 48 or 96 bytes seen so far.
Ssm2Packet Subaru SSM2 packet base class. Designed for object reusability which means immutable. Properties can be changed and will only affect those packet bytes. I.e. once header info has been set, one can modify payload data, header bytes won't be rewritten. Also avoids many backing fields since most properties directly read/write packet bytes.
Ssm2ReadAddressesRequest Packet to retrieve values for individual addresses. This packet type is usually created by the tester and sent to the car control unit. (Consists of 5 byte header + 1 padding + 3 * X addresses + 1 checksum = 7 + 3 * X. Minimum size is 10 for 1 address.)
Ssm2ReadBlockRequest Read a block of data. Specific properties are starting address and data count. This packet type is usually created by the tester and sent to the car control unit. Always consists of 11 bytes: 5 header + 1 padding + 3 address + 1 count + 1 checksum byte.
Ssm2ReadBlockResponse Returns requested data of a previous read-block-request. This packet type is usually created by the car control unit and sent to the tester. Example containing 3 data bytes: { 0x80, 0xF0, 0x10, 0x04, 0xE0, 0x01, 0x02, 0x03, 0x6A }.
Ssm2WriteAddressRequest Write a single byte into an address. This packet type is usually created by the tester and sent to the car control unit. (Packet always consists of 10 bytes: 5 byte header + 3 address bytes + 1 data byte + 1 checksum.)
Ssm2WriteAddressResponse Response packet of a write-address-request. Contains a single byte confirming the written byte. This packet type is usually created by the tester and sent to the car control unit. Example confirming data byte 0x02: { 0x80, 0xF0, 0x10, 0x02, 0xF8, 0x02, 0x7C }
TestSsm2InitRequest
TestSsm2InitResponse
TestSsm2ReadAddressesRequest
TestSsm2ReadAddressesResponse
TestSsm2ReadBlockRequest
TestSsm2ReadBlockResponse
TestSsm2WriteAddressRequest
TestSsm2WriteAddressResponse