Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add full support for wireless BT on Linux - This makes use of the `node-ble` package which directly communicates with dbus on Linux. - Requires modification to dbus config to work, see https://github.com/chrvadala/node-ble?tab=readme-ov-file#provide-permissions - Add many GX dongle features: - Pairing/unpairing trackers (w/ events) - Turning off trackers - Set COM communication channel - Manually request data from dongle - Add getting interpreter's com.ts/bluetooth(-linux).ts instances - Allows you to run methods inside those files with the instance currently being used by the interpreter - Add processing of some wireless BT data when received - Add TS types & definitions - Add extra failsafes if receiving no data - BT code times out if discovery of services/characteristics take too long - Data timeouts in listenToDeviceEvents() that removes & disconnects the tracker if no "data" event is fired after 10 seconds - Add numerous (un)known UUIDs for wireless BT trackers - Increase canSendButtonData timeout to 2000 - Numerous logging changes - Optimizations to writing to COM ports - Update packages - Fix BTSPP detection on Windows - This is something I can't really test, I don't have any BTSPP devices - Fix bluetooth initialization errors (even when perfectly fine) - Fix GX dongle per-tracker settings - Fully stable now, no need to "not recommend" anymore - Fix battery processing breaking interpreter if trackers aren't assigned yet - Fix removeActiveDevices() returning nothing - Fix "null" and "DONGLE" tracker ids - Fix "fireEventName()" methods with BT + COM enabled - Fix fireTrackerBattery() not processing BT battery & add delay before reading battery for COM - Remove "no button pressed" log - Fix error printing - Other bug fixes & optimizations
- Loading branch information