@ledgerhq/hw-transport-node-ble
TypeScript icon, indicating that this package has built-in type declarations

6.28.5 • Public • Published

GitHub, Ledger Devs Discord, Developer Portal

@ledgerhq/hw-transport-node-ble

Ledger Hardware Wallet Bluetooth BLE transport for Node.js (noble)

API

Table of Contents

BluetoothTransport

Extends Transport

TransportNodeBle bluetooth BLE implementation

Parameters

  • device Device
  • writeCharacteristic any
  • notifyObservable Observable<Buffer>
  • deviceModel DeviceModel

Examples

import BluetoothTransport from "@ledgerhq/hw-transport-node-ble";

exchange

communicate with a BLE transport

Parameters

Returns Promise<Buffer>

isSupported

Returns Promise<boolean>

availability

listen

Scan for bluetooth Ledger devices

Parameters
  • observer any

open

Open a BLE transport

Parameters
  • deviceOrId any

disconnect

Globally disconnect a BLE device by its ID

Parameters
  • id any

Are you adding Ledger support to your software wallet?

You may be using this package to open a Bluetooth connexion between your web application and the device.

For a smooth and quick integration:

  • See the developers’ documentation on the Developer Portal and
  • Go on Discord to chat with developer support and the developer community.

/@ledgerhq/hw-transport-node-ble/

    Package Sidebar

    Install

    npm i @ledgerhq/hw-transport-node-ble

    Weekly Downloads

    6

    Version

    6.28.5

    License

    Apache-2.0

    Unpacked Size

    103 kB

    Total Files

    26

    Last publish

    Collaborators

    • thomas.coudray
    • ldg-github-ci
    • aboissiere
    • vbouzon
    • gbrahm-ledger
    • sergii-shkolin
    • phenry-ledger