接口 UBXSentence
- 所有超级接口:
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
- 另请参阅:
-
字段概要
从接口继承的字段 net.sf.marineapi.nmea.sentence.Sentence
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR -
方法概要
修饰符和类型方法说明chargetUBXFieldCharValue(int index) Parse char value from the specified sentence field.intdoublegetUBXFieldDoubleValue(int index) Parse double value from the specified sentence field.getUBXFieldIntValue(int index) Parse integer value from the specified sentence field.getUBXFieldStringValue(int index) ParseStringvalue from the specified sentence field.从接口继承的方法 net.sf.marineapi.nmea.sentence.Sentence
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isAISSentence, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString
-
方法详细资料
-
getMessageId
Integer getMessageId()- 返回:
- The numeric u-blox proprietary message identifier
-
getUBXFieldIntValue
Parse integer value from the specified sentence field.- 参数:
index- Field index in sentence- 返回:
- Field parsed by
SentenceParser
-
getUBXFieldStringValue
ParseStringvalue 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.
- 另请参阅:
-