|
Public Attributes |
struct { |
unsigned char data [OTTO_PACKET_LENGTH_MAX] |
| Packet data.
|
int length |
| Packet length.
|
unsigned char nb |
| Normalization bit for in frame response (only valid with VPW).
|
} | raw |
struct { |
unsigned char id |
| Message ID.
|
unsigned char data [OTTO_PACKET_LENGTH_MAX-1] |
| Data field.
|
} | single |
| Single byte header packet.
|
union { |
struct { |
enum | { OTTO_PKTHDRCS_THREEBYTE = 0,
OTTO_PKTHDRCS_ONEBYTE = 1
} |
| Header type. More...
|
unsigned char id_lo:4 |
| Message ID low 4 bits.
|
enum otto_packet:: { ... } ::@31::@34 h |
| Header type.
|
unsigned char id_hi:3 |
| Message ID high 3 bits.
|
} hdr |
| Single byte form of consolidated header.
|
struct { |
otto_funcadr_data data |
} func |
struct { |
otto_phyadr_data data |
} phy |
} | consol1 |
| Single byte form of consolidated header message.
|
union { |
struct { |
enum | { OTTO_PKTHDR_FUNCTIONAL = 0,
OTTO_PKTHDR_PHYSICAL = 1
} |
| Addressing mode. More...
|
enum | { OTTO_PKTHDR_IFRREQUIRED = 0,
OTTO_PKTHDR_IFRDISALLOWED = 1
} |
| In-frame response (IFR). More...
|
enum | { OTTO_PKTHDR_THREEBYTE = 0,
OTTO_PKTHDR_ONEBYTE = 1
} |
| Header type. More...
|
unsigned char z:2 |
| Message type see HS3000, p. 254, table 6.
|
enum otto_packet:: { ... } ::@35::@38 y |
| Addressing mode.
|
enum otto_packet:: { ... } ::@35::@39 k |
| In-frame response (IFR).
|
enum otto_packet:: { ... } ::@35::@40 h |
| Header type.
|
unsigned char p:3 |
| Priority Zero is highest priority, 7 is lowest.
|
} first |
| First byte.
|
struct { |
struct { |
enum | { OTTO_FUNCADR_TGTADR_COMMAND = 0,
OTTO_FUNCADR_TGTADR_STATUS = 1
} |
| Functional target address type. More...
|
enum otto_packet:: { ... } ::@36::@41::@42 w |
| Functional target address type.
|
unsigned char id:7 |
| Primary ID.
|
} target |
| Target address.
|
unsigned char source |
| Source address.
|
otto_funcadr_data data |
| Data formats.
|
} func |
| Functional addressing.
|
struct { |
unsigned char target |
| Target address.
|
unsigned char source |
| Source address.
|
otto_phyadr_data data |
| Data.
|
} phy |
| Physical addressing.
|
} | consol3 |
| Three byte form of consolidated header message.
|