Licensed usage compliance (#6047)

* Prevent psk and legacy admin channel on licensed mode

* Move it

* Consolidate warning strings

* More holes
This commit is contained in:
Ben Meadors
2025-02-15 09:24:37 -06:00
committed by GitHub
parent 919085379e
commit 3f3f89c06e
5 changed files with 49 additions and 6 deletions

View File

@@ -64,6 +64,8 @@ class AdminModule : public ProtobufModule<meshtastic_AdminMessage>, public Obser
void sendWarning(const char *message);
};
static constexpr char *licensedModeMessage = "Licensed mode activated, removing admin channel and encryption from all channels";
extern AdminModule *adminModule;
void disableBluetooth();