To set the current date and time of the Decoder, the host sends
SETGPSTIME[[[;<AllowEstimatedTime>];<Timeout>];<InBackground>]<CrLf>
Where
| Since Protocol Version | ||
|
< |
If set to 1, after <Timeout> is reached, an estimated time of day will be set. |
1.4 |
|
< |
Timeout in seconds. Defaults to 30. |
2.4 |
<InBackground> |
Set time in background and return immediatly. | 2.9 |
This operation can only be executed in Test Mode.
The decoder responds with
SETGPSTIME;<Result><CrLf>
Where <Result> is:
-
date and time with the format yyyy-MM-dd;hh:mm:ss.kkk[;TimeIsEstimated], if the time was set successfully (where
TimeIsEstimatedis either1or0and is only available for protocol version >= 2.4), - NOSATELITES, if their is no receiption (or accessing the GPS module is blocked),
- ERROR, if an error occurred while parsing the request,
- OPERATIONMODE, if the decoder is in operation mode,
- BACKGROUND, if the request is executed in background.
Example
← SETGPSTIME<CrLf> → SETGPSTIME;2012-02-27;12:43:29.942<CrLf>