Allows to communicate with Ledger Hardware Wallets.
[Web] (Bluetooth) – check browser support.
Extends Transport
react-native bluetooth BLE implementation
device
DevicewriteCharacteristic
CharacteristicnotifyObservable
Observable<any>deviceModel
DeviceModel
import BluetoothTransport from "@ledgerhq/hw-transport-web-ble";
Exchange with the device using APDU protocol.
apdu
Buffer
Returns Promise<Buffer> a promise of apdu response
observe event with { available: bool, type: string } (available is generic, type is specific) an event is emit once and then each time it changes
observer
any
Scan for Ledger Bluetooth devices. On this web implementation, it only emits ONE device, the one that was selected in the UI (if any).
observer
any
open a bluetooth device.
deviceOrId
(Device | string)
globally disconnect a bluetooth device by its id.
id
any