接口 UBXSentence

所有超级接口:
Sentence

public interface UBXSentence extends Sentence
Base interface (Outer layer) for all UBX Sentences. UBX sentences are parsed in two phases and they share the same NMEA sentence layout.

In the second phase the actual message contents is retrieved. Users should use a UBXMessageParser implementation to retrieve specific UBXMessages. The following UBXMessageParsers are available:

UBX messages are proprietary NMEA messages (Vendor extensions) for u-blox positioning receivers. They are also often referred to as PUBX00, PUBX03 etc. Pxxx identifies this message as proprietary followed by UBX. To be consistent, the Java Marine API uses the term UBX.

Important: u-blox also support a binary messaging format called UBX which is not supported by the Java Marine API.

作者:
Gunnar Hillert
另请参阅:
  • 方法详细资料

    • getMessageId

      Integer getMessageId()
      返回:
      The numeric u-blox proprietary message identifier
    • getUBXFieldIntValue

      Integer getUBXFieldIntValue(int index)
      Parse integer value from the specified sentence field.
      参数:
      index - Field index in sentence
      返回:
      Field parsed by SentenceParser
    • getUBXFieldStringValue

      String getUBXFieldStringValue(int index)
      Parse String value from the specified sentence field.
      参数:
      index - Field index in sentence
      返回:
      Field parsed by SentenceParser
    • getUBXFieldCharValue

      char getUBXFieldCharValue(int index)
      Parse char value from the specified sentence field.
      参数:
      index - Field index in sentence
      返回:
      Field parsed by SentenceParser
    • getUBXFieldDoubleValue

      double getUBXFieldDoubleValue(int index)
      Parse double value from the specified sentence field.
      参数:
      index - Field index in sentence
      返回:
      Field parsed by SentenceParser
    • getUBXFieldCount

      int getUBXFieldCount()
      返回:
      the number of data fields in the sentence, excluding ID field and checksum.
      另请参阅: