tell device what protocol version we support when connected

This commit is contained in:
liamcottle 2025-04-08 12:36:42 +12:00
parent e73632456d
commit 0210b5a438
6 changed files with 21 additions and 9 deletions

View file

@ -22,8 +22,8 @@ class NodeJSSerialConnection extends SerialConnection {
baudRate: 115200,
});
this.serialPort.on("open", () => {
this.onConnected();
this.serialPort.on("open", async () => {
await this.onConnected();
});
this.serialPort.on("close", () => {