mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-10-23 12:52:58 +00:00
* refactor: "neighbors" command
This commit is contained in:
1 parent
056bcf83d9
commit
8a8e89f282
4 files changed
+30
-21
No files matched your search
@@ -161,6 +161,8 @@ void CommonCLI::handleCommand(uint32_t sender_timestamp, const char* command, ch
|
||||
} else {
|
||||
strcpy(reply, "(ERR: clock cannot go backwards)");
|
||||
}
|
||||
} else if (memcmp(command, "neighbors", 9) == 0) {
|
||||
_callbacks->formatNeighborsReply(reply);
|
||||
} else if (memcmp(command, "password ", 9) == 0) {
|
||||
// change admin password
|
||||
StrHelper::strncpy(_prefs->password, &command[9], sizeof(_prefs->password));
|
||||
|
||||
Reference in new issue
Block a user