mirror of
https://github.com/meshcore-dev/meshcore.js.git
synced 2026-04-20 22:13:49 +00:00
added ability to sign data
This commit is contained in:
parent
3164f1b3b5
commit
db5831b9c6
2 changed files with 130 additions and 1 deletions
|
|
@ -43,7 +43,9 @@ class Constants {
|
|||
SendStatusReq: 27, // todo
|
||||
GetChannel: 31,
|
||||
SetChannel: 32,
|
||||
// todo sign commands
|
||||
SignStart: 33,
|
||||
SignData: 34,
|
||||
SignFinish: 35,
|
||||
SendTracePath: 36,
|
||||
// todo set device pin command
|
||||
SetOtherParams: 38,
|
||||
|
|
@ -70,6 +72,8 @@ class Constants {
|
|||
PrivateKey: 14,
|
||||
Disabled: 15,
|
||||
ChannelInfo: 18,
|
||||
SignStart: 19,
|
||||
Signature: 20,
|
||||
}
|
||||
|
||||
static PushCodes = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue