Package Exports
- @ledgerhq/devices
- @ledgerhq/devices/lib/hid-framing
- @ledgerhq/devices/lib/scrambling
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ledgerhq/devices) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme

@ledgerhq/devices
Logic for all Ledger devices.
API
Table of Contents
- createHIDframing
- ledgerUSBVendorId
- getDeviceModel
- identifyUSBProductId
- getBluetoothServiceUuids
- getInfosForServiceUuid
- DeviceModelId
- DeviceModel
- BluetoothInfos
createHIDframing
Parameters
ledgerUSBVendorId
Type: number
getDeviceModel
Parameters
Returns DeviceModel
identifyUSBProductId
Parameters
usbProductId
number
Returns DeviceModel?
getBluetoothServiceUuids
getInfosForServiceUuid
Parameters
uuid
string
Returns BluetoothInfos?
DeviceModelId
Type: $Keys<any>
DeviceModel
Type: {id: DeviceModelId, productName: string, usbProductId: number, usbOnly: boolean, bluetoothSpec: Array<{serviceUuid: string, writeUuid: string, notifyUuid: string}>?}
Properties
id
DeviceModelIdproductName
stringusbProductId
numberusbOnly
booleanbluetoothSpec
Array<{serviceUuid: string, writeUuid: string, notifyUuid: string}>?
BluetoothInfos
Type: {deviceModel: DeviceModel, serviceUuid: string, writeUuid: string, notifyUuid: string}
Properties
deviceModel
DeviceModelserviceUuid
stringwriteUuid
stringnotifyUuid
string
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
id
DeviceModelIdproductName
stringusbProductId
numberusbOnly
booleanbluetoothSpec
Array<{serviceUuid: string, writeUuid: string, notifyUuid: string}>?
BluetoothInfos
Type: {deviceModel: DeviceModel, serviceUuid: string, writeUuid: string, notifyUuid: string}
Properties
deviceModel
DeviceModelserviceUuid
stringwriteUuid
stringnotifyUuid
string