Specifications

Table Of Contents
OPERATIONS
Page 103 MRC-565 Packet Data Radio Operations & Maintenance
5.10.3 Viewing the generic device driver setup
Enter the GENERIC command with no parameters to display the current setup for all active
ports. The following example response shows a typical setup with only port 2 set up for generic
operation.
+generic 12/11/01 10:54:32
Rpt Group............ Date......... Time......... Sensor.......
P Type Type N L# S E Type L# S E Type L# S E Type L# S E
= ==== ===== == == == == ==== == == == ==== == == == ==== == == ==
2 LINE FIXED 02 00 00 00 LINE 01 10 16 LINE 01 18 25 LINE 02 22 32
Report:DATE/TIME: Date:YY/MM/DD Time:HH:MM:SS
From the report one can see that only port 2 is configured, and the other ports have a report type
of OFF. The Group section has 5 fields: Type, Number, Line number, Start column, End column.
This line shows the group is fixed at group number 2. The Date, Time and Sensor sections each
have 4 fields: Type, Line number, Start column, End column. The date is on line 1 between
columns 10 and 16. The time is on line 1 between columns 18 and 25. The first sensor value is
on line 2 between columns 22 and 23, and the remaining lines of the report will each contain 1
sensor value between columns 22 and 23.
The line following the port 2 line shows additional options for that port. Shown here are the
start-of-report string, the date format, and the time format. Only options selected will be shown
on this line. All of the settings in this generic driver table are saved in the non-volatile memory
of the MRC-565.
Report Type: GENERIC,P,TYPE,{AUTO,LINE,OFF}
This command selects whether the report is in a single line format or multiple line format.
AUTO specifies single line with free-format, and LINE specifies the multiple line format. The
OFF option is provided to turn off a previously set-up port.
Reports are parsed from sets (bursts) of characters read into a 1024 byte buffer. The end of the
data set will be signaled by a timeout period with no more characters being received. The
timeout is taken from the ASSIGN command described earlier. When each set is finished being
processed, the input buffer is cleared to wait for the next set of characters.
5.10.4 AUTO Format
For the simplest AUTO report type, with no group number, date or time stamp, each line will be
parsed from left to right using blanks and commas as delimiters between data values. The
carriage return and line feed characters are also ignored. The first group report will take up to 16
data values, then the next 16 go into group 2, the next 16 into group 3, and so on until the last
character has been reached.