From c5ff355b99c7236922eecd2bbb7e6410ca2a9a98 Mon Sep 17 00:00:00 2001 From: Joseph-Jacobson Date: Tue, 1 Jul 2025 09:15:20 -0700 Subject: [PATCH 1/2] added bluetooth tags --- src/EmotiBitPacket.cpp | 1 + src/EmotiBitPacket.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/EmotiBitPacket.cpp b/src/EmotiBitPacket.cpp index 13b54ff..d236c33 100644 --- a/src/EmotiBitPacket.cpp +++ b/src/EmotiBitPacket.cpp @@ -67,6 +67,7 @@ const char* EmotiBitPacket::TypeTag::MODE_LOW_POWER = "ML\0"; // Stops sendin const char* EmotiBitPacket::TypeTag::MODE_MAX_LOW_POWER = "MM\0"; // Stops sending data timestamping accuracy drops const char* EmotiBitPacket::TypeTag::MODE_WIRELESS_OFF = "MO\0"; // Stops sending data timestamping should be accurate const char* EmotiBitPacket::TypeTag::MODE_HIBERNATE = "MH\0"; // Full shutdown of all operation +const char* EmotiBitPacket::TypeTag::MODE_BLUETOOTH = "MB\0"; // Bluetooth mode const char* EmotiBitPacket::TypeTag::EMOTIBIT_DISCONNECT = "ED\0"; const char* EmotiBitPacket::TypeTag::SERIAL_DATA_ON = "S+\0"; const char* EmotiBitPacket::TypeTag::SERIAL_DATA_OFF = "S-\0"; diff --git a/src/EmotiBitPacket.h b/src/EmotiBitPacket.h index e92c419..0c515e8 100644 --- a/src/EmotiBitPacket.h +++ b/src/EmotiBitPacket.h @@ -197,6 +197,7 @@ class EmotiBitPacket { static const char* MODE_MAX_LOW_POWER; static const char* MODE_WIRELESS_OFF; static const char* MODE_HIBERNATE; + static const char* MODE_BLUETOOTH; static const char* HELLO_EMOTIBIT; static const char* HELLO_HOST; //static const char* HELLO_COMPUTER; From ceb9f907c91a6b84f2c5ee5bd2826e3219db2569 Mon Sep 17 00:00:00 2001 From: Joseph-Jacobson Date: Wed, 6 Aug 2025 11:26:37 -0700 Subject: [PATCH 2/2] Bumped library --- library.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 7fb9717..a006798 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=EmotiBit XPlat Utils -version=1.7.2 +version=1.7.3 author=Connected Future Labs maintainer=Connected Future Labs sentence=A Utilities Library required for the successfull operation of EmotiBit FeatherWing and EmotiBit Oscilloscope Library