#include <packet.h>
Public Attributes | |
struct { | |
} | fmt0 |
Functional packet format 0 No additional data bytes. | |
struct { | |
unsigned char data [OTTO_PACKET_LENGTH_MAX-1] | |
Parametric data. | |
} | fmt1 |
Functional packet format 1 Only parametric data. | |
struct { | |
otto_funcadr_sec_adr sec_id | |
Secondary address. | |
unsigned char data [OTTO_PACKET_LENGTH_MAX-2] | |
Data. | |
} | fmt2 |
Functional packet format 2 Secondary address and optional data. | |
struct { | |
otto_funcadr_sec_adr sec_id | |
Secondary address. | |
otto_funcadr_ext_adr ext_id | |
Extended address. | |
unsigned char data [OTTO_PACKET_LENGTH_MAX-3] | |
Data. | |
} | fmt3 |
Functional packet format 3 Secondary and extended addresses and optional data. | |
struct { | |
unsigned char mode | |
Functional test mode. | |
unsigned char data [OTTO_PACKET_LENGTH_MAX-2] | |
Data. | |
} | fmt4 |
Functional packet format 4 Test mode for SAE J1979. mode is similar to secondary ID with extended address, where Q=0, C=0 for request, C=1 for response, and extended address is parameter id (PID) or test id, if used. |
|
Data.
|
|
Extended address.
|
|
Functional packet format 0 No additional data bytes.
|
|
Functional packet format 1 Only parametric data.
|
|
Functional packet format 2 Secondary address and optional data.
|
|
Functional packet format 3 Secondary and extended addresses and optional data.
|
|
Functional packet format 4 Test mode for SAE J1979. mode is similar to secondary ID with extended address, where Q=0, C=0 for request, C=1 for response, and extended address is parameter id (PID) or test id, if used.
|
|
Functional test mode.
|
|
Secondary address.
|
|
Secondary address.
|