implement private key import and export

This commit is contained in:
liamcottle 2025-02-21 16:58:17 +13:00
parent a95402c68b
commit a04a3a9b19
3 changed files with 148 additions and 0 deletions

View file

@ -34,6 +34,8 @@ class Constants {
GetBatteryVoltage: 20,
SetTuningParams: 21, // todo
DeviceQuery: 22,
ExportPrivateKey: 23,
ImportPrivateKey: 24,
}
static ResponseCodes = {
@ -51,6 +53,8 @@ class Constants {
ExportContact: 11,
BatteryVoltage: 12,
DeviceInfo: 13,
PrivateKey: 14,
Disabled: 15,
}
static PushCodes = {