added ability to sign data

This commit is contained in:
liamcottle 2025-10-07 12:08:50 +13:00
parent 3164f1b3b5
commit db5831b9c6
2 changed files with 130 additions and 1 deletions

View file

@ -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 = {