From 3c06a5962b35f3959f17b9120802bf286dba01c7 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Mon, 21 Dec 2020 14:46:17 +0800 Subject: [PATCH 1/2] add doc note --- mesh.proto | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mesh.proto b/mesh.proto index f1fef18..f6772f5 100644 --- a/mesh.proto +++ b/mesh.proto @@ -549,7 +549,8 @@ message RadioConfig { /** If set, we are powered from a low-current source (i.e. solar), so even if it looks like we have power flowing in - we should try to minimize power consumption as much as possible. Often combined with is_router. + we should try to minimize power consumption as much as possible. YOU DO NOT NEED TO SET THIS IF YOU'VE + set is_router (it is implied in that case). */ bool is_low_power = 38; From 3473446418a4e83ff0ff4c7588101c2e1b29e604 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Wed, 23 Dec 2020 17:45:28 +0800 Subject: [PATCH 2/2] IP tunnel only needs one meshtastic portnum --- portnums.proto | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/portnums.proto b/portnums.proto index 964be66..422b6ca 100644 --- a/portnums.proto +++ b/portnums.proto @@ -15,7 +15,6 @@ option optimize_for = LITE_RUNTIME; 64-127 Registered 3rd party apps, send in a pull request that adds a new entry to portnums.proto to register your application 256-511 Use one of these portnums for your private applications that you don't want to register publically - 1024-66559 Are reserved for use by IP tunneling (see FIXME for more information) All other values are reserved. @@ -70,10 +69,10 @@ enum PortNum { */ REPLY_APP = 32; + /** Used for the python IP tunnel feature */ + IP_TUNNEL_APP = 33; + /** Private applications should use portnums >= 256. To simplify initial development and testing you can use "PRIVATE_APP" in your code without needing to rebuild protobuf files (via bin/regin_protos.sh) */ PRIVATE_APP = 256; - - /** 1024-66559 Are reserved for use by IP tunneling (see FIXME for more information) */ - IP_TUNNEL_APP = 1024; } \ No newline at end of file