Skip to content

Commit c6ac002

Browse files
Supported new ledger devices
1 parent ba9b143 commit c6ac002

File tree

1 file changed

+17
-3
lines changed
  • feature-ledger-impl/src/main/java/io/novafoundation/nova/feature_ledger_impl/sdk/connection/ble

1 file changed

+17
-3
lines changed

feature-ledger-impl/src/main/java/io/novafoundation/nova/feature_ledger_impl/sdk/connection/ble/LedgerBleManager.kt

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,27 @@ class LedgerBleManager(
2626
contextManager: ContextManager
2727
) : BleManager(contextManager.getApplicationContext()), DataReceivedCallback {
2828

29+
// 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
2930
companion object {
3031
val supportedLedgerDevices by lazy {
3132
listOf(
33+
// Nano X
3234
SupportedBleDevice(
33-
serviceUuid = "13D63400-2C97-0004-0000-4C6564676572".toUuid(),
34-
writeUuid = "13D63400-2C97-0004-0002-4C6564676572".toUuid(),
35-
notifyUuid = "13D63400-2C97-0004-0001-4C6564676572".toUuid()
35+
serviceUuid = "13d63400-2c97-0004-0000-4c6564676572".toUuid(),
36+
notifyUuid = "13d63400-2c97-0004-0001-4c6564676572".toUuid(),
37+
writeUuid = "13d63400-2c97-0004-0002-4c6564676572".toUuid()
38+
),
39+
// Stax
40+
SupportedBleDevice(
41+
serviceUuid = "13d63400-2c97-6004-0000-4c6564676572".toUuid(),
42+
notifyUuid = "13d63400-2c97-6004-0001-4c6564676572".toUuid(),
43+
writeUuid = "13d63400-2c97-6004-0002-4c6564676572".toUuid()
44+
),
45+
// Flex
46+
SupportedBleDevice(
47+
serviceUuid = "13d63400-2c97-3004-0000-4c6564676572".toUuid(),
48+
notifyUuid = "13d63400-2c97-3004-0001-4c6564676572".toUuid(),
49+
writeUuid = "13d63400-2c97-3004-0002-4c6564676572".toUuid()
3650
)
3751
)
3852
}

0 commit comments

Comments
 (0)