Technical Manual

49
The Radio Interface Task
4.5.5.9. Memory Dump Answer
ID 21
FORMAT struct {
unsigned int startAddress;
unsigned char 32;
unsigned char data[32];
} memoryDump_answer;
DESCRIPTION
This is the answer to a Memory dump request frame; although the frame has a flex-
ible format, an A720 will always return 32 bytes of data.
4.5.5.10. Data
ID 38
FORMAT struct {
unsigned char RF_levelIn;
unsigned char RF_levelOut;
time_t slot_timeStamp;
unsigned char digibyte;
unsigned char counter1; /* Pulse Counter I/O B input */
unsigned char counter2; /* Pulse Counter I/O A input */
unsigned char battery;
unsigned char analog0; /* I/O B input, pin x */
unsigned char analog1; /* I/O B input, pin x */
unsigned char analog2; /* I/O B input, pin x */
unsigned char analog4; /* I/O A input, pin x */
unsigned char analog5; /* I/O A input, pin x */
unsigned char analog6; /* I/O A input, pin x */
unsigned char internalTemp; /* Internal Temperature */
} data_frame;
DESCRIPTION
This frame will be sent back by the device as an answer to the Request frame.
RF_levelIn is the left zero (it is a placeholder and will be filled by the first de-
vice receiving the frame);
RF_levelOut is the RF level measured by the device on the Request frame;
slot_timeStamp is the actual time stamp on the data sent;
digibyte represents the result of OR-ing the following bits:
RD7 represents the battery charge switch’ status;
u means undefined;
RD2, RD1 and RD0 are the DIG2, DIG1 and DIG0 pins respectively.
Note: For additional info on the bits in the digibyte, check also the hardware section of this manual.
counter1 and counter2 are the values of the pulse counters;
RD7
RB7 u u RB6 RD2 RD1 RD0
b0
b7