Skip to content

Commit

Permalink
Merge pull request #1766 from novasamatech/fix/ledger-new-devices
Browse files Browse the repository at this point in the history
Supported new ledger devices.
  • Loading branch information
antonijzelinskij authored Jan 20, 2025
2 parents c962040 + c6ac002 commit b610bde
Showing 1 changed file with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,27 @@ class LedgerBleManager(
contextManager: ContextManager
) : BleManager(contextManager.getApplicationContext()), DataReceivedCallback {

// You can find this and new devices here: https://github.com/LedgerHQ/device-sdk-ts/blob/develop/packages/device-management-kit/src/api/device-model/data/StaticDeviceModelDataSource.ts
companion object {
val supportedLedgerDevices by lazy {
listOf(
// Nano X
SupportedBleDevice(
serviceUuid = "13D63400-2C97-0004-0000-4C6564676572".toUuid(),
writeUuid = "13D63400-2C97-0004-0002-4C6564676572".toUuid(),
notifyUuid = "13D63400-2C97-0004-0001-4C6564676572".toUuid()
serviceUuid = "13d63400-2c97-0004-0000-4c6564676572".toUuid(),
notifyUuid = "13d63400-2c97-0004-0001-4c6564676572".toUuid(),
writeUuid = "13d63400-2c97-0004-0002-4c6564676572".toUuid()
),
// Stax
SupportedBleDevice(
serviceUuid = "13d63400-2c97-6004-0000-4c6564676572".toUuid(),
notifyUuid = "13d63400-2c97-6004-0001-4c6564676572".toUuid(),
writeUuid = "13d63400-2c97-6004-0002-4c6564676572".toUuid()
),
// Flex
SupportedBleDevice(
serviceUuid = "13d63400-2c97-3004-0000-4c6564676572".toUuid(),
notifyUuid = "13d63400-2c97-3004-0001-4c6564676572".toUuid(),
writeUuid = "13d63400-2c97-3004-0002-4c6564676572".toUuid()
)
)
}
Expand Down

0 comments on commit b610bde

Please sign in to comment.