@blueid/access-proto 9.19.0 → 9.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BlueCore.proto +40 -1
- package/package.json +1 -1
package/BlueCore.proto
CHANGED
|
@@ -88,6 +88,7 @@ enum BlueReturnCode {
|
|
|
88
88
|
PointerConversionFailed = -20;
|
|
89
89
|
Unavailable = -21;
|
|
90
90
|
Aborted = -22;
|
|
91
|
+
OutOfMemory = -23;
|
|
91
92
|
|
|
92
93
|
Test = -29;
|
|
93
94
|
|
|
@@ -521,6 +522,44 @@ message BlueSPResult {
|
|
|
521
522
|
[ (nanopb).max_size = 1792 ]; // we'll add 256b for add. data
|
|
522
523
|
}
|
|
523
524
|
|
|
525
|
+
///////////////////////////////////////////////////////////////////////
|
|
526
|
+
// Secure Protocol over WebSocket
|
|
527
|
+
///////////////////////////////////////////////////////////////////////
|
|
528
|
+
|
|
529
|
+
message BlueWebSPHandshake {
|
|
530
|
+
required bytes salt = 1
|
|
531
|
+
[ (nanopb).max_size = 16, (nanopb).fixed_length = true ];
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
message BlueWebSPHandshakeReply {
|
|
535
|
+
required string deviceId = 1 [ (nanopb).max_length = 8 ];
|
|
536
|
+
required bytes signature = 2 [ (nanopb).max_size = 74 ];
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
message BlueWebSPMessage {
|
|
540
|
+
required uint32 transactionId = 1 [ (nanopb).int_size = IS_8 ];
|
|
541
|
+
required BlueSPResult payload = 2;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
// Message sent by the server to the device
|
|
545
|
+
message BlueWebSPServerMessage {
|
|
546
|
+
oneof payload {
|
|
547
|
+
BlueWebSPHandshake handshake = 2;
|
|
548
|
+
BlueSPTokenCommand command = 3;
|
|
549
|
+
BlueOssSoMobile ossSo = 4;
|
|
550
|
+
BlueOssSidMobile ossSid = 5;
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
message BlueWebSPClientMessage {
|
|
555
|
+
// TODO: payload
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
message BlueWebSPStatusMessage {
|
|
559
|
+
required BlueReturnCode status = 1;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
|
|
524
563
|
///////////////////////////////////////////////////////////////////////
|
|
525
564
|
// Oss shared types
|
|
526
565
|
///////////////////////////////////////////////////////////////////////
|
|
@@ -956,4 +995,4 @@ message _BlueTestEncodeDecode {
|
|
|
956
995
|
required string hardware_name = 2 [ (nanopb).max_length = 32 ];
|
|
957
996
|
required int32 hardware_version = 3;
|
|
958
997
|
required int32 application_version = 4;
|
|
959
|
-
}
|
|
998
|
+
}
|