mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Add message locations
This commit is contained in:
parent
b682faf1c9
commit
e6b876f4fe
1 changed files with 39 additions and 1 deletions
40
mesh.proto
40
mesh.proto
|
|
@ -706,7 +706,45 @@ message Data {
|
|||
* Defaults to false. If true, then what is in the payload should be treated as an emoji like giving
|
||||
* a message a heart or poop emoji.
|
||||
*/
|
||||
bool is_tapback = 8;
|
||||
fixed32 emoji = 8;
|
||||
|
||||
/*
|
||||
* Location structure
|
||||
*/
|
||||
Location location = 9;
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Location of a waypoint to associate with a message
|
||||
*/
|
||||
message Location {
|
||||
|
||||
/*
|
||||
* Id of the location
|
||||
*/
|
||||
uint32 id = 1;
|
||||
|
||||
/*
|
||||
* latitude_i
|
||||
*/
|
||||
sfixed32 latitude_i = 2;
|
||||
|
||||
/*
|
||||
* longitude_i
|
||||
*/
|
||||
sfixed32 longitude_i = 3;
|
||||
|
||||
/*
|
||||
* Time the location is to expire (epoch)
|
||||
*/
|
||||
uint32 expire = 4;
|
||||
|
||||
/*
|
||||
* If true, only allow the original sender to update the location.
|
||||
*/
|
||||
bool locked = 5;
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue