You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tslc | `uint8_t` | s | | Time since last communication in seconds
2351
+
tslc | `uint8_t` | s | | Time since last communication from the remote vehicle, in seconds.
2352
2352
flags | `uint16_t` | | [ADSB_FLAGS](#ADSB_FLAGS) | Bitmap to indicate various statuses including valid data fields
2353
2353
squawk | `uint16_t` | | | Squawk code. Note that the code is in decimal: e.g. 7700 (general emergency) is encoded as binary 0b0001_1110_0001_0100, not(!) as 0b0000_111_111_000_000
2354
2354
@@ -3060,21 +3060,21 @@ The location and information of an AIS vessel
3060
3060
Field Name | Type | Units | Values | Description
3061
3061
--- | --- | --- | --- | ---
3062
3062
MMSI | `uint32_t` | | | Mobile Marine Service Identifier, 9 decimal digits
3063
-
lat | `int32_t` | degE7 | | Latitude
3064
-
lon | `int32_t` | degE7 | | Longitude
3065
-
COG | `uint16_t` | cdeg | | Course over ground
3066
-
heading | `uint16_t` | cdeg | | True heading
3067
-
velocity | `uint16_t` | cm/s | | Speed over ground
3068
-
turn_rate | `int8_t` | ddeg/s | | Turn rate, 0.1 degrees per second
3063
+
lat | `int32_t` | degE7 | invalid:INT32_MAX | Latitude
turn_rate | `int8_t` | ddeg/s | invalid:INT8_MAX | Turn rate, 0.1 degrees per second
3069
3069
navigational_status | `uint8_t` | | [AIS_NAV_STATUS](#AIS_NAV_STATUS) | Navigational status
3070
3070
type | `uint8_t` | | [AIS_TYPE](#AIS_TYPE) | Type of vessels
3071
-
dimension_bow | `uint16_t` | m | | Distance from lat/lon location to bow
3072
-
dimension_stern | `uint16_t` | m | | Distance from lat/lon location to stern
3073
-
dimension_port | `uint8_t` | m | | Distance from lat/lon location to port side
3074
-
dimension_starboard | `uint8_t` | m | | Distance from lat/lon location to starboard side
3075
-
callsign | `char[7]` | | | The vessel callsign
3076
-
name | `char[20]` | | | The vessel name
3077
-
tslc | `uint16_t` | s | | Time since last communication in seconds
3071
+
dimension_bow | `uint16_t` | m | invalid:UINT16_MAX | Distance from lat/lon location to bow
3072
+
dimension_stern | `uint16_t` | m | invalid:UINT16_MAX | Distance from lat/lon location to stern
3073
+
dimension_port | `uint8_t` | m | invalid:UINT8_MAX | Distance from lat/lon location to port side
3074
+
dimension_starboard | `uint8_t` | m | invalid:UINT8_MAX | Distance from lat/lon location to starboard side
3075
+
callsign | `char[7]` | | | The vessel callsign. Characters are encoded as 7-bit ASCII, but only characters in the [AIS 6-bit ASCII subset](https://en.wikipedia.org/wiki/Six-bit_character_code#AIS_SixBit_ASCII) are permitted. Also set [AIS_FLAGS_VALID_CALLSIGN](#AIS_FLAGS_VALID_CALLSIGN) if valid. The string is NULL-terminated if it is shorter than the array length.
3076
+
name | `char[20]` | | | The vessel name. Characters are encoded as 7-bit ASCII, but only characters in the [AIS 6-bit ASCII subset](https://en.wikipedia.org/wiki/Six-bit_character_code#AIS_SixBit_ASCII) are permitted. Also set [AIS_FLAGS_VALID_NAME](#AIS_FLAGS_VALID_NAME) if valid. The string is NULL-terminated if it is shorter than the array length.
3077
+
tslc | `uint16_t` | s | | Time since last communication from the vessel, in seconds
3078
3078
flags | `uint16_t` | | [AIS_FLAGS](#AIS_FLAGS) | Bitmask to indicate various statuses including valid data fields
3079
3079
3080
3080
@@ -5895,19 +5895,19 @@ Value | Name | Description
5895
5895
5896
5896
Value | Name | Description
5897
5897
--- | --- | ---
5898
-
<a id='AIS_FLAGS_POSITION_ACCURACY'></a>1 | [AIS_FLAGS_POSITION_ACCURACY](#AIS_FLAGS_POSITION_ACCURACY) | 1 = Position accuracy less than 10m, 0 = position accuracy greater than 10m.
<a id='AIS_FLAGS_POSITION_ACCURACY'></a>1 | [AIS_FLAGS_POSITION_ACCURACY](#AIS_FLAGS_POSITION_ACCURACY) | 1 = High (Position accuracy less than or equal to 10m), 0 = Low (position accuracy greater than 10m).
5899
+
<a id='AIS_FLAGS_VALID_COG'></a>2 | [AIS_FLAGS_VALID_COG](#AIS_FLAGS_VALID_COG) | The COG field contains valid data
5900
+
<a id='AIS_FLAGS_VALID_VELOCITY'></a>4 | [AIS_FLAGS_VALID_VELOCITY](#AIS_FLAGS_VALID_VELOCITY) | The velocity field contains valid data
<a id='AIS_FLAGS_TURN_RATE_SIGN_ONLY'></a>32 | [AIS_FLAGS_TURN_RATE_SIGN_ONLY](#AIS_FLAGS_TURN_RATE_SIGN_ONLY) | Only the sign of the returned turn rate value is valid, either greater than 5deg/30s or less than -5deg/30s
5902
+
<a id='AIS_FLAGS_VALID_TURN_RATE'></a>16 | [AIS_FLAGS_VALID_TURN_RATE](#AIS_FLAGS_VALID_TURN_RATE) | The turn_rate field contains valid data
5903
+
<a id='AIS_FLAGS_TURN_RATE_SIGN_ONLY'></a>32 | [AIS_FLAGS_TURN_RATE_SIGN_ONLY](#AIS_FLAGS_TURN_RATE_SIGN_ONLY) | Only the sign of the returned turn_rate value is valid. The actual turn rate is either greater than 5deg/30s or less than -5deg/30s.
<a id='AIS_FLAGS_LARGE_BOW_DIMENSION'></a>128 | [AIS_FLAGS_LARGE_BOW_DIMENSION](#AIS_FLAGS_LARGE_BOW_DIMENSION) | Distance to bow is larger than 511m
5906
-
<a id='AIS_FLAGS_LARGE_STERN_DIMENSION'></a>256 | [AIS_FLAGS_LARGE_STERN_DIMENSION](#AIS_FLAGS_LARGE_STERN_DIMENSION) | Distance to stern is larger than 511m
5907
-
<a id='AIS_FLAGS_LARGE_PORT_DIMENSION'></a>512 | [AIS_FLAGS_LARGE_PORT_DIMENSION](#AIS_FLAGS_LARGE_PORT_DIMENSION) | Distance to port side is larger than 63m
5908
-
<a id='AIS_FLAGS_LARGE_STARBOARD_DIMENSION'></a>1024 | [AIS_FLAGS_LARGE_STARBOARD_DIMENSION](#AIS_FLAGS_LARGE_STARBOARD_DIMENSION) | Distance to starboard side is larger than 63m
<a id='AIS_FLAGS_LARGE_BOW_DIMENSION'></a>128 | [AIS_FLAGS_LARGE_BOW_DIMENSION](#AIS_FLAGS_LARGE_BOW_DIMENSION) | Distance to bow is greater than or equal to 511m
5906
+
<a id='AIS_FLAGS_LARGE_STERN_DIMENSION'></a>256 | [AIS_FLAGS_LARGE_STERN_DIMENSION](#AIS_FLAGS_LARGE_STERN_DIMENSION) | Distance to stern is greater than or equal to 511m
5907
+
<a id='AIS_FLAGS_LARGE_PORT_DIMENSION'></a>512 | [AIS_FLAGS_LARGE_PORT_DIMENSION](#AIS_FLAGS_LARGE_PORT_DIMENSION) | Distance to port side is greater than or equal to 63m
5908
+
<a id='AIS_FLAGS_LARGE_STARBOARD_DIMENSION'></a>1024 | [AIS_FLAGS_LARGE_STARBOARD_DIMENSION](#AIS_FLAGS_LARGE_STARBOARD_DIMENSION) | Distance to starboard side is greater than or equal to 63m
5909
+
<a id='AIS_FLAGS_VALID_CALLSIGN'></a>2048 | [AIS_FLAGS_VALID_CALLSIGN](#AIS_FLAGS_VALID_CALLSIGN) | The callsign field contains valid data
5910
+
<a id='AIS_FLAGS_VALID_NAME'></a>4096 | [AIS_FLAGS_VALID_NAME](#AIS_FLAGS_VALID_NAME) | The name field contains valid data
0 commit comments