From 858d816b8c18911fd4dc2aee3fa421fd67325631 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Sat, 10 Apr 2021 11:21:45 +0800 Subject: [PATCH] Add better support for ham radio users. --- docs/docs.md | 1 + mesh.proto | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/docs/docs.md b/docs/docs.md index c8c5934..5009feb 100644 --- a/docs/docs.md +++ b/docs/docs.md @@ -690,6 +690,7 @@ A few nodenums are reserved and will never be requested: | short_name | [string](#string) | | A VERY short name, ideally two characters. Suitable for a tiny OLED screen | | macaddr | [bytes](#bytes) | | This is the addr of the radio. Not populated by the phone, but added by the esp32 when broadcasting | | hw_model | [HardwareModel](#HardwareModel) | | TBEAM, HELTEC, etc... Starting in 1.2.11 moved to hw_model enum in the NodeInfo object. Apps will still need the string here for older builds (so OTA update can find the right image), but if the enum is available it will be used instead. | +| is_licensed | [bool](#bool) | | In some regions HAM radio operators have different bandwidth limitations than others. If this user is a licensed operator, set this flag. Also, "long_name" should be their licence number. | diff --git a/mesh.proto b/mesh.proto index 9f975ae..228918c 100644 --- a/mesh.proto +++ b/mesh.proto @@ -162,6 +162,12 @@ message User { * (so OTA update can find the right image), but if the enum is available it will be used instead. */ HardwareModel hw_model = 6; + + /* + * In some regions HAM radio operators have different bandwidth limitations than others. If this user is a licensed operator, + * set this flag. Also, "long_name" should be their licence number. + */ + bool is_licensed = 7; } /*