#include <packet.h>
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. | |
|
|
Single byte form of consolidated header message.
|
|
|
Three byte form of consolidated header message.
|
|
|
Data.
|
|
|
Data formats.
|
|
|
|
|
|
|
|
|
Data field.
|
|
|
First byte.
|
|
|
Functional addressing.
|
|
|
|
|
|
Header type.
|
|
|
Header type.
|
|
|
Single byte form of consolidated header.
|
|
|
Primary ID.
|
|
|
Message ID high 3 bits.
|
|
|
Message ID low 4 bits.
|
|
|
In-frame response (IFR).
|
|
|
Packet length.
|
|
|
Normalization bit for in frame response (only valid with VPW).
|
|
|
Priority Zero is highest priority, 7 is lowest.
|
|
|
Physical addressing.
|
|
|
|
|
|
|
|
|
Single byte header packet.
|
|
|
Source address.
|
|
|
Target address.
|
|
|
Target address.
|
|
|
Functional target address type.
|
|
|
Addressing mode.
|
|
|
Message type see HS3000, p. 254, table 6.
|
1.3.7