From 3473446418a4e83ff0ff4c7588101c2e1b29e604 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Wed, 23 Dec 2020 17:45:28 +0800 Subject: [PATCH] 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