Main Page | Class List | File List | Class Members | File Members | Related Pages

otto_funcadr_data Union Reference

Functional addressing message data. More...

#include <packet.h>

List of all members.

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.


Detailed Description

Functional addressing message data.


Member Data Documentation

unsigned char otto_funcadr_data::data[OTTO_PACKET_LENGTH_MAX-2]
 

Data.

struct otto_funcadr_ext_adr otto_funcadr_data::ext_id
 

Extended address.

struct { ... } otto_funcadr_data::fmt0
 

Functional packet format 0 No additional data bytes.

struct { ... } otto_funcadr_data::fmt1
 

Functional packet format 1 Only parametric data.

struct { ... } otto_funcadr_data::fmt2
 

Functional packet format 2 Secondary address and optional data.

struct { ... } otto_funcadr_data::fmt3
 

Functional packet format 3 Secondary and extended addresses and optional data.

struct { ... } otto_funcadr_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.

unsigned char otto_funcadr_data::mode
 

Functional test mode.

struct otto_funcadr_sec_adr otto_funcadr_data::sec_id
 

Secondary address.

struct otto_funcadr_sec_adr otto_funcadr_data::sec_id
 

Secondary address.


The documentation for this union was generated from the following file:
Generated on Thu Jul 8 19:26:08 2004 for OpenOtto by doxygen 1.3.7