kopia lustrzana https://github.com/meshtastic/protobufs
Geochat
rodzic
5fca196a62
commit
703a85f4d8
|
@ -1,4 +1,4 @@
|
||||||
*Contact.callsign max_size:120
|
*Contact.callsign max_size:120
|
||||||
|
|
||||||
*Status.battery int_size:8
|
*Status.battery int_size:8
|
||||||
*PLI.course int_size:16
|
*PLI.course int_size:16
|
||||||
|
*GeoChat.message max_size:200
|
|
@ -12,18 +12,22 @@ option swift_prefix = "";
|
||||||
*/
|
*/
|
||||||
message TAKPacket
|
message TAKPacket
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
|
* Are the payloads strings compressed for LoRA transport?
|
||||||
|
*/
|
||||||
|
boolean is_compressed = 1;
|
||||||
/*
|
/*
|
||||||
* The contact / callsign for ATAK user
|
* The contact / callsign for ATAK user
|
||||||
*/
|
*/
|
||||||
Contact contact = 1;
|
Contact contact = 2;
|
||||||
/*
|
/*
|
||||||
* The group for ATAK user
|
* The group for ATAK user
|
||||||
*/
|
*/
|
||||||
Group group = 2;
|
Group group = 3;
|
||||||
/*
|
/*
|
||||||
* The status of the ATAK EUD
|
* The status of the ATAK EUD
|
||||||
*/
|
*/
|
||||||
Status status = 5;
|
Status status = 4;
|
||||||
/*
|
/*
|
||||||
* The payload of the packet
|
* The payload of the packet
|
||||||
*/
|
*/
|
||||||
|
@ -31,14 +35,24 @@ message TAKPacket
|
||||||
/*
|
/*
|
||||||
* TAK position report
|
* TAK position report
|
||||||
*/
|
*/
|
||||||
PLI pli = 3;
|
PLI pli = 5;
|
||||||
/*
|
/*
|
||||||
* Other binary data
|
* ATAK GeoChat message
|
||||||
*/
|
*/
|
||||||
bytes data = 4;
|
GeoChat chat = 6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ATAK GeoChat message
|
||||||
|
*/
|
||||||
|
message GeoChat {
|
||||||
|
/*
|
||||||
|
* The text message
|
||||||
|
*/
|
||||||
|
string message = 1;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ATAK Group
|
* ATAK Group
|
||||||
* <__group role='Team Member' name='Cyan'/>
|
* <__group role='Team Member' name='Cyan'/>
|
||||||
|
@ -224,4 +238,4 @@ message PLI {
|
||||||
* Course in degrees
|
* Course in degrees
|
||||||
*/
|
*/
|
||||||
uint32 course = 5;
|
uint32 course = 5;
|
||||||
}
|
}
|
Ładowanie…
Reference in New Issue