mirror of
https://github.com/meshcore-dev/meshcore.js.git
synced 2026-04-20 22:13:49 +00:00
implement private key import and export
This commit is contained in:
parent
a95402c68b
commit
a04a3a9b19
3 changed files with 148 additions and 0 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue