added new CommonCLI get commands: get role and get public.key

This commit is contained in:
recrof 2025-03-29 19:40:35 +01:00
parent 0d5c17f7ed
commit b77701ced0
4 changed files with 16 additions and 3 deletions

View file

@ -66,6 +66,8 @@
static UITask ui_task(display);
#endif
#define FIRMWARE_ROLE "repeater"
#define PACKET_LOG_FILE "/packet_log"
/* ------------------------------ Code -------------------------------- */
@ -512,6 +514,7 @@ public:
const char* getFirmwareVer() override { return FIRMWARE_VERSION; }
const char* getBuildDate() override { return FIRMWARE_BUILD_DATE; }
const char* getRole() override { return FIRMWARE_ROLE; }
const char* getNodeName() { return _prefs.node_name; }
void savePrefs() override {