dk.navicon.AIS
Class PositionReport

java.lang.Object
  |
  +--dk.navicon.AIS.AISMessage
        |
        +--dk.navicon.AIS.PositionReport

public class PositionReport
extends AISMessage

The position report shall be output periodically by mobile stations.


Field Summary
 int COG
          Course Over Ground in 1/10 degree (0-3599).
 int comm_state
          Communication state.
 int latitude
          Latitude in 1/10 000 minute ( 90 degrees, North = positive, South = negative.
 int longitude
          Longitude in 1/10 000 minute ( 180 degrees, East = positive, West = negative.
 int mmsi_nb
          MMSI number of reporting unit.
 int nav_status
          0 = Under Way, 1= At Anchor, 2 = Not Under Command, 3 = Restricted Manoeuvrability, 4 = constrained by her draught, 5 = moored, 6 = aground, 7 = engaged in fishing, 8 = under way sailing, 9 = reserved for future use, 10 = reserved for future use, 11-14 = reserved for future use; default = 0
 int pos_accuracy
          1 = High (< 10m; e.g.
 int RAIM_flag
          RAIM flag of GPS device.
 int res_for_regional_appls
          [taken from spare] Reserved for definition by a competent regional authority.
 int rot
          +/-127.
 int SOG
          Speed Over Ground in 1/10 knot steps (0-102.2 knots) .
 int spare
          Not used.
 int timestamp
          UTC second when the report was generated (0-59, or 60 if time stamp is not available, which shall also be the default value,or 61 if positioning system is in manual input mode or 62 if positioning system operates in estimated (dead reckoning) mode, or 63 if positioning system is inoperative,).
 int true_heading
          degrees (0-359) (511 indicates not available = default).
 
Fields inherited from class dk.navicon.AIS.AISMessage
msg_id, rep_indi
 
Constructor Summary
PositionReport()
           
PositionReport(java.lang.String s, int fill_bits)
           
 
Method Summary
 dk.navicon.AIS.MessageDescription[] getMessageDescription()
           
 
Methods inherited from class dk.navicon.AIS.AISMessage
decode, encode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mmsi_nb

public int mmsi_nb
MMSI number of reporting unit.


nav_status

public int nav_status
0 = Under Way, 1= At Anchor, 2 = Not Under Command, 3 = Restricted Manoeuvrability, 4 = constrained by her draught, 5 = moored, 6 = aground, 7 = engaged in fishing, 8 = under way sailing, 9 = reserved for future use, 10 = reserved for future use, 11-14 = reserved for future use; default = 0


rot

public int rot
+/-127. (-128 (80 hex) indicates not available, which shall be the default). Coded by ROT[AIS]=4.733 SQRT(ROT[IND]) degrees/min ROT[IND] is the Rate of Turn (+/- 720 degrees per minute), as indicated by an external sensor. + 127 = turning right at 720 degrees per minute or higher; - 127 = turning left at 720 degrees per minute or higher.


SOG

public int SOG
Speed Over Ground in 1/10 knot steps (0-102.2 knots) . 1023 = not available, 1022 = 102.2 knots or higher.


pos_accuracy

public int pos_accuracy
1 = High (< 10m; e.g. Differential Mode of DGNSS receiver, or use of EUROFIX corrections); 0 = low (> 10m; Autonomous Mode of GNSS receiver or of other Electronic Position Fixing Device); Default = 0


longitude

public int longitude
Longitude in 1/10 000 minute ( 180 degrees, East = positive, West = negative. 181 degrees (6791AC0 hex) = not available = default)


latitude

public int latitude
Latitude in 1/10 000 minute ( 90 degrees, North = positive, South = negative. 91 degrees (3412140 hex) = not available = default)


COG

public int COG
Course Over Ground in 1/10 degree (0-3599). 3600 (E10 hex)= not available = default; 3601 - 4095 shall not be used


true_heading

public int true_heading
degrees (0-359) (511 indicates not available = default).


timestamp

public int timestamp
UTC second when the report was generated (0-59, or 60 if time stamp is not available, which shall also be the default value,or 61 if positioning system is in manual input mode or 62 if positioning system operates in estimated (dead reckoning) mode, or 63 if positioning system is inoperative,).


res_for_regional_appls

public int res_for_regional_appls
[taken from spare] Reserved for definition by a competent regional authority. Shall be set to zero, if not used for any regional application. Regional applications shall not use zero.


spare

public int spare
Not used. Shall be set to zero.


RAIM_flag

public int RAIM_flag
RAIM flag of GPS device. 0= RAIM not in use = default; 1 = RAIM in use.


comm_state

public int comm_state
Communication state. Range 1-3

Constructor Detail

PositionReport

public PositionReport()

PositionReport

public PositionReport(java.lang.String s,
                      int fill_bits)
               throws AISParseException
Method Detail

getMessageDescription

public dk.navicon.AIS.MessageDescription[] getMessageDescription()
Overrides:
getMessageDescription in class AISMessage