Command 56h, GETRAW (Position or real-time survey data request)
Command Packet 56h requests raw satellite data. The receiver responds by sending the data in Report Packet 57h. This command will generate a single response, to stream this data output enable RT17/RT27 either via the web interface or using the 64h APPFILE record 07h.
NOTE – The reply to this command packet is usually a Report Packet 57h. A NAK is returned if the Binary Outputs option is not installed on the receiver.
The following table describes the packet structure. All data in the packet flows from the data collector to the receiver.
Byte |
Item |
Type |
Value |
Meaning |
---|---|---|---|---|
0 |
STX |
1 (Char) |
02h |
Start transmission |
1 |
STATUS |
1 (Char) |
??h |
Receiver status code |
2 |
PACKET TYPE |
1 (Char) |
56h |
Command Packet Type |
3 |
LENGTH |
1 (Char) |
03h |
Bytes of data |
4 |
DATA TYPE |
1 (Char) |
00h or 01h |
0 (00h): Real-Time Survey Data Record (satellite tracking measurements) 1 (01h): Position Record |
5 |
FLAGS |
1 (Char) |
|
Bit 0 (do NOT set if DATA TYPE is “1” or MULTI-SYSTEM FLAG is set)
Bit 1 (do NOT set if DATA TYPE is “1” or MULTI-SYSTEM FLAG is set)
Bit 2–7 : Reserved (clear to “0”) |
6 |
MULTI-SYSTEM FLAG |
1 (Char) |
|
Bit 0
Bit 1–3: Reserved (clear to “0”) Bit 4 (do NOT set if DATA TYPE is “1”)
Bit 5–7 : Reserved (clear to “0”) |
7 |
CHECKSUM |
1 (Char) |
Checksum value |
|
8 |
ETX |
1 (Char) |
03h |
End transmission |
NOTE – Using the 56h command, the output is always at the port through which the command was sent. For example, if the command was sent through RS-232 serial, then the output is through the same port. If the command is sent using USB, then the 57h output is through the USB port.