Command 58h, RESETRCVR (Reset Receiver)
Command Packet 58h can be used to reset the receiver to a known state and may cause some or all of the receiver parameters and/or memory to be cleared. It can be used to clear all satellite data (ephemeris, almanac, last position, and so on) and reboots the receiver.
Use this command to emulate the Clear All Satellite Data option in the web interface (Receiver Configuration / Reset / Clear All Satellite Data).
The following table describes the packet structure.
Byte |
Item |
Type |
Value |
Meaning |
---|---|---|---|---|
0 |
STX |
1 (Char) |
02h |
Start transmission. |
1 |
STATUS |
1 (Char) |
??h. See Receiver status byte. |
Receiver status code. |
2 |
PACKET TYPE |
1 (Char) |
58h |
Command Packet Type. |
3 |
LENGTH |
1 (Char) |
07h |
Bytes of data. |
4 |
RESET FLAG1 |
1 (Byte) |
FFh |
This byte is always FFh for BD series receivers. |
5 |
RESET FLAG2 |
1 (Byte) |
See Reset values. |
Reset flag. |
6–10 |
“Reset” String |
5 (String) |
52h 45h 53h 45h 54h |
“RESET” is the literal string which must be sent. It is intended to prevent accidental erasure of receiver memory should there be a bad communications line. |
11 |
CHECKSUM |
1 (Char) |
??h. See Data collector format: packet structure. |
Checksum value. |
12 |
ETX |
1 (Char) |
03h |
End transmission. |
Reset values
The following table provides values for the Reset Flag 2 byte.
Byte Value |
Notes |
|
---|---|---|
Dec |
Hex |
|
0 |
00h |
Reboots the receiver (simulates a shutdown from a power failure). |
1 |
01h |
Clears the file system, including all application files, resets the unit to the default configuration, and reboots the receiver. All ethernet network settings are preserved. |
2 |
02h |
Clears RAM, including all satellite data, and reboots the receiver. All ethernet network settings are preserved. |
3 |
03h |
Clears the file system, RAM, ethernet network settings, resets the unit to the default configuration, and reboots the receiver. |