© 2018 Spireon, Inc.
9
/
12
reception of reports, the device can be configured either in Normal or Ack’ed mode to
send the reports. In the Normal mode the reports are simply sent “as is” with no
acknowledgment from the server. In the Ack’ed mode every report sent is expected to
be acknowledged by the server by sending back an ACK message back. If
acknowledgement is not received within the specified timeout, the report is re-sent. If
the report is not acknowledged after the specified number of attempts, it is queued. If
acknowledgement is received after the report is queued (i.e. past timeout of the last
attempt), it is ignored.
Report is not considered “complete” until its acknowledgement is received. Thus, if
report X is sent and report X+1 is triggered while waiting for acknowledgement of X,
report X+1 will be queued until such acknowledgement is received and only then sent.
The JG-LS will attempt to re-send queued report(s) every time a new report is
triggered. If there is more than one report queued, the reports will attempt to be sent in
the order of triggering and only once the report is acknowledged, the next report is
attempted. This assures that reports are sent and received in order.
Ack’ed mode assures that all reports are received, but adds overhead in time and
data. Report that is not acknowledged is sent again and eventually will be queued and
sent again. The number and frequency of re-tries is configurable via the Report
Acknowledgement command.
Event Report Format
Reports are encoded as binary hex.
Reset
There are a number of resets available on the device. Soft reset only restarts the
baseband on the device. Hard reset is caused by resetting the whole baseband
module via a reset pin. There is also an option to reset the cellular and GPS
sub-systemsonly.
Context Preservation
When a self-initiated reset is performed due to Network Watchdog or by the Reset
command (modes 0,1), the context of the system is being preserved and is restored
after the reset. The context includes all the periodic timers, the report queue, the
odometer, etc. This allows to reset the unit as a troubleshooting or preventive
measure without losing reports that are already in the queue or are pending on
running timers. Note that the reset process may cause 1-2min of inaccuracy in the
timers and should not be considered as very precise.
Startup Banner
After a reset a startup banner is printed through the UART only.