@exodus/ledgerhq-devices
TypeScript icon, indicating that this package has built-in type declarations

8.1.0-exodus.5 • Public • Published

@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)

  • Model Ledger Nano S : 0x10 Ledger Blue : 0x00 Ledger Nano X : 0x40

  • Interface support bitfield Generic HID : 0x01 Keyboard HID : 0x02 U2F : 0x04 CCID : 0x08 WebUSB : 0x10

Type: number

ledgerUSBVendorId

Type: number

getDeviceModel

Parameters

  • id DeviceModelId

Returns DeviceModel

identifyTargetId

Given a targetId, return the deviceModel associated to it, based on the first two bytes.

Parameters

Returns (DeviceModel | null | undefined)

identifyUSBProductId

Parameters

Returns (DeviceModel | null | undefined)

getBluetoothServiceUuids

Returns Array<string>

getInfosForServiceUuid

Parameters

Returns (BluetoothInfos | undefined)

DeviceModel

BluetoothInfos

Readme

Keywords

Package Sidebar

Install

npm i @exodus/ledgerhq-devices

Weekly Downloads

1,044

Version

8.1.0-exodus.5

License

Apache-2.0

Unpacked Size

33 kB

Total Files

9

Last publish

Collaborators

  • juraex
  • kevva
  • doguhan
  • janwe
  • yevhenii_molodyk
  • javiexodus
  • ismamz
  • exojo
  • feri42
  • jprichardson
  • farisissa
  • ryanzim
  • headfire
  • gutenye
  • mosesbot
  • roccomuso
  • dcastagnoli
  • sonaye
  • ves
  • tenaciousmv
  • asyakost
  • bulgakovk
  • chalker
  • andrejb
  • jaydp17
  • olistic
  • joepie91
  • merlz
  • vbonini
  • mol0d
  • devopsrobot
  • jenish-sojitra
  • markoexodus
  • nachoalvarez
  • giovannirco
  • filipexodus
  • cryptosgr
  • andrescarreon
  • diegomura
  • lanre-mark
  • sunilagrawal
  • guillecura
  • mariosvlad
  • federico-po
  • akinncar
  • fboucquez
  • lanahizzle
  • kwwood
  • umito
  • joshuabot
  • iaacek
  • meniem
  • skapala
  • awilson-rs
  • ggabarrin-rs
  • ralph.ba
  • danh.t.vo
  • voltagebots
  • ryansquared-npm
  • alexandrbbm
  • sergii_bo
  • florianmathieu
  • angelloz
  • exodus-justin.za
  • alex.alexandrius
  • rec
  • rg911
  • jamiemaw
  • james-gre
  • shehryar6
  • geoffreyrousset
  • clarkexo
  • tunguyennnnn
  • jschopen
  • cawfree
  • marcos.kichel
  • andrewtoth-exodus
  • cdotta-exodus
  • exorich
  • mmehta-10
  • kryptkeep
  • 633kh4ck
  • mbaraniak-exodus
  • jeehahn
  • hasakura
  • awesomeniko
  • davidexodus
  • r4vn
  • nantoaqui
  • exoleo
  • ale-exo
  • frankliexodus
  • bekatd
  • ronaldcrb
  • muratso
  • yalomist
  • joshua-rogers-exodus
  • jdmdreamer
  • vikas027
  • angel_exodus
  • sripwoud
  • coreycollins
  • xogdg
  • chrisrichexo
  • harshjv