Add better support for ham radio users.

This commit is contained in:
Kevin Hester 2021-04-10 11:21:45 +08:00
parent 3252ed0f13
commit 858d816b8c
2 changed files with 7 additions and 0 deletions

View file

@ -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. |

View file

@ -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;
}
/*