CoTMessage
Constructors
Properties
Inner XML content of <detail>...</detail> captured by CoTXmlParser when this message was parsed from an incoming ATAK client event. Used as the raw_detail fallback payload when converting to org.meshtastic.proto.TAKPacketV2 for CoT types that don't fit any structured payload (PLI / GeoChat / Aircraft). Null for messages constructed in-app.
The entire original <event>...</event> XML string as received from the ATAK client, captured by CoTXmlParser. Kept solely for diagnostic logging (e.g. when a packet exceeds the mesh MTU and is dropped) so the operator can see what the client actually sent. Null for messages constructed in-app.
Functions
Serialize this CoTMessage to a single <event> XML element suitable for the CoT streaming TCP protocol used by ATAK / iTAK / WinTAK clients.