Documentation
¶
Index ¶
- type AddressedSafetyRelated
- type AidToNavigationReport
- type AssignmentModeCommand
- type BaseStationReport
- type BinaryAcknowledge
- type BinaryAddressedMessage
- type BinaryBroadcastMessage
- type ChannelManagement
- type DGNSSBroadcastBinaryMessage
- type DataLinkManagementMessage
- type Decoder
- type DecoderInput
- type DecoderOutput
- type GroupAssignmentCommand
- type Interrogation
- type LongRangeAISBroadcast
- type Message
- func (m *Message) GetAsAddressedSafetyRelated() (p *AddressedSafetyRelated, err error)
- func (m *Message) GetAsAidToNavigationReport() (p *AidToNavigationReport, err error)
- func (m *Message) GetAsAssignmentModeCommand() (p *AssignmentModeCommand, err error)
- func (m *Message) GetAsBaseStationReport() (p *BaseStationReport, err error)
- func (m *Message) GetAsBinaryAcknowledge() (p *BinaryAcknowledge, err error)
- func (m *Message) GetAsBinaryAddressedMessage() (p *BinaryAddressedMessage, err error)
- func (m *Message) GetAsBinaryBroadcastMessage() (p *BinaryBroadcastMessage, err error)
- func (m *Message) GetAsChannelManagement() (p *ChannelManagement, err error)
- func (m *Message) GetAsDGNSSBroadcastBinaryMessage() (p *DGNSSBroadcastBinaryMessage, err error)
- func (m *Message) GetAsDataLinkManagementMessage() (p *DataLinkManagementMessage, err error)
- func (m *Message) GetAsGroupAssignmentCommand() (p *GroupAssignmentCommand, err error)
- func (m *Message) GetAsInterrogation() (p *Interrogation, err error)
- func (m *Message) GetAsLongRangeAISBroadcast() (p *LongRangeAISBroadcast, err error)
- func (m *Message) GetAsPositionReportClassA() (p *PositionReportClassA, err error)
- func (m *Message) GetAsPositionReportClassBExtended() (p *PositionReportClassBExtended, err error)
- func (m *Message) GetAsPositionReportClassBStandard() (p *PositionReportClassBStandard, err error)
- func (m *Message) GetAsSafetyRelatedAcknowledge() (p *SafetyRelatedAcknowledge, err error)
- func (m *Message) GetAsSafetyRelatedBroadcast() (p *SafetyRelatedBroadcast, err error)
- func (m *Message) GetAsSingleSlotBinaryMessage() (p *SingleSlotBinaryMessage, err error)
- func (m *Message) GetAsStandardSARAircraftPositionReport() (p *StandardSARAircraftPositionReport, err error)
- func (m *Message) GetAsStaticAndVoyageRelatedData() (p *StaticAndVoyageRelatedData, err error)
- func (m *Message) GetAsStaticDataReportA() (p *StaticDataReportA, err error)
- func (m *Message) GetAsStaticDataReportB() (p *StaticDataReportB, err error)
- func (m *Message) GetAsUTCDateInquiry() (p *UTCDateInquiry, err error)
- func (m *Message) GetAsUTCDateResponse() (p *UTCDateResponse, err error)
- func (m *Message) IsStaticDataReportA() (bool, error)
- func (m *Message) IsStaticDataReportB() (bool, error)
- type Packet
- type PacketAccumulator
- type PacketAccumulatorResult
- type PositionReportClassA
- type PositionReportClassBExtended
- type PositionReportClassBStandard
- type SafetyRelatedAcknowledge
- type SafetyRelatedBroadcast
- type SingleSlotBinaryMessage
- type StandardSARAircraftPositionReport
- type StaticAndVoyageRelatedData
- type StaticDataReportA
- type StaticDataReportB
- type UTCDateInquiry
- type UTCDateResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressedSafetyRelated ¶
type AidToNavigationReport ¶
type AidToNavigationReport struct {
}
type AssignmentModeCommand ¶
type BaseStationReport ¶
type BinaryAcknowledge ¶
type BinaryAddressedMessage ¶
type BinaryBroadcastMessage ¶
type ChannelManagement ¶
type ChannelManagement struct {
MessageType int64
RepeatIndicator int64
MMSI int64
ChannelA int64
ChannelB int64
TxRxMode int64
Power bool
NELongitude float64
NELatitutde float64
SWLongitude float64
SWLatitude float64
MMSI1 int64
MMSI2 int64
Addressed bool
ChannelABand bool
ChannelBBand bool
ZoneSize int64
}
type DataLinkManagementMessage ¶
type DataLinkManagementMessage struct {
MessageType int64
RepeatIndicator int64
MMSI int64
Offset1 int64
ReservedSlots1 int64
Timeout1 int64
Increment1 int64
Offset2 int64
ReservedSlots2 int64
Timeout2 int64
Increment2 int64
Offset3 int64
ReservedSlots3 int64
Timeout3 int64
Increment3 int64
Offset4 int64
ReservedSlots4 int64
Timeout4 int64
Increment4 int64
}
type Decoder ¶
type Decoder struct {
Input chan DecoderInput
Output chan DecoderOutput
// contains filtered or unexported fields
}
func NewDecoder ¶
func NewDecoder() *Decoder
type DecoderInput ¶
type DecoderOutput ¶
type GroupAssignmentCommand ¶
type Interrogation ¶
type LongRangeAISBroadcast ¶
type Message ¶
type Message struct {
Packets []*Packet
MessageType int64
RepeatIndicator int64
MMSI int64
// contains filtered or unexported fields
}
func (*Message) GetAsAddressedSafetyRelated ¶
func (m *Message) GetAsAddressedSafetyRelated() (p *AddressedSafetyRelated, err error)
func (*Message) GetAsAidToNavigationReport ¶
func (m *Message) GetAsAidToNavigationReport() (p *AidToNavigationReport, err error)
func (*Message) GetAsAssignmentModeCommand ¶
func (m *Message) GetAsAssignmentModeCommand() (p *AssignmentModeCommand, err error)
func (*Message) GetAsBaseStationReport ¶
func (m *Message) GetAsBaseStationReport() (p *BaseStationReport, err error)
func (*Message) GetAsBinaryAcknowledge ¶
func (m *Message) GetAsBinaryAcknowledge() (p *BinaryAcknowledge, err error)
func (*Message) GetAsBinaryAddressedMessage ¶
func (m *Message) GetAsBinaryAddressedMessage() (p *BinaryAddressedMessage, err error)
func (*Message) GetAsBinaryBroadcastMessage ¶
func (m *Message) GetAsBinaryBroadcastMessage() (p *BinaryBroadcastMessage, err error)
func (*Message) GetAsChannelManagement ¶
func (m *Message) GetAsChannelManagement() (p *ChannelManagement, err error)
func (*Message) GetAsDGNSSBroadcastBinaryMessage ¶
func (m *Message) GetAsDGNSSBroadcastBinaryMessage() (p *DGNSSBroadcastBinaryMessage, err error)
func (*Message) GetAsDataLinkManagementMessage ¶
func (m *Message) GetAsDataLinkManagementMessage() (p *DataLinkManagementMessage, err error)
func (*Message) GetAsGroupAssignmentCommand ¶
func (m *Message) GetAsGroupAssignmentCommand() (p *GroupAssignmentCommand, err error)
func (*Message) GetAsInterrogation ¶
func (m *Message) GetAsInterrogation() (p *Interrogation, err error)
func (*Message) GetAsLongRangeAISBroadcast ¶
func (m *Message) GetAsLongRangeAISBroadcast() (p *LongRangeAISBroadcast, err error)
func (*Message) GetAsPositionReportClassA ¶
func (m *Message) GetAsPositionReportClassA() (p *PositionReportClassA, err error)
func (*Message) GetAsPositionReportClassBExtended ¶
func (m *Message) GetAsPositionReportClassBExtended() (p *PositionReportClassBExtended, err error)
func (*Message) GetAsPositionReportClassBStandard ¶
func (m *Message) GetAsPositionReportClassBStandard() (p *PositionReportClassBStandard, err error)
func (*Message) GetAsSafetyRelatedAcknowledge ¶
func (m *Message) GetAsSafetyRelatedAcknowledge() (p *SafetyRelatedAcknowledge, err error)
func (*Message) GetAsSafetyRelatedBroadcast ¶
func (m *Message) GetAsSafetyRelatedBroadcast() (p *SafetyRelatedBroadcast, err error)
func (*Message) GetAsSingleSlotBinaryMessage ¶
func (m *Message) GetAsSingleSlotBinaryMessage() (p *SingleSlotBinaryMessage, err error)
func (*Message) GetAsStandardSARAircraftPositionReport ¶
func (m *Message) GetAsStandardSARAircraftPositionReport() (p *StandardSARAircraftPositionReport, err error)
func (*Message) GetAsStaticAndVoyageRelatedData ¶
func (m *Message) GetAsStaticAndVoyageRelatedData() (p *StaticAndVoyageRelatedData, err error)
func (*Message) GetAsStaticDataReportA ¶
func (m *Message) GetAsStaticDataReportA() (p *StaticDataReportA, err error)
func (*Message) GetAsStaticDataReportB ¶
func (m *Message) GetAsStaticDataReportB() (p *StaticDataReportB, err error)
func (*Message) GetAsUTCDateInquiry ¶
func (m *Message) GetAsUTCDateInquiry() (p *UTCDateInquiry, err error)
func (*Message) GetAsUTCDateResponse ¶
func (m *Message) GetAsUTCDateResponse() (p *UTCDateResponse, err error)
func (*Message) IsStaticDataReportA ¶
func (*Message) IsStaticDataReportB ¶
type Packet ¶
type PacketAccumulator ¶
type PacketAccumulator struct {
Packets chan *Packet
Results chan *PacketAccumulatorResult
}
func NewPacketAccumulator ¶
func NewPacketAccumulator() *PacketAccumulator
type PacketAccumulatorResult ¶
type PositionReportClassA ¶
type PositionReportClassBExtended ¶
type PositionReportClassBExtended struct {
MessageType int64
RepeatIndicator int64
MMSI int64
SpeedOverGround float64
PositionAccuracy bool
Longitude float64
Latitude float64
CourseOverGround float64
TrueHeading int64
TimeStamp int64
VesselName string
ShipType string
DimensionToBow int64
DimensionToStern int64
DimensionToPort int64
DimensionToStarboard int64
EPFDType string
RAIM bool
DTE bool
Assigned bool
}
type PositionReportClassBStandard ¶
type PositionReportClassBStandard struct {
MessageType int64
RepeatIndicator int64
MMSI int64
SpeedOverGround float64
PositionAccuracy bool
Longitude float64
Latitude float64
CourseOverGround float64
TrueHeading int64
TimeStamp int64
CSUnit bool
Display bool
DSC bool
Band bool
Message22 bool
Assigned bool
RAIM bool
RadioStatus int64
}
type SafetyRelatedBroadcast ¶
type SingleSlotBinaryMessage ¶
type StaticAndVoyageRelatedData ¶
type StaticAndVoyageRelatedData struct {
MessageType int64
RepeatIndicator int64
MMSI int64
AISVersion int64
IMONumber int64
CallSign string
VesselName string
ShipType string
DimensionToBow int64
DimensionToStern int64
DimensionToPort int64
DimensionToStarboard int64
EPFDType string
ETAMonth int64
ETADay int64
ETAHour int64
ETAMinute int64
Draught float64
Destination string
DTE bool
}
type StaticDataReportA ¶
type StaticDataReportB ¶
type StaticDataReportB struct {
MessageType int64
RepeatIndicator int64
MMSI int64
PartNumber int64
ShipType string
VendorID string
UnitModelCode int64
SerialNumber int64
CallSign string
DimensionToBow int64
DimensionToStern int64
DimensionToPort int64
DimensionToStarboard int64
MothershipMMSI int64
}
type UTCDateInquiry ¶
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
nmeaais-decoder
command
|
|
|
nmeaais-mock-client
command
|
|
|
nmeaais-mock-listener
command
|
Click to show internal directories.
Click to hide internal directories.