User Manual Part 1

User Guide to Q4000/QPRO
Document Number 1135-4713 Rev G
THIS DOCUMENT CONTAINS CONFIDENTIAL AND PROPRIETARY INFORMATION OF QUAKE GLOBAL CORPORATION. IT MAY BE USED BY
RECIPIENT ONLY FOR THE PURPOSE FOR WHICH IT WAS TRANSMITTED AND WILL BE RETURNED UPON REQUEST OR WHEN NO LONGER NEEDED
BY RECIPIENT. DISCLOSURE TO UNAUTHORIZED THIRD PARTIES OR DUPLICATION WITHOUT THE EXPRESS WRITTEN PERMISSION OF QUAKE
GLOBAL IS PROHIBITED.
Page 21
CONFIDENTIAL
Information classified Confidential
-
Do not copy (See last page for obligations)
If the bit value in TK_PARAM_MASK is turned off, the associated bytes will not be in the
message and the message size will change.
2.6.4 Turnkey message format
The modem-originated Turnkey message has the following format if all the fields in the
TK_PARAM_MASK are set (0xFFFFFFFF):
Table 2-4: Turnkey message format
Size Field Name Description
4 messageCount message count
4 timeJS time of data collection in Julian seconds
4 gpsLatitude latitude
4 gpsLongitude longitude
4 gpsAltitude altitude in meters
4 gpsSpeed speed in kph
2 gpsHeading heading in degrees * 100
1 allDig all 8 digital inputs
1 spare0 spare input 0
4 ana0 analog0
4 ana1 analog1
2 canPgn0DataLen size of PGN0 data
1 canPgn0Data
[MAX_NUM_J1939_DATA_BYTES]
J1939 data from PGN0
2.6.5 Running the Turnkey application
The Turnkey application operates as follows:
1. At power-up, a GPS fix is started.
2. When the transmit timer expires (TK_XMIT_INTERVAL), a message with GPS and
additional configuration information (based on the contents of TK_PARAM_MASK) is sent
to the preferred network.
3. When the message has been successfully sent, the application either:
a. powers down GSM/GPRS module if TK_POWER_DOWN_GSM_AFTER_MSG is set
b. powers down the modem if TK_POWER_DOWN_AFTER_MSG is set, or
c. stays awake and attempts to transmit again after TK_XMIT_INTERVAL.
4. If the unit stays awake between transmissions, the application checks for unsolicited POP
messages every TK_RX_INTERVAL (if greater than 0).
Note: