Skip to content

Releases: stoprocent/node-bluetooth-hci-socket

v2.2.3

20 May 19:32

Choose a tag to compare

2.2.3 (2025-05-20)

Bug Fixes

  • hci: do not throw in constructor when AF_BLUETOOTH is not available (2dca8d8)
  • uart: downgrade serialport to re-enable node 18 (ffcc0eb)

v2.2.2

20 May 14:44
7268bca

Choose a tag to compare

2.2.2 (2025-05-20)

Bug Fixes

  • usb: update usb-lib calls and improve error logging (#9) (7268bca)

v2.2.1

19 Apr 18:29

Choose a tag to compare

2.2.1 (2025-04-19)

Bug Fixes

  • native: crashing on stop (8d28eb1)

v2.2.0

18 Apr 14:26

Choose a tag to compare

2.2.0 (2025-04-18)

Bug Fixes

  • usb exit handler in start (07fef9f)

Features

v2.1.1

16 Apr 19:57

Choose a tag to compare

2.1.1 (2025-04-16)

Bug Fixes

  • uart: leaking event listener on process exit (d00e950)

v2.1.0

01 Apr 14:16

Choose a tag to compare

2.1.0 (2025-04-01)

Features

  • improved the exports and addjusted interface (01f0af5)

v2.0.0

31 Mar 18:19

Choose a tag to compare

2.0.0 (2025-03-31)

Features

  • adding more flexability to how to pick a driver (a4bfc4b)

BREAKING CHANGES

  • Modified module export structure

The module's export structure has been changed from direct driver export to a new API that supports explicit driver selection.

Old usage:

const bluetooth = require(@stoprocent/bluetooth-hci-socket');
// Automatically selected driver based on platform/env

New usage:

const hci = require('@stoprocent/bluetooth-hci-socket');

// Using default (automatic) driver selection
const defaultDriver = hci.default;

// OR explicitly selecting a driver
const nativeDriver = hci.loadDriver(‘native);
const uartDriver = hci.loadDriver('uart');
const usbDriver = hci.loadDriver('usb');

This change allows users to explicitly control which driver they want to use, but requires updating import statements and usage patterns in existing code.

v1.5.2

26 Feb 07:44

Choose a tag to compare

1.5.2 (2025-02-26)

Bug Fixes

  • safer handling of binding parameters (e1f008c)

v1.5.1

26 Feb 01:41

Choose a tag to compare

1.5.1 (2025-02-26)

Bug Fixes

v1.5.0

26 Feb 01:13

Choose a tag to compare

1.5.0 (2025-02-26)

Features

  • added serial device monitoring to recover from power on->off->on (11be903)