Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Protected Optional transport

transport: undefined | default

Methods

getApplication

  • getApplication(): Promise<default<BluetoothDevice>>

Private getDevice

  • getDevice(): Promise<BluetoothDevice>
  • @ledgerhq/hw-transport-web-ble does not support the request() function to open a connection. Instead, the listen() method must be used. This function wraps the Observer returned by the listen() method with a Promise, and returns the first device found.

    Returns Promise<BluetoothDevice>

Protected getTransport

send

  • send(cla: number, ins: number, p1: number, p2: number): Promise<Buffer>

toString

  • toString(): string

Static isSupported

  • isSupported(): Promise<boolean>

Generated using TypeDoc