Skip to content

Commit

Permalink
more wire compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
geeksville committed Mar 2, 2021
1 parent 2def8ec commit 7de496f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mesh.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ option java_outer_classname = "MeshProtos";
* a gps position
*/
message Position {
/* The old (pre 1.2) position encoding sent lat/lon as sint32s in field 7,8.
Do not use to prevent confusing old apps */
reserved 7, 8;

/*
* The new preferred location encoding, divide by 1e-7 to get degrees
Expand Down Expand Up @@ -692,8 +695,6 @@ message FromRadio {
/* In the <1.2 versions packet had ID 2, to prevent confusing old apps with our new packets, we've changed */
reserved 2;
/* In the <1.2 versions nodeinfo had ID 4, to prevent confusing old apps with our new packets, we've changed */
reserved 4;
/* In the <1.2 versions nodeinfo had ID 4, to prevent confusing old apps with our new packets, we've changed */
reserved 6;

/*
Expand All @@ -716,7 +717,7 @@ message FromRadio {
* One packet is sent for each node in the on radio DB
* starts over with the first node in our DB
*/
NodeInfo node_info = 5;
NodeInfo node_info = 4;

/*
* set to send debug console output over our protobuf stream
Expand Down

0 comments on commit 7de496f

Please sign in to comment.