Download iSense GPS Module User Guide

Transcript
iSense GPS Module User Guide
Contents
1.
About this User Guide .................................................................................................................... 4
2.
General Description ........................................................................................................................ 5
3.
4.
5.
2.1.
Handling and Security Instructions .......................................................................................... 6
2.2.
Mounting the CPG Module on an iSense Module Stack ......................................................... 7
2.3.
GPS Module Fix Indicator LED .............................................................................................. 9
GpsModule API Description ........................................................................................................ 10
3.1.
Constructor............................................................................................................................. 10
3.2.
Destructor............................................................................................................................... 11
3.3.
enable ..................................................................................................................................... 11
3.4.
disable .................................................................................................................................... 11
3.5.
enabled ................................................................................................................................... 12
3.6.
satellites.................................................................................................................................. 12
3.7.
fix_state .................................................................................................................................. 13
3.8.
PositionHandler interface....................................................................................................... 13
GPS Module Demo Application ................................................................................................... 15
4.1.
Obtaining the GPS Module Demo Application ..................................................................... 15
4.2.
Compiling the GPS Module Demo Application .................................................................... 15
4.2.1.
Using Eclipse ............................................................................................................... 15
4.2.2.
Using the Command Line ............................................................................................ 18
4.3.
GPS Module Demo Application functionality ....................................................................... 19
4.4.
Flashing the GPS Module Demo Application........................................................................ 23
References .................................................................................................................................... 26
coalesenses
research to innovate
3 / 27