From 8f53e9b849daebfaa6d37f7e7f50ecea28ef0d7b Mon Sep 17 00:00:00 2001 From: liamcottle Date: Tue, 11 Feb 2025 21:39:18 +1300 Subject: [PATCH] implement ble connection and tidy up classes --- index.html | 59 ++++--- src/connection/ble_connection.js | 95 +++++++++++ src/{device.js => connection/connection.js} | 149 +----------------- src/connection/serial_connection.js | 165 ++++++++++++++++++++ src/constants.js | 8 +- 5 files changed, 301 insertions(+), 175 deletions(-) create mode 100644 src/connection/ble_connection.js rename src/{device.js => connection/connection.js} (65%) create mode 100644 src/connection/serial_connection.js diff --git a/index.html b/index.html index 4ac9f1e..36e64fe 100644 --- a/index.html +++ b/index.html @@ -15,7 +15,7 @@
-
MeshCore Client
+
MeshCore Connection
Developed by Liam Cottle
@@ -24,7 +24,10 @@
+