mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
TAK Packets
This commit is contained in:
parent
b508d2e7ce
commit
51765f3d16
2 changed files with 49 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue