Aircraft

data class Aircraft(val icao: String = "", val registration: String = "", val flight: String = "", val aircraftType: String = "", val squawk: Int = 0, val category: String = "", val rssiX10: Int = 0, val gps: Boolean = false, val cotHostId: String = "") : TakPacketV2Data.Payload(source)

ADS-B / military air track. Maps to the AircraftTrack protobuf message (payload_variant tag 32). The structured fields are synthesized into a <remarks> line on rebuild when no <_aircot_> element fits.

Constructors

Link copied to clipboard
constructor(icao: String = "", registration: String = "", flight: String = "", aircraftType: String = "", squawk: Int = 0, category: String = "", rssiX10: Int = 0, gps: Boolean = false, cotHostId: String = "")

Properties

Link copied to clipboard

Aircraft type designator (e.g. "B738").

Link copied to clipboard

ADS-B emitter category string.

Link copied to clipboard

UID of the receiving CoT host (sensor gateway).

Link copied to clipboard

Flight number / callsign (e.g. "UAL123").

Link copied to clipboard

True if the track has a valid GPS fix.

Link copied to clipboard

6-hex-digit ICAO 24-bit address (e.g. "A1B2C3").

Link copied to clipboard

Tail / registration (e.g. "N12345").

Link copied to clipboard

Receiver RSSI in dBm × 10 (e.g. -85 dBm → -850); 0 = not reported.

Link copied to clipboard
val squawk: Int

Transponder squawk code (0 = not reported).