User's Manual

DRAFT TrimTrac Locator Technical Manual 38
QUERY_LOG
This message is used by the server application to request past REPORT_POS
message that may not have been received at the server application. The TrimTrac
locator will send the corresponding REPORT_POS messages to the server
application in response to this message at the rate of one position per
REPORT_POS message. At the end of the REPORT_POS messages a
RESP_QUERY_LOG is sent.
>QTKABBBBCCCC;PW=PPPPPPPP;ID=YYYYYYYY;*ZZ<
A Always ‘R’: Indicates a query for old REPORT_POS messages
BBBB Starting Protocol Sequence Number: 16-bit hex value
CCCC Ending Protocol Sequence Number: 16-bit hex value
YYYYYYYY
Unit ID. Unique unit identifier. Always 8 digits
ZZ Checksum.
Table 21, QUERY_LOG Message
RESP_QUERY_LOG
This message is sent after a QUERY_LOG request is received and processed. It
will contain the number of messages actually retrieved from the Message Log and
sent to the server application.
>RTKABBBB;ID=YYYYYYYY;*ZZ<
A Always ‘R’: Indicates a response to a QUERY_LOG
BBBB Number of REPORT_POS message sent from the log.
YYYYYYYY
Unit ID. Unique unit identifier. Always 8 digits
ZZ Checksum.
Table 22, RESP_QUERY_LOG Message
Message Log
Each new outbound REPORT_POS message is given a protocol sequence
number. The sequence number is 16 bits and increments by one with each
message created. The TrimTrac Application saves the message in non-volatile
memory each time one is created; this is called the Message Log. The Message
Log is a FIFO log of the last 128 REPORT_POS messages sent such that when it
is full the oldest one is deleted. The Message Log can be queried with the
QUERY_LOG message from the server application.