Skip to content

Commit

Permalink
v1.8.3
Browse files Browse the repository at this point in the history
+ Fix "connect" event sometimes being emitted while stopping a connection
+ Fix "button" event emitting when starting a connection with dongle
+ Add "buttonPressed" data to make it easier to find which button was pressed (why didn't i add this in the first place)
  + This also reorders "button" event data
+ Handle null BT readings better
+ Other small fixes
  • Loading branch information
JovannMC committed May 11, 2024
1 parent 7d66354 commit 3e98de3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "haritorax-interpreter",
"version": "1.8.2",
"version": "1.8.3",
"homepage": "https://github.com/JovannMC/haritorax-interpreter",
"repository": "https://github.com/JovannMC/haritorax-interpreter",
"bugs": {
Expand Down
6 changes: 3 additions & 3 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ if (mode === "bt" || mode === "bluetooth") {

setInterval(async () => {
console.log("Active trackers for BT:", device.getActiveTrackers());
console.log("Info: ", await device.getDeviceInfo("HaritoraXW-A35EM5"));
console.log("Mag: ", await device.getTrackerMag("HaritoraXW-A35EM5"));
console.log("Battery: ", await device.getBatteryInfo("HaritoraXW-A35EM5"));
console.log("Info: ", await device.getDeviceInfo("HaritoraXW-(SERIAL)"));
console.log("Mag: ", await device.getTrackerMag("HaritoraXW-(SERIAL)"));
console.log("Battery: ", await device.getBatteryInfo("HaritoraXW-(SERIAL)"));
}, 5000);

/*setInterval(async () => {
Expand Down

0 comments on commit 3e98de3

Please sign in to comment.