Package aisutils :: Module uscg :: Class UscgNmea
[hide private]
[frames] | no frames]

Class UscgNmea

source code

Instance Methods [hide private]
 
__init__(self, nmeaStr=None)
Fields:
source code
BitVector
getBitVector(self)
Returns: bits for the payload (even if this is a multipart)
source code
 
__eq__(self, other) source code
 
__ne__(self, other) source code
 
__str__(self) source code
 
buildNmea(self)
Use the values in this message to reconstruct a single line nmea string
source code
Method Details [hide private]

__init__(self, nmeaStr=None)
(Constructor)

source code 

Fields:

  • rssi ('s'): relative signal strength indicator
  • signalStrength ('d') - signal strendth in dBm
  • timeOfArrival ('T') - time of arrive from receiver - seconds within the minute
  • slotNumber ('S') - Receive slot number
  • station ('r' or 'b') - station name or id that received the message
  • stationTypeCode - first letter of the station name indicating 'b'asestation or 'r'eceive only (I think)
  • cg_sec - receive time of the message from the logging software. Unix UTC second timestamp
  • timestamp - python datetime object in UTC derived from the cg_sec

To Do: parse the other fields?

See Also: Maritime navigation and radiocommunication equipment and systems - Digital interfaces - Part 100: Single talker and multiple listeners - Extra requirements to IEC 61162-1 for the UAIS. (80_330e_PAS) Draft...

getBitVector(self)

source code 
Returns: BitVector
bits for the payload (even if this is a multipart)