mirror of
https://github.com/meshcore-dev/meshcore.js.git
synced 2026-04-20 22:13:49 +00:00
add reboot string to reboot command
This commit is contained in:
parent
53c0723c28
commit
939ca22918
1 changed files with 1 additions and 0 deletions
|
|
@ -175,6 +175,7 @@ class Connection extends EventEmitter {
|
|||
async sendCommandReboot() {
|
||||
const data = new BufferWriter();
|
||||
data.writeByte(Constants.CommandCodes.Reboot);
|
||||
data.writeString("reboot");
|
||||
await this.sendToRadioFrame(data.toBytes());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue