DOG (Protocol Watchdog)

The AT@DOG command is used to restart the terminal periodically, which may help prevent the device from staying in malfunctioning state for a long time.

Example:
AT@DOG=gv500cna,1,,7,0300,,,,,012F$
+ACK:DOG,123456789012345,8203,3,0,,012F,20210407101530,1234$
AT@DOG?gv500cna,,0C37$
+QRY:DOG,123456789012345,8203,3,0,1,1,1,,7,0300,0,,,60,0C37,20210407101530,1234$

Parts

Fields

Length (Byte)

Range/Format

Default

Head

Header

3

AT@

AT@

Command Word

3

DOG

DOG

Leading Symbol

1

=

=

Password

8-16

gv500cna

Body

Mode

1

0, 1

0

Reserved

0

Interval

<=2

1-30 (days)

7

Time

4

HHMM

0300

Time Randomness

1

0, 1

0

Reserved

0

Reserved

0

Send Failure Timeout

<=4

0, 15-1440 (minutes)

60

Tail

Sequence Number

4

0000-FFFF (‘0’-‘9’, ‘A’-‘F’)

Tail

1

$

$

  • Mode

    • 0 - Disable. The terminal does not restart periodically.

    • 1 - Enable. The terminal will automatically restart periodically according to the following parameters.

  • Interval

    The interval to restart the terminal.

  • Time

    At what time to perform the restart operation when ‘Interval’ (unit is day) is met.

    For example, ‘Interval’ is “7”, ‘Time’ is “0300”, which means that every 7 days, and the terminal will restart at 03:00:00 in the morning.

  • Time Randomness

    Specify whether to enable the randomness of reboot time.

    • 0 - Disable. When this function is disabled, the restart action is allowed to be executed at a random moment within 5 minutes after the scheduled time has been reached.

    • 1 - Enable. When this function is enabled, the restart action is allowed to be executed at a random moment within one hour after the scheduled time has been reached.

  • Send Failure Timeout

    The terminal will reboot automatically if message interaction failed time is greater than ‘Send Failure Timeout’. In particular, 0 means no rebooting the terminal.