Module messages

Source
Expand description

Specific AIS message types

Modules§

addressed_safety_related
Addressed Safety-Related Message (type 12)
aid_to_navigation_report
Aid to Navigation Report (type 21)
assignment_mode_command
Assignment Mode Command (type 16)
base_station_report
Base Station Report (type 4)
binary_acknowledge
Binary Acknowledge (type 7)
binary_addressed
Binary Addressed Message (type 6)
binary_broadcast_message
Binary Broadcast Message (type 8)
data_link_management_message
Data Link Management Message (type 20)
dgnss_broadcast_binary_message
Standard Class B Position Report (type 18)
extended_class_b_position_report
ExtendedClass B Position Report (type 19)
interrogation
Interrogation (type 15)
long_range_ais_broadcast
Long Range AIS Broadcast message (type 27)
navigation
position_report
Position Report (types 1-3)
radio_status
safety_related_acknowledgment
Safety-Related Acknowledge (type 13)
safety_related_broadcast
Safety-Related Broadcast Message (type 14)
standard_aircraft_position_report
Standard SAR Aircraft Position Report (type 9)
standard_class_b_position_report
Standard Class B Position Report (type 18)
static_and_voyage_related_data
Static and Voyage Related Data (type 5)
static_data_report
Static Data Report (type 24)
types
Common data types
utc_date_inquiry
UTC/Date Inquiry (type 10)
utc_date_response
Base Station Report (type 4)

Enums§

AisMessage
Contains all structured messages recognized by this crate

Traits§

AisMessageType
Trait that describes specific types of AIS messages

Functions§

message_type
Gets the message type from the first byte of supplied data
parse
Given an unarmored bitstream (see unarmor() for details), this will return a message type object, if supported by this library and the message is valid.
unarmor
Converts 8-bit ASCII (armored) into packed 6-bit (unarmored) sequences.