@ledgerhq/devices
Logic for all Ledger devices.
API
Table of Contents
createHIDframing
Parameters
IIGenericHID
The USB product IDs will be defined as MMII, encoding a model (MM) and an interface bitfield (II)
Type: number
ledgerUSBVendorId
Type: number
getDeviceModel
Parameters
Returns DeviceModel
identifyUSBProductId
Parameters
Returns DeviceModel?
getBluetoothServiceUuids
getInfosForServiceUuid
Parameters
Returns BluetoothInfos?
DeviceModelId
Type: $Keys<any>
DeviceModel
Properties
BluetoothInfos
Properties
Type: {id: DeviceModelId, productName: string, usbProductId: number, bluetoothSpec: Array<{serviceUuid: string, writeUuid: string, notifyUuid: string}>?}
Type: {id: string, productName: string, usbProductId: number, usbOnly: boolean, bluetoothSpec: Array<{serviceUuid: string, writeUuid: string, notifyUuid: string}>?}
master
Properties
BluetoothInfos
Type: {deviceModel: DeviceModel, serviceUuid: string, writeUuid: string, notifyUuid: string}
Properties