de.fhg.igd.gps
Class NMEA183GSVSentence

java.lang.Object
  extended byde.fhg.igd.gps.NMEA183Sentence
      extended byde.fhg.igd.gps.NMEA183GSVSentence

public class NMEA183GSVSentence
extends NMEA183Sentence

GSV - Satellites in view

Author:
Dennis Bartussek

Field Summary
protected  int[] azimuth_
          azimuth of at most four satellites (degrees)
protected  int[] elevation_
          elevation of at most four satellites (degrees)
protected  int numOfSatellites_
          number of satellites in view
protected  int numOfSentences_
          number of sentences for full data
protected  int[] prn_
          satellite PRN number of at most four satellites
protected  int sentenceNumber_
          sentence number
protected  int[] signalStrength_
          signal strength of at most four satellite (degrees)
 
Fields inherited from class de.fhg.igd.gps.NMEA183Sentence
checksum_, fields_, sentenceId_, sentenceId_desc_, talkerId_, talkerId_desc_
 
Constructor Summary
NMEA183GSVSentence(String talkerId)
          Constructs a new NMEA183GSVSentence with the specified talkerId.
 
Method Summary
protected  String bodyToString()
          Returns the body part of this sentence's string representation.
 int[] getAzimuth()
          Returns the azimuth of at most 4 satellites in view, measured in degrees.
 int[] getElevation()
          Returns the elevation of at most 4 satellites in view, measured in degrees.
 int getNumOfSatellites()
          Returns the number of satellites in view.
 int getNumOfSentences()
          Returns the number of sentences for full data.
 int[] getPrn()
          Returns the prns of at most 4 satellites in view.
 int getSentenceNumber()
          Returns the number of this sentence.
 int[] getSignalStrength()
          Returns the signal strength of at most 4 satellites in view.
 void parse(NMEA183Tokenizer tokenizer)
          Reads and parses a NMEA183 sentence from tokenizer.
 
Methods inherited from class de.fhg.igd.gps.NMEA183Sentence
computeChecksum, getDateField, getFloatField, getIntegerField, getLatitudeField, getLongitudeField, getSentenceId, getStringField, hasChecksum, headerToString, rebuildSentence, toString, valid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

numOfSentences_

protected int numOfSentences_
number of sentences for full data


sentenceNumber_

protected int sentenceNumber_
sentence number


numOfSatellites_

protected int numOfSatellites_
number of satellites in view


prn_

protected int[] prn_
satellite PRN number of at most four satellites


elevation_

protected int[] elevation_
elevation of at most four satellites (degrees)


azimuth_

protected int[] azimuth_
azimuth of at most four satellites (degrees)


signalStrength_

protected int[] signalStrength_
signal strength of at most four satellite (degrees)

Constructor Detail

NMEA183GSVSentence

public NMEA183GSVSentence(String talkerId)
Constructs a new NMEA183GSVSentence with the specified talkerId.

Parameters:
talkerId - the talker id of this NMEA183GSVSentence
Method Detail

parse

public void parse(NMEA183Tokenizer tokenizer)
           throws IndexOutOfBoundsException,
                  NumberFormatException
Description copied from class: NMEA183Sentence
Reads and parses a NMEA183 sentence from tokenizer.

Overrides:
parse in class NMEA183Sentence
Parameters:
tokenizer - the NMEA183Tokenizer to read from
Throws:
IndexOutOfBoundsException
NumberFormatException

getNumOfSentences

public int getNumOfSentences()
Returns the number of sentences for full data.

Returns:
the number of sentences for full data

getSentenceNumber

public int getSentenceNumber()
Returns the number of this sentence.

Returns:
the number of this sentence.

getNumOfSatellites

public int getNumOfSatellites()
Returns the number of satellites in view.

Returns:
the number of satellites in view.

getPrn

public int[] getPrn()
Returns the prns of at most 4 satellites in view.

Returns:
the prns of at most 4 satellites in view

getElevation

public int[] getElevation()
Returns the elevation of at most 4 satellites in view, measured in degrees.

Returns:
the elevation of at most 4 satellites in view, measured in degrees

getAzimuth

public int[] getAzimuth()
Returns the azimuth of at most 4 satellites in view, measured in degrees.

Returns:
the azimuth of at most 4 satellites in view, measured in degrees

getSignalStrength

public int[] getSignalStrength()
Returns the signal strength of at most 4 satellites in view.

Returns:
the signal strength of at most 4 satellites in view

bodyToString

protected String bodyToString()
Description copied from class: NMEA183Sentence
Returns the body part of this sentence's string representation.

Overrides:
bodyToString in class NMEA183Sentence
Returns:
the body part of this sentence's string representation.
See Also:
NMEA183Sentence.toString()


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.