add reboot string to reboot command

This commit is contained in:
liamcottle 2025-02-19 20:48:42 +13:00
parent 53c0723c28
commit 939ca22918

View file

@ -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());
}