TAK Packets

This commit is contained in:
Ben Meadors 2024-02-01 19:11:15 -06:00
parent b508d2e7ce
commit 51765f3d16
2 changed files with 49 additions and 1 deletions

View file

@ -1518,4 +1518,46 @@ message DeviceMetadata {
* Has Remote Hardware enabled
*/
bool hasRemoteHardware = 10;
}
}
/*
* Packets for the official ATAK Plugin
*/
message TAK_Packet
{
string call_sign = 1;
/*
* The payload of the packet
*/
oneof payload_variant {
/*
* TAK position report
*/
TAK_PLI tak_pli = 1;
/*
* Other binary data
*/
bytes data = 2;
}
}
/*
* Position Location Information from ATAK
*/
message TAK_PLI {
/*
* The new preferred location encoding, multiply by 1e-7 to get degrees
* in floating point
*/
sfixed32 latitude_i = 1;
/*
* The new preferred location encoding, multiply by 1e-7 to get degrees
* in floating point
*/
sfixed32 longitude_i = 2;
/*
* Altitude
*/
int32 altitude = 3;
}

View file

@ -184,6 +184,12 @@ enum PortNum {
* ENCODING: Protobuf
*/
NEIGHBORINFO_APP = 71;
/*
* ATAK Plugin
* Portnum for payloads from the official Meshtastic ATAK plugin
*/
ATAK_PLUGIN = 72;
/*
* Private applications should use portnums >= 256.