add button to reboot device

This commit is contained in:
liamcottle
2025-02-16 17:10:41 +13:00
parent f885391ef5
commit e06ed0deee
4 changed files with 65 additions and 11 deletions

View File

@@ -266,6 +266,10 @@ class Connection {
}
}
static async reboot() {
await GlobalState.connection.reboot();
}
static async onContactMessageReceived(message) {
console.log("onContactMessageReceived", message);