Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SurfacePosition ¶
type SurfacePosition struct { FormatTypeCode byte MovementStatus fields.MovementStatus MovementSpeed float32 GroundTrackStatus bool GroundTrack float32 Time fields.Time CPRFormat fields.CompactPositionReportingFormat EncodedLatitude fields.EncodedLatitude EncodedLongitude fields.EncodedLongitude }
SurfacePosition is a message at the format BDS 0,6
func ReadSurfacePosition ¶
func ReadSurfacePosition(data []byte) (*SurfacePosition, error)
ReadSurfacePosition reads a message at the format SurfacePosition
func (SurfacePosition) CheckCoherency ¶
func (message SurfacePosition) CheckCoherency() error
CheckCoherency checks that the data of the message are somehow coherent, such as for example: no Reserved values, etc.
func (SurfacePosition) GetRegister ¶
func (message SurfacePosition) GetRegister() register.Register
GetRegister returns the Register the message
func (SurfacePosition) ToString ¶
func (message SurfacePosition) ToString() string
Click to show internal directories.
Click to hide internal directories.