Eclipse.org Eclipse.org - Device Kit

Verifying that your hardware is properly configured

To verify that your hardware is properly configured, use the following instructions:

  1. Connect your Global Positioning System (GPS) device to your development machine.
  2. Open your serial terminal tool on the proper serial port with the following configuration parameters:
    Baudrate = 4800  
    Data Bits = 8  
    Parity = None  
    Stop Bits = 1  
    Hardware Flow Control = Off  
    Software Flow Control = Off  
  3. Position your GPS antenna to receive data or enable your GPS for indoor use.

    If your hardware is properly configured, you will receive valid NMEA format GPS data that resembles the following:

    $GPRMC,224048,V,3555.1023,N,07903.1845,W,0.0,0.0,150701,8.4,W,S*1B  
    $GPGGA,224048,3555.1023,N,07903.1845,W,8,04,2.0,158.8,M,-33.4,M,,*79  
    $GPGSA,A,3,11,14,18,21,,,,,,,,,,2.0,3.0*12  
    $GPGSV,1,1,04,11,16,297,39,14,65,020,49,18,19,142,41,21,60,155,48*7E  
    $GPGLL,3555.1023,N,07903.1845,W,224048,V,S*5B  

    Your GPS devices might support different NMEA messages; however, your GPS device should have, at a minimum, the following type of message:

    $GPGGA,224048,3555.1023,N,07903.1845,W,8,04,2.0,158.8,M,-33.4,M,,*79  

    If you are having problems acquiring similar data, refer to Troubleshooting your hardware configuration for instructions to help you troubleshoot your problem.

After you have successfully read NMEA data from the GPS, continue with the next section, Verifying Java communication with the hardware.