From 2b8e4a4b4b86c34049c1dcdbb63a52165725f138 Mon Sep 17 00:00:00 2001 From: thegecko Date: Tue, 18 Feb 2025 13:24:27 +0000 Subject: [PATCH 01/10] v0.7.3 --- .gitmodules | 2 +- SimpleBLE | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitmodules b/.gitmodules index 0c8ae299..dcab7984 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "SimpleBLE"] path = SimpleBLE - url = https://github.com/thegecko/SimpleBLE + url = https://github.com/SimpleBLE/SimpleBLE diff --git a/SimpleBLE b/SimpleBLE index 91fa5b08..b42d6ee9 160000 --- a/SimpleBLE +++ b/SimpleBLE @@ -1 +1 @@ -Subproject commit 91fa5b08ebb9f909e3c2bc5e66471868fded2a8b +Subproject commit b42d6ee9516ba8dc97f4de8dde2390e74aa697a2 From 9efd83f3c635766a5e2445e32b030777a9601cc7 Mon Sep 17 00:00:00 2001 From: thegecko Date: Tue, 18 Feb 2025 16:02:59 +0000 Subject: [PATCH 02/10] v0.8.1 --- lib/peripheral.cpp | 6 ++++-- lib/peripheral.h | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/peripheral.cpp b/lib/peripheral.cpp index 7ef1d69b..75842d7f 100644 --- a/lib/peripheral.cpp +++ b/lib/peripheral.cpp @@ -724,7 +724,8 @@ void Peripheral::onDisconnected(simpleble_peripheral_t, void *userdata) { peripheral->onDisconnectedFn.NonBlockingCall(callback); } -void Peripheral::onNotify(simpleble_uuid_t service, +void Peripheral::onNotify(simpleble_peripheral_t, + simpleble_uuid_t service, simpleble_uuid_t characteristic, const uint8_t *data, size_t data_length, void *userdata) { auto peripheral = reinterpret_cast(userdata); @@ -742,7 +743,8 @@ void Peripheral::onNotify(simpleble_uuid_t service, it->second.NonBlockingCall(callback); } -void Peripheral::onIndicate(simpleble_uuid_t service, +void Peripheral::onIndicate(simpleble_peripheral_t, + simpleble_uuid_t service, simpleble_uuid_t characteristic, const uint8_t *data, size_t data_length, void *userdata) { diff --git a/lib/peripheral.h b/lib/peripheral.h index 027730ba..213ac0a0 100644 --- a/lib/peripheral.h +++ b/lib/peripheral.h @@ -48,6 +48,6 @@ class Peripheral : public Napi::ObjectWrap { static void onConnected(simpleble_peripheral_t peripheral, void *userdata); static void onDisconnected(simpleble_peripheral_t peripheral, void *userdata); - static void onNotify(simpleble_uuid_t service, simpleble_uuid_t characteristic, const uint8_t* data, size_t data_length, void* userdata); - static void onIndicate(simpleble_uuid_t service, simpleble_uuid_t characteristic, const uint8_t* data, size_t data_length, void* userdata); + static void onNotify(simpleble_peripheral_t peripheral, simpleble_uuid_t service, simpleble_uuid_t characteristic, const uint8_t* data, size_t data_length, void* userdata); + static void onIndicate(simpleble_peripheral_t peripheral, simpleble_uuid_t service, simpleble_uuid_t characteristic, const uint8_t* data, size_t data_length, void* userdata); }; From 1877efe35fea1182362a0bc9c9bd99d892f67594 Mon Sep 17 00:00:00 2001 From: thegecko Date: Sat, 17 Jan 2026 12:05:16 +0000 Subject: [PATCH 03/10] v0.9.1 --- SimpleBLE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimpleBLE b/SimpleBLE index b42d6ee9..c96ac8cf 160000 --- a/SimpleBLE +++ b/SimpleBLE @@ -1 +1 @@ -Subproject commit b42d6ee9516ba8dc97f4de8dde2390e74aa697a2 +Subproject commit c96ac8cf0e182a5f72819717167e94ffa26c6a72 From 85b2dd687f6d1fcefe1b963a6c0c4cc8df8cd238 Mon Sep 17 00:00:00 2001 From: thegecko Date: Sat, 17 Jan 2026 12:07:03 +0000 Subject: [PATCH 04/10] v0.10.1 --- SimpleBLE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimpleBLE b/SimpleBLE index c96ac8cf..dae3f5ff 160000 --- a/SimpleBLE +++ b/SimpleBLE @@ -1 +1 @@ -Subproject commit c96ac8cf0e182a5f72819717167e94ffa26c6a72 +Subproject commit dae3f5ff54b75b4e7f63ed8cbe65929f699d772f From 50f2a044e4ef6a3a84ce8256cda17ddd59a26d86 Mon Sep 17 00:00:00 2001 From: thegecko Date: Sat, 17 Jan 2026 12:10:48 +0000 Subject: [PATCH 05/10] v0.10.2 --- SimpleBLE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimpleBLE b/SimpleBLE index dae3f5ff..8c474bf5 160000 --- a/SimpleBLE +++ b/SimpleBLE @@ -1 +1 @@ -Subproject commit dae3f5ff54b75b4e7f63ed8cbe65929f699d772f +Subproject commit 8c474bf5357f053cf9dd5cc520ecb031b10c79b0 From 20c9bf87c5d6ceacd46142e749e9bf0ba41a30c2 Mon Sep 17 00:00:00 2001 From: thegecko Date: Sat, 17 Jan 2026 12:13:23 +0000 Subject: [PATCH 06/10] v0.10.3 --- SimpleBLE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimpleBLE b/SimpleBLE index 8c474bf5..324c42a7 160000 --- a/SimpleBLE +++ b/SimpleBLE @@ -1 +1 @@ -Subproject commit 8c474bf5357f053cf9dd5cc520ecb031b10c79b0 +Subproject commit 324c42a77f8234ea46cbd5a5b418679de514ad7f From 67982ebd5c00b1835a9467411b82491e7fc88ab7 Mon Sep 17 00:00:00 2001 From: thegecko Date: Sat, 17 Jan 2026 12:17:18 +0000 Subject: [PATCH 07/10] v0.10.4 --- SimpleBLE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimpleBLE b/SimpleBLE index 324c42a7..1cfd7ef7 160000 --- a/SimpleBLE +++ b/SimpleBLE @@ -1 +1 @@ -Subproject commit 324c42a77f8234ea46cbd5a5b418679de514ad7f +Subproject commit 1cfd7ef7304d7345d3d3486a820ec49a5f931178 From 2170ff2016349e5be3f6ca785062c83605964575 Mon Sep 17 00:00:00 2001 From: thegecko Date: Fri, 13 Feb 2026 11:38:52 +0000 Subject: [PATCH 08/10] v0.11.0 --- .gitmodules | 2 +- SimpleBLE | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitmodules b/.gitmodules index dcab7984..0c8ae299 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "SimpleBLE"] path = SimpleBLE - url = https://github.com/SimpleBLE/SimpleBLE + url = https://github.com/thegecko/SimpleBLE diff --git a/SimpleBLE b/SimpleBLE index 1cfd7ef7..2d0c377e 160000 --- a/SimpleBLE +++ b/SimpleBLE @@ -1 +1 @@ -Subproject commit 1cfd7ef7304d7345d3d3486a820ec49a5f931178 +Subproject commit 2d0c377e37792351ec411607e586ee2fbe32fe35 From ff37021b58af6f694ee0fdcc7a55dfb86865f99e Mon Sep 17 00:00:00 2001 From: thegecko Date: Fri, 13 Feb 2026 11:56:11 +0000 Subject: [PATCH 09/10] v0.12.1 --- CMakeLists.txt | 2 +- SimpleBLE | 2 +- lib/adapter.h | 2 +- lib/bindings.cpp | 2 +- lib/peripheral.cpp | 2 +- lib/peripheral.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 88822049..9a3e6398 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ elseif(WIN32) set(CMAKE_SYSTEM_VERSION "10.0.22000.0" CACHE STRING "Windows version" FORCE) endif() -add_subdirectory(SimpleBLE/simpleble) +add_subdirectory(SimpleBLE/simplecble) # Add Node bindings. execute_process(COMMAND node -p "require('node-addon-api').include_dir" diff --git a/SimpleBLE b/SimpleBLE index 2d0c377e..4b615b99 160000 --- a/SimpleBLE +++ b/SimpleBLE @@ -1 +1 @@ -Subproject commit 2d0c377e37792351ec411607e586ee2fbe32fe35 +Subproject commit 4b615b990a3278b7bf0831fc49abb86644f6e7ad diff --git a/lib/adapter.h b/lib/adapter.h index 82299358..22142d4b 100644 --- a/lib/adapter.h +++ b/lib/adapter.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include class Adapter : public Napi::ObjectWrap { public: diff --git a/lib/bindings.cpp b/lib/bindings.cpp index b6992d34..3d99044a 100644 --- a/lib/bindings.cpp +++ b/lib/bindings.cpp @@ -1,6 +1,6 @@ #include #include -#include +#include #include "adapter.h" #include "peripheral.h" diff --git a/lib/peripheral.cpp b/lib/peripheral.cpp index 75842d7f..7ff2c63f 100644 --- a/lib/peripheral.cpp +++ b/lib/peripheral.cpp @@ -1,5 +1,5 @@ #include "peripheral.h" -#include "simpleble_c/simpleble.h" +#include "simplecble/simplecble.h" Napi::FunctionReference Peripheral::constructor; diff --git a/lib/peripheral.h b/lib/peripheral.h index 213ac0a0..b81d0779 100644 --- a/lib/peripheral.h +++ b/lib/peripheral.h @@ -2,7 +2,7 @@ #include #include -#include +#include #define SIMPLEBLE_UUID_STR_LEN_TS (SIMPLEBLE_UUID_STR_LEN - 1) // remove null terminator From 7f7ca3537cbe66397bb7d40c527afcd3f4280ce7 Mon Sep 17 00:00:00 2001 From: thegecko Date: Sun, 15 Feb 2026 20:29:54 +0000 Subject: [PATCH 10/10] v6.6.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3064c8f4..98b6fba6 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "webbluetooth", "description": "Node.js implementation of the Web Bluetooth Specification", "license": "MIT", - "version": "3.6.0", + "version": "6.6.0", "main": "dist/index.js", "browser": "dist/browser.js", "author": "Rob Moran ",