refactor ble connection to web ble connection

This commit is contained in:
liamcottle 2025-04-08 13:54:25 +12:00
parent 6a3d96b6c6
commit 06f8f9d4ea
4 changed files with 8 additions and 8 deletions

View file

@ -1,7 +1,7 @@
import Constants from "../constants.js";
import Connection from "./connection.js";
class BleConnection extends Connection {
class WebBleConnection extends Connection {
constructor(bleDevice) {
super();
@ -36,7 +36,7 @@ class BleConnection extends Connection {
return null;
}
return new BleConnection(device);
return new WebBleConnection(device);
}
@ -103,4 +103,4 @@ class BleConnection extends Connection {
}
export default BleConnection;
export default WebBleConnection;