Package Exports
- @ledgerhq/devices
- @ledgerhq/devices/lib/hid-framing
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
- DeviceModel
- BluetoothInfos
createHIDframing
Parameters
ledgerUSBVendorId
Type: number
getDeviceModel
Parameters
id
string
Returns DeviceModel
identifyUSBProductId
Parameters
usbProductId
number
Returns DeviceModel?
getBluetoothServiceUuids
getInfosForServiceUuid
Parameters
uuid
string
Returns BluetoothInfos?
DeviceModel
Type: {id: string, productName: string, usbProductId: number, bluetoothSpec: Array<{serviceUuid: string, writeUuid: string, notifyUuid: string}>?}
Properties
id
stringproductName
stringusbProductId
numberbluetoothSpec
Array<{serviceUuid: string, writeUuid: string, notifyUuid: string}>?
BluetoothInfos
Type: {deviceModel: DeviceModel, serviceUuid: string, writeUuid: string, notifyUuid: string}
Properties
deviceModel
DeviceModelserviceUuid
stringwriteUuid
stringnotifyUuid
string