Technical Manual
Table Of Contents
- Wireless Sensor Interface A720 (addIT™)
- 1. About the A720
- 2. Hardware
- 4. Software
- 4.1. AMOS
- 4.2. Mode Check
- 4.3. A/D Task
- 4.4. The Terminal Task
- 4.5. The Radio Interface Task
- 4.5.1. Digital Squelch
- 4.5.2. Modulation Technique Used
- 4.5.3. Generic Format of a Radio Frame
- 4.5.4. Data Frames
- 4.5.5. Frame Types
- 4.5.5.1. Request
- 4.5.5.2. Broadcast Answer
- 4.5.5.3. Set I/O Request
- 4.5.5.4. Read I/O Answer
- 4.5.5.5. Broadcast Request
- 4.5.5.6. Ping
- 4.5.5.7. Pong
- 4.5.5.8. Memory Dump Request
- 4.5.5.9. Memory Dump Answer
- 4.5.5.10. Data
- 4.5.5.11. Set ID
- 4.5.5.12. Set Slot Time and Sample Rate
- 4.5.5.13. Set Frequency
- 4.5.5.14. Set Battery Charge Levels
- 4.5.5.15. Set Pulse Counters Parameters
- 4.5.5.16. General Acknowledge
47
The Radio Interface Task
4.5.5.4. Read I/O Answer
ID 4
FORMAT struct {
unsigned char RF_levelIn;
unsigned char RF_levelOut;
unsigned char DDR;
unsigned char PORT;
} readio_answer;
DESCRIPTION
This is the answer to a Set I/O request frame. It returns the actual state of the port
and its data direction register.
4.5.5.5. Broadcast Request
ID 6
FORMAT The data frame body is empty.
DESCRIPTION This frame is send by the device when the LED tool is inserted in the POWER connec-
tor, or if the command “B” is issued in terminal mode. This frame is special in that
the destination address (DST) in the header is 0. In addition, this type of frame is not
routable. All the devices having received this frame must reply in a random fashion
with a Broadcast answer frame.
4.5.5.6. Ping
ID 9
FORMAT The data frame body is empty.
DESCRIPTION This frame is used to request an answer from a device; it is used to check if the device
is available. The addressed device must answer with a Pong frame. The A720 does
not send such frames, but must answer to them.
4.5.5.7. Pong
ID 10
FORMAT struct {
unsigned char RF_levelIn;
unsigned char RF_levelOut;
time_t RTC;
unsigned char version;
unsigned char clkfail;
unsigned char stackfail;
unsigned char WDT;
unsigned char batt;
unsigned char internalTemp;
time_t uptime;
unsigned char reserved[4];
} pong;