mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
added new CommonCLI get commands: get role and get public.key
This commit is contained in:
parent
0d5c17f7ed
commit
b77701ced0
4 changed files with 16 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue