User Manual Part 4

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 82
CONFIDENTIAL
Information classified Confidential
-
Do not copy (See last page for obligations)
Turnkey is written in network-agnostic code; that is, the same code can be used for any
satellite network with no changes required. Please note that Turnkey is the only sample
application written in this manner. All the other sample applications are written in
network-dependent code, meaning they must be changed when switching between
satellite networks.
5. Once you have downloaded the new application file with “Hello, World,” cycle power on the
modem. You should see the following output on the Logger port:
Figure 12-19: Logger output with "Hello, World!"
12.2.6 Additional detail on Turnkey
The Turnkey application allows the user to set configuration parameters to control when it sends
a report and what is contained in the report data. The application can report a GPS position fix,
DIO and Analog values, as well as CAN data. It accepts parameter changes received over the air
or from a serial port. It can also accept an application update over GPRS. The application can
be used as is, or it can serve as the basis for a more complex user application. We have seen
how to set up the IDE, and build, load and execute the Turnkey application. We now examine the
Turnkey code in more detail in order to understand the QUAKE Event Framework.
The main loop of Turnkey initializes configuration parameters, sets up serial port handling by
registering a callback function for each serial port in use, generates a power-on event and enters
a while loop where it checks for messages in its queue and processes them. Most events are
Note: