Za'atar Digital

eServices for the rest of us

User Tools

Site Tools


gpskit:docs:zdgpskit:nmea:gpgsv

GPGSV

Super class zdGPSKit.NMEA.Sentence
Namespace zdGPSKit.NMEA

This is the GPS Satellites in View sentence. There can be more than one $GPGSV sentence available. Each sentence can contain up to 4 satellites data ( azimuth, elevation, PRN, and signal to noise ratio ).

The $GPGSV sentence works in conjunction with the $GPGSA sentence handled by the zdGPSKit.NMEA.GPGSA class.

Constructor

Syntax
Constructor( inNMEA0183DataChunk As String )

The only parameter needed is a NMEA 0183 sentence without the '$' prefix and the checksum value.

Methods


MessageCount

Syntax
MessageCount() As Variant

The total number of $GPGSV sentences available. Typically 1-3.

MessageNumber

Syntax
MessageNumber() As Variant

The number of this sentence.

SatelliteAzimuth

Syntax
SatelliteAzimuth( inSatelliteIndex As Integer ) As Variant

The azimuth for the inSatelliteIndex-th satellite. In degrees True, 000-359.

If inSatelliteIndex is out of range ( 1-4 ) or the satellites for this index doesn't exist, it returns Nil.

SatelliteElevation

Syntax
SatelliteElevation( inSatelliteIndex As Integer ) As Variant

The elevation for the inSatelliteIndex-th satellite. In degrees True, 00 is on the horizon and 90 is at the vertical.

If inSatelliteIndex is out of range ( 1-4 ) or the satellites for this index doesn't exist, it returns Nil.

SatellitePRN

Syntax
SatellitePRN( inSatelliteIndex As Integer ) As Variant

The Pseudorandom noise (PRN) code for for the inSatelliteIndex-th satellite. As there are 32 GPS satellites active at the same time, the range for this value is 1-32.

If inSatelliteIndex is out of range ( 1-4 ) or the satellites for this index doesn't exist, it returns Nil.

SatelliteSNRatio

Syntax
SatelliteSNRatio( inSatelliteIndex As Integer ) As Variant

The Signal to Noise ratio ( SNR ) for the inSatelliteIndex-th satellite. The value returned is 00-99 dB.

 If inSatelliteIndex is out of range ( 1-4 ) or the satellite for this index doesn't exist, it returns Nil.

TotalSatelliteCount

Syntax
TotalSatelliteCount() As Variant

The total number of satellites in view. Returns Nil if this data is not available.

gpskit/docs/zdgpskit/nmea/gpgsv.txt · Last modified: 2016/01/29 17:28 (external edit)