@blueid/access-proto 12.8.0 → 12.10.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 +39 -11
- package/BlueSystem.proto +1 -13
- package/cjs/BlueCore_pb.d.ts +178 -6
- package/cjs/BlueCore_pb.js +70 -2
- package/cjs/BlueSystem_pb.d.ts +0 -32
- package/cjs/BlueSystem_pb.js +1 -12
- package/cjs/index.d.ts +0 -1
- package/cjs/index.js +0 -1
- package/es/BlueCore_pb.d.ts +178 -6
- package/es/BlueCore_pb.js +67 -1
- package/es/BlueSystem_pb.d.ts +0 -32
- package/es/BlueSystem_pb.js +0 -14
- package/es/index.d.ts +0 -1
- package/es/index.js +0 -1
- package/nanopb/BlueCore.pb.c +20 -2
- package/nanopb/BlueCore.pb.h +128 -8
- package/nanopb/BlueSystem.pb.c +0 -1
- package/nanopb/BlueSystem.pb.h +7 -48
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +488 -3
- package/swift/BlueSystem.pb.swift +1 -33
- package/BlueNetworkCore.proto +0 -122
- package/cjs/BlueNetworkCore_pb.d.ts +0 -591
- package/cjs/BlueNetworkCore_pb.js +0 -234
- package/es/BlueNetworkCore_pb.d.ts +0 -591
- package/es/BlueNetworkCore_pb.js +0 -215
- package/nanopb/BlueNetworkCore.pb.c +0 -63
- package/nanopb/BlueNetworkCore.pb.h +0 -409
- package/swift/BlueNetworkCore.pb.swift +0 -1700
package/es/BlueCore_pb.d.ts
CHANGED
|
@@ -981,11 +981,6 @@ export declare enum BlueEventInfoSystem {
|
|
|
981
981
|
* @generated from enum value: SystemConfigured = 2;
|
|
982
982
|
*/
|
|
983
983
|
SystemConfigured = 2,
|
|
984
|
-
|
|
985
|
-
/**
|
|
986
|
-
* @generated from enum value: UnknownTransponderDetected = 3;
|
|
987
|
-
*/
|
|
988
|
-
UnknownTransponderDetected = 3,
|
|
989
984
|
}
|
|
990
985
|
|
|
991
986
|
/**
|
|
@@ -1658,7 +1653,7 @@ export declare class BlueSPTokenCommand extends Message<BlueSPTokenCommand> {
|
|
|
1658
1653
|
command: string;
|
|
1659
1654
|
|
|
1660
1655
|
/**
|
|
1661
|
-
* we'll add 256b for add. data
|
|
1656
|
+
* we'll add 256b for add. data
|
|
1662
1657
|
*
|
|
1663
1658
|
* @generated from field: required bytes data = 5;
|
|
1664
1659
|
*/
|
|
@@ -1752,6 +1747,183 @@ export declare class BlueSPResult extends Message<BlueSPResult> {
|
|
|
1752
1747
|
static equals(a: BlueSPResult | PlainMessage<BlueSPResult> | undefined, b: BlueSPResult | PlainMessage<BlueSPResult> | undefined): boolean;
|
|
1753
1748
|
}
|
|
1754
1749
|
|
|
1750
|
+
/**
|
|
1751
|
+
* @generated from message BlueWebSPHandshake
|
|
1752
|
+
*/
|
|
1753
|
+
export declare class BlueWebSPHandshake extends Message<BlueWebSPHandshake> {
|
|
1754
|
+
/**
|
|
1755
|
+
* @generated from field: required bytes salt = 1;
|
|
1756
|
+
*/
|
|
1757
|
+
salt: Uint8Array;
|
|
1758
|
+
|
|
1759
|
+
constructor(data?: PartialMessage<BlueWebSPHandshake>);
|
|
1760
|
+
|
|
1761
|
+
static readonly runtime: typeof proto2;
|
|
1762
|
+
static readonly typeName = "BlueWebSPHandshake";
|
|
1763
|
+
static readonly fields: FieldList;
|
|
1764
|
+
|
|
1765
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueWebSPHandshake;
|
|
1766
|
+
|
|
1767
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueWebSPHandshake;
|
|
1768
|
+
|
|
1769
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueWebSPHandshake;
|
|
1770
|
+
|
|
1771
|
+
static equals(a: BlueWebSPHandshake | PlainMessage<BlueWebSPHandshake> | undefined, b: BlueWebSPHandshake | PlainMessage<BlueWebSPHandshake> | undefined): boolean;
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
/**
|
|
1775
|
+
* @generated from message BlueWebSPHandshakeReply
|
|
1776
|
+
*/
|
|
1777
|
+
export declare class BlueWebSPHandshakeReply extends Message<BlueWebSPHandshakeReply> {
|
|
1778
|
+
/**
|
|
1779
|
+
* @generated from field: required string deviceId = 1;
|
|
1780
|
+
*/
|
|
1781
|
+
deviceId: string;
|
|
1782
|
+
|
|
1783
|
+
/**
|
|
1784
|
+
* @generated from field: required bytes signature = 2;
|
|
1785
|
+
*/
|
|
1786
|
+
signature: Uint8Array;
|
|
1787
|
+
|
|
1788
|
+
constructor(data?: PartialMessage<BlueWebSPHandshakeReply>);
|
|
1789
|
+
|
|
1790
|
+
static readonly runtime: typeof proto2;
|
|
1791
|
+
static readonly typeName = "BlueWebSPHandshakeReply";
|
|
1792
|
+
static readonly fields: FieldList;
|
|
1793
|
+
|
|
1794
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueWebSPHandshakeReply;
|
|
1795
|
+
|
|
1796
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueWebSPHandshakeReply;
|
|
1797
|
+
|
|
1798
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueWebSPHandshakeReply;
|
|
1799
|
+
|
|
1800
|
+
static equals(a: BlueWebSPHandshakeReply | PlainMessage<BlueWebSPHandshakeReply> | undefined, b: BlueWebSPHandshakeReply | PlainMessage<BlueWebSPHandshakeReply> | undefined): boolean;
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
/**
|
|
1804
|
+
* @generated from message BlueWebSPMessage
|
|
1805
|
+
*/
|
|
1806
|
+
export declare class BlueWebSPMessage extends Message<BlueWebSPMessage> {
|
|
1807
|
+
/**
|
|
1808
|
+
* @generated from field: required uint32 transactionId = 1;
|
|
1809
|
+
*/
|
|
1810
|
+
transactionId: number;
|
|
1811
|
+
|
|
1812
|
+
/**
|
|
1813
|
+
* @generated from field: required BlueSPResult payload = 2;
|
|
1814
|
+
*/
|
|
1815
|
+
payload?: BlueSPResult;
|
|
1816
|
+
|
|
1817
|
+
constructor(data?: PartialMessage<BlueWebSPMessage>);
|
|
1818
|
+
|
|
1819
|
+
static readonly runtime: typeof proto2;
|
|
1820
|
+
static readonly typeName = "BlueWebSPMessage";
|
|
1821
|
+
static readonly fields: FieldList;
|
|
1822
|
+
|
|
1823
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueWebSPMessage;
|
|
1824
|
+
|
|
1825
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueWebSPMessage;
|
|
1826
|
+
|
|
1827
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueWebSPMessage;
|
|
1828
|
+
|
|
1829
|
+
static equals(a: BlueWebSPMessage | PlainMessage<BlueWebSPMessage> | undefined, b: BlueWebSPMessage | PlainMessage<BlueWebSPMessage> | undefined): boolean;
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
/**
|
|
1833
|
+
* Message sent by the server to the device
|
|
1834
|
+
*
|
|
1835
|
+
* @generated from message BlueWebSPServerMessage
|
|
1836
|
+
*/
|
|
1837
|
+
export declare class BlueWebSPServerMessage extends Message<BlueWebSPServerMessage> {
|
|
1838
|
+
/**
|
|
1839
|
+
* @generated from oneof BlueWebSPServerMessage.payload
|
|
1840
|
+
*/
|
|
1841
|
+
payload: {
|
|
1842
|
+
/**
|
|
1843
|
+
* @generated from field: BlueWebSPHandshake handshake = 2;
|
|
1844
|
+
*/
|
|
1845
|
+
value: BlueWebSPHandshake;
|
|
1846
|
+
case: "handshake";
|
|
1847
|
+
} | {
|
|
1848
|
+
/**
|
|
1849
|
+
* @generated from field: BlueSPTokenCommand command = 3;
|
|
1850
|
+
*/
|
|
1851
|
+
value: BlueSPTokenCommand;
|
|
1852
|
+
case: "command";
|
|
1853
|
+
} | {
|
|
1854
|
+
/**
|
|
1855
|
+
* @generated from field: BlueOssSoMobile ossSo = 4;
|
|
1856
|
+
*/
|
|
1857
|
+
value: BlueOssSoMobile;
|
|
1858
|
+
case: "ossSo";
|
|
1859
|
+
} | {
|
|
1860
|
+
/**
|
|
1861
|
+
* @generated from field: BlueOssSidMobile ossSid = 5;
|
|
1862
|
+
*/
|
|
1863
|
+
value: BlueOssSidMobile;
|
|
1864
|
+
case: "ossSid";
|
|
1865
|
+
} | { case: undefined; value?: undefined };
|
|
1866
|
+
|
|
1867
|
+
constructor(data?: PartialMessage<BlueWebSPServerMessage>);
|
|
1868
|
+
|
|
1869
|
+
static readonly runtime: typeof proto2;
|
|
1870
|
+
static readonly typeName = "BlueWebSPServerMessage";
|
|
1871
|
+
static readonly fields: FieldList;
|
|
1872
|
+
|
|
1873
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueWebSPServerMessage;
|
|
1874
|
+
|
|
1875
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueWebSPServerMessage;
|
|
1876
|
+
|
|
1877
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueWebSPServerMessage;
|
|
1878
|
+
|
|
1879
|
+
static equals(a: BlueWebSPServerMessage | PlainMessage<BlueWebSPServerMessage> | undefined, b: BlueWebSPServerMessage | PlainMessage<BlueWebSPServerMessage> | undefined): boolean;
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* TODO: payload
|
|
1884
|
+
*
|
|
1885
|
+
* @generated from message BlueWebSPClientMessage
|
|
1886
|
+
*/
|
|
1887
|
+
export declare class BlueWebSPClientMessage extends Message<BlueWebSPClientMessage> {
|
|
1888
|
+
constructor(data?: PartialMessage<BlueWebSPClientMessage>);
|
|
1889
|
+
|
|
1890
|
+
static readonly runtime: typeof proto2;
|
|
1891
|
+
static readonly typeName = "BlueWebSPClientMessage";
|
|
1892
|
+
static readonly fields: FieldList;
|
|
1893
|
+
|
|
1894
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueWebSPClientMessage;
|
|
1895
|
+
|
|
1896
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueWebSPClientMessage;
|
|
1897
|
+
|
|
1898
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueWebSPClientMessage;
|
|
1899
|
+
|
|
1900
|
+
static equals(a: BlueWebSPClientMessage | PlainMessage<BlueWebSPClientMessage> | undefined, b: BlueWebSPClientMessage | PlainMessage<BlueWebSPClientMessage> | undefined): boolean;
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
/**
|
|
1904
|
+
* @generated from message BlueWebSPStatusMessage
|
|
1905
|
+
*/
|
|
1906
|
+
export declare class BlueWebSPStatusMessage extends Message<BlueWebSPStatusMessage> {
|
|
1907
|
+
/**
|
|
1908
|
+
* @generated from field: required BlueReturnCode status = 1;
|
|
1909
|
+
*/
|
|
1910
|
+
status: BlueReturnCode;
|
|
1911
|
+
|
|
1912
|
+
constructor(data?: PartialMessage<BlueWebSPStatusMessage>);
|
|
1913
|
+
|
|
1914
|
+
static readonly runtime: typeof proto2;
|
|
1915
|
+
static readonly typeName = "BlueWebSPStatusMessage";
|
|
1916
|
+
static readonly fields: FieldList;
|
|
1917
|
+
|
|
1918
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueWebSPStatusMessage;
|
|
1919
|
+
|
|
1920
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueWebSPStatusMessage;
|
|
1921
|
+
|
|
1922
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueWebSPStatusMessage;
|
|
1923
|
+
|
|
1924
|
+
static equals(a: BlueWebSPStatusMessage | PlainMessage<BlueWebSPStatusMessage> | undefined, b: BlueWebSPStatusMessage | PlainMessage<BlueWebSPStatusMessage> | undefined): boolean;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1755
1927
|
/**
|
|
1756
1928
|
* @generated from message BlueOssAccessResult
|
|
1757
1929
|
*/
|
package/es/BlueCore_pb.js
CHANGED
|
@@ -267,7 +267,6 @@ export const BlueEventInfoSystem = proto2.makeEnum(
|
|
|
267
267
|
[
|
|
268
268
|
{no: 1, name: "SystemRestart"},
|
|
269
269
|
{no: 2, name: "SystemConfigured"},
|
|
270
|
-
{no: 3, name: "UnknownTransponderDetected"},
|
|
271
270
|
],
|
|
272
271
|
);
|
|
273
272
|
|
|
@@ -550,6 +549,73 @@ export const BlueSPResult = proto2.makeMessageType(
|
|
|
550
549
|
],
|
|
551
550
|
);
|
|
552
551
|
|
|
552
|
+
/**
|
|
553
|
+
* @generated from message BlueWebSPHandshake
|
|
554
|
+
*/
|
|
555
|
+
export const BlueWebSPHandshake = proto2.makeMessageType(
|
|
556
|
+
"BlueWebSPHandshake",
|
|
557
|
+
() => [
|
|
558
|
+
{ no: 1, name: "salt", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
559
|
+
],
|
|
560
|
+
);
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* @generated from message BlueWebSPHandshakeReply
|
|
564
|
+
*/
|
|
565
|
+
export const BlueWebSPHandshakeReply = proto2.makeMessageType(
|
|
566
|
+
"BlueWebSPHandshakeReply",
|
|
567
|
+
() => [
|
|
568
|
+
{ no: 1, name: "deviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
569
|
+
{ no: 2, name: "signature", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
570
|
+
],
|
|
571
|
+
);
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* @generated from message BlueWebSPMessage
|
|
575
|
+
*/
|
|
576
|
+
export const BlueWebSPMessage = proto2.makeMessageType(
|
|
577
|
+
"BlueWebSPMessage",
|
|
578
|
+
() => [
|
|
579
|
+
{ no: 1, name: "transactionId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
580
|
+
{ no: 2, name: "payload", kind: "message", T: BlueSPResult },
|
|
581
|
+
],
|
|
582
|
+
);
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* Message sent by the server to the device
|
|
586
|
+
*
|
|
587
|
+
* @generated from message BlueWebSPServerMessage
|
|
588
|
+
*/
|
|
589
|
+
export const BlueWebSPServerMessage = proto2.makeMessageType(
|
|
590
|
+
"BlueWebSPServerMessage",
|
|
591
|
+
() => [
|
|
592
|
+
{ no: 2, name: "handshake", kind: "message", T: BlueWebSPHandshake, oneof: "payload" },
|
|
593
|
+
{ no: 3, name: "command", kind: "message", T: BlueSPTokenCommand, oneof: "payload" },
|
|
594
|
+
{ no: 4, name: "ossSo", kind: "message", T: BlueOssSoMobile, oneof: "payload" },
|
|
595
|
+
{ no: 5, name: "ossSid", kind: "message", T: BlueOssSidMobile, oneof: "payload" },
|
|
596
|
+
],
|
|
597
|
+
);
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* TODO: payload
|
|
601
|
+
*
|
|
602
|
+
* @generated from message BlueWebSPClientMessage
|
|
603
|
+
*/
|
|
604
|
+
export const BlueWebSPClientMessage = proto2.makeMessageType(
|
|
605
|
+
"BlueWebSPClientMessage",
|
|
606
|
+
[],
|
|
607
|
+
);
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* @generated from message BlueWebSPStatusMessage
|
|
611
|
+
*/
|
|
612
|
+
export const BlueWebSPStatusMessage = proto2.makeMessageType(
|
|
613
|
+
"BlueWebSPStatusMessage",
|
|
614
|
+
() => [
|
|
615
|
+
{ no: 1, name: "status", kind: "enum", T: proto2.getEnumType(BlueReturnCode) },
|
|
616
|
+
],
|
|
617
|
+
);
|
|
618
|
+
|
|
553
619
|
/**
|
|
554
620
|
* @generated from message BlueOssAccessResult
|
|
555
621
|
*/
|
package/es/BlueSystem_pb.d.ts
CHANGED
|
@@ -8,31 +8,6 @@ import { Message, proto2 } from "@bufbuild/protobuf";
|
|
|
8
8
|
import type { BlueBatteryLevel, BlueBlacklistEntry, BlueEvent, BlueHardwareType, BlueLocalTimeSchedule, BlueLocalTimestamp } from "./BlueCore_pb.js";
|
|
9
9
|
import type { BlueLockConfig, BlueLockStatus } from "./BlueLock_pb.js";
|
|
10
10
|
|
|
11
|
-
/**
|
|
12
|
-
* @generated from enum BlueNetworkType
|
|
13
|
-
*/
|
|
14
|
-
export declare enum BlueNetworkType {
|
|
15
|
-
/**
|
|
16
|
-
* @generated from enum value: None = 1;
|
|
17
|
-
*/
|
|
18
|
-
None = 1,
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @generated from enum value: Ethernet = 2;
|
|
22
|
-
*/
|
|
23
|
-
Ethernet = 2,
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* @generated from enum value: Wifi = 3;
|
|
27
|
-
*/
|
|
28
|
-
Wifi = 3,
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @generated from enum value: Gsm = 4;
|
|
32
|
-
*/
|
|
33
|
-
Gsm = 4,
|
|
34
|
-
}
|
|
35
|
-
|
|
36
11
|
/**
|
|
37
12
|
* @generated from message BlueBaseConfig
|
|
38
13
|
*/
|
|
@@ -350,13 +325,6 @@ export declare class BlueOssConfig extends Message<BlueOssConfig> {
|
|
|
350
325
|
*/
|
|
351
326
|
soMifareAid: number;
|
|
352
327
|
|
|
353
|
-
/**
|
|
354
|
-
* The card will request to refresh if the existing days passed. It can become required after stable
|
|
355
|
-
*
|
|
356
|
-
* @generated from field: optional uint32 minRefreshDays = 9 [default = 5];
|
|
357
|
-
*/
|
|
358
|
-
minRefreshDays?: number;
|
|
359
|
-
|
|
360
328
|
constructor(data?: PartialMessage<BlueOssConfig>);
|
|
361
329
|
|
|
362
330
|
static readonly runtime: typeof proto2;
|
package/es/BlueSystem_pb.js
CHANGED
|
@@ -7,19 +7,6 @@ import { proto2 } from "@bufbuild/protobuf";
|
|
|
7
7
|
import { BlueBatteryLevel, BlueBlacklistEntry, BlueEvent, BlueHardwareType, BlueLocalTimeSchedule, BlueLocalTimestamp } from "./BlueCore_pb.js";
|
|
8
8
|
import { BlueLockConfig, BlueLockStatus } from "./BlueLock_pb.js";
|
|
9
9
|
|
|
10
|
-
/**
|
|
11
|
-
* @generated from enum BlueNetworkType
|
|
12
|
-
*/
|
|
13
|
-
export const BlueNetworkType = proto2.makeEnum(
|
|
14
|
-
"BlueNetworkType",
|
|
15
|
-
[
|
|
16
|
-
{no: 1, name: "None"},
|
|
17
|
-
{no: 2, name: "Ethernet"},
|
|
18
|
-
{no: 3, name: "Wifi"},
|
|
19
|
-
{no: 4, name: "Gsm"},
|
|
20
|
-
],
|
|
21
|
-
);
|
|
22
|
-
|
|
23
10
|
/**
|
|
24
11
|
* @generated from message BlueBaseConfig
|
|
25
12
|
*/
|
|
@@ -105,7 +92,6 @@ export const BlueOssConfig = proto2.makeMessageType(
|
|
|
105
92
|
{ no: 6, name: "soUpdateFromBlacklist", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: true },
|
|
106
93
|
{ no: 7, name: "soMifareAesKey", kind: "scalar", T: 12 /* ScalarType.BYTES */, default: new Uint8Array([0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F]) },
|
|
107
94
|
{ no: 8, name: "soMifareAid", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 16076800 },
|
|
108
|
-
{ no: 9, name: "minRefreshDays", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true, default: 5 },
|
|
109
95
|
],
|
|
110
96
|
);
|
|
111
97
|
|
package/es/index.d.ts
CHANGED
package/es/index.js
CHANGED
package/nanopb/BlueCore.pb.c
CHANGED
|
@@ -42,15 +42,33 @@ PB_BIND(BLUESPHANDSHAKE, BlueSPHandshake_t, AUTO)
|
|
|
42
42
|
PB_BIND(BLUESPHANDSHAKEREPLY, BlueSPHandshakeReply_t, AUTO)
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
PB_BIND(BLUESPTOKENCOMMAND, BlueSPTokenCommand_t,
|
|
45
|
+
PB_BIND(BLUESPTOKENCOMMAND, BlueSPTokenCommand_t, 2)
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
PB_BIND(BLUESPTOKEN, BlueSPToken_t,
|
|
48
|
+
PB_BIND(BLUESPTOKEN, BlueSPToken_t, 2)
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
PB_BIND(BLUESPRESULT, BlueSPResult_t, 2)
|
|
52
52
|
|
|
53
53
|
|
|
54
|
+
PB_BIND(BLUEWEBSPHANDSHAKE, BlueWebSPHandshake_t, AUTO)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
PB_BIND(BLUEWEBSPHANDSHAKEREPLY, BlueWebSPHandshakeReply_t, AUTO)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
PB_BIND(BLUEWEBSPMESSAGE, BlueWebSPMessage_t, 2)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
PB_BIND(BLUEWEBSPSERVERMESSAGE, BlueWebSPServerMessage_t, 2)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
PB_BIND(BLUEWEBSPCLIENTMESSAGE, BlueWebSPClientMessage_t, AUTO)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
PB_BIND(BLUEWEBSPSTATUSMESSAGE, BlueWebSPStatusMessage_t, AUTO)
|
|
70
|
+
|
|
71
|
+
|
|
54
72
|
PB_BIND(BLUEOSSACCESSRESULT, BlueOssAccessResult_t, AUTO)
|
|
55
73
|
|
|
56
74
|
|
package/nanopb/BlueCore.pb.h
CHANGED
|
@@ -242,8 +242,7 @@ typedef enum BlueEventId {
|
|
|
242
242
|
|
|
243
243
|
typedef enum BlueEventInfoSystem {
|
|
244
244
|
BlueEventInfoSystem_SystemRestart = 1,
|
|
245
|
-
BlueEventInfoSystem_SystemConfigured = 2
|
|
246
|
-
BlueEventInfoSystem_UnknownTransponderDetected = 3
|
|
245
|
+
BlueEventInfoSystem_SystemConfigured = 2
|
|
247
246
|
} pb_packed BlueEventInfoSystem_t;
|
|
248
247
|
|
|
249
248
|
typedef enum BlueEventInfoAccess {
|
|
@@ -394,13 +393,13 @@ typedef struct BlueSPHandshakeReply {
|
|
|
394
393
|
BlueSPHandshakeReply_terminalSignature_t terminalSignature;
|
|
395
394
|
} BlueSPHandshakeReply_t;
|
|
396
395
|
|
|
397
|
-
typedef PB_BYTES_ARRAY_T(
|
|
396
|
+
typedef PB_BYTES_ARRAY_T(1792) BlueSPTokenCommand_data_t;
|
|
398
397
|
typedef struct BlueSPTokenCommand {
|
|
399
398
|
BlueCredentialId_t credentialId;
|
|
400
399
|
BlueLocalTimestamp_t validityStart;
|
|
401
400
|
BlueLocalTimestamp_t validityEnd;
|
|
402
401
|
char command[9];
|
|
403
|
-
BlueSPTokenCommand_data_t data; /* we'll add 256b for add. data
|
|
402
|
+
BlueSPTokenCommand_data_t data; /* we'll add 256b for add. data */
|
|
404
403
|
} BlueSPTokenCommand_t;
|
|
405
404
|
|
|
406
405
|
typedef PB_BYTES_ARRAY_T(1792) BlueSPResult_data_t;
|
|
@@ -408,6 +407,29 @@ typedef struct BlueSPResult {
|
|
|
408
407
|
BlueSPResult_data_t data; /* we'll add 256b for add. data */
|
|
409
408
|
} BlueSPResult_t;
|
|
410
409
|
|
|
410
|
+
typedef struct BlueWebSPHandshake {
|
|
411
|
+
pb_byte_t salt[16];
|
|
412
|
+
} BlueWebSPHandshake_t;
|
|
413
|
+
|
|
414
|
+
typedef PB_BYTES_ARRAY_T(74) BlueWebSPHandshakeReply_signature_t;
|
|
415
|
+
typedef struct BlueWebSPHandshakeReply {
|
|
416
|
+
char deviceId[9];
|
|
417
|
+
BlueWebSPHandshakeReply_signature_t signature;
|
|
418
|
+
} BlueWebSPHandshakeReply_t;
|
|
419
|
+
|
|
420
|
+
typedef struct BlueWebSPMessage {
|
|
421
|
+
uint8_t transactionId;
|
|
422
|
+
BlueSPResult_t payload;
|
|
423
|
+
} BlueWebSPMessage_t;
|
|
424
|
+
|
|
425
|
+
typedef struct BlueWebSPClientMessage { /* TODO: payload */
|
|
426
|
+
char dummy_field;
|
|
427
|
+
} BlueWebSPClientMessage_t;
|
|
428
|
+
|
|
429
|
+
typedef struct BlueWebSPStatusMessage {
|
|
430
|
+
BlueReturnCode_t status;
|
|
431
|
+
} BlueWebSPStatusMessage_t;
|
|
432
|
+
|
|
411
433
|
typedef struct BlueOssAccessResult {
|
|
412
434
|
/* If access is granted or not */
|
|
413
435
|
bool accessGranted;
|
|
@@ -704,6 +726,17 @@ typedef struct BlueSPToken {
|
|
|
704
726
|
} payload;
|
|
705
727
|
} BlueSPToken_t;
|
|
706
728
|
|
|
729
|
+
/* Message sent by the server to the device */
|
|
730
|
+
typedef struct BlueWebSPServerMessage {
|
|
731
|
+
pb_size_t which_payload;
|
|
732
|
+
union {
|
|
733
|
+
BlueWebSPHandshake_t handshake;
|
|
734
|
+
BlueSPTokenCommand_t command;
|
|
735
|
+
BlueOssSoMobile_t ossSo;
|
|
736
|
+
BlueOssSidMobile_t ossSid;
|
|
737
|
+
} payload;
|
|
738
|
+
} BlueWebSPServerMessage_t;
|
|
739
|
+
|
|
707
740
|
typedef struct BlueOssSoMobileProvisioningConfiguration {
|
|
708
741
|
uint32_t numberOfDoors;
|
|
709
742
|
uint32_t numberOfDTSchedules;
|
|
@@ -802,8 +835,8 @@ extern "C" {
|
|
|
802
835
|
#define _BLUEEVENTID_ARRAYSIZE ((BlueEventId_t)(BlueEventId_TerminalOss+1))
|
|
803
836
|
|
|
804
837
|
#define _BLUEEVENTINFOSYSTEM_MIN BlueEventInfoSystem_SystemRestart
|
|
805
|
-
#define _BLUEEVENTINFOSYSTEM_MAX
|
|
806
|
-
#define _BLUEEVENTINFOSYSTEM_ARRAYSIZE ((BlueEventInfoSystem_t)(
|
|
838
|
+
#define _BLUEEVENTINFOSYSTEM_MAX BlueEventInfoSystem_SystemConfigured
|
|
839
|
+
#define _BLUEEVENTINFOSYSTEM_ARRAYSIZE ((BlueEventInfoSystem_t)(BlueEventInfoSystem_SystemConfigured+1))
|
|
807
840
|
|
|
808
841
|
#define _BLUEEVENTINFOACCESS_MIN BlueEventInfoAccess_Granted
|
|
809
842
|
#define _BLUEEVENTINFOACCESS_MAX BlueEventInfoAccess_DeniedInvalidTransponderData
|
|
@@ -851,6 +884,13 @@ extern "C" {
|
|
|
851
884
|
|
|
852
885
|
|
|
853
886
|
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
#define BlueWebSPStatusMessage_t_status_ENUMTYPE BlueReturnCode_t
|
|
893
|
+
|
|
854
894
|
#define BlueOssAccessResult_t_accessType_ENUMTYPE BlueAccessType_t
|
|
855
895
|
|
|
856
896
|
|
|
@@ -916,6 +956,12 @@ extern "C" {
|
|
|
916
956
|
#define BLUESPTOKENCOMMAND_INIT_DEFAULT {BLUECREDENTIALID_INIT_DEFAULT, BLUELOCALTIMESTAMP_INIT_DEFAULT, BLUELOCALTIMESTAMP_INIT_DEFAULT, "", {0, {0}}}
|
|
917
957
|
#define BLUESPTOKEN_INIT_DEFAULT {{0, {0}}, 0, {BLUESPTOKENCOMMAND_INIT_DEFAULT}}
|
|
918
958
|
#define BLUESPRESULT_INIT_DEFAULT {{0, {0}}}
|
|
959
|
+
#define BLUEWEBSPHANDSHAKE_INIT_DEFAULT {{0}}
|
|
960
|
+
#define BLUEWEBSPHANDSHAKEREPLY_INIT_DEFAULT {"", {0, {0}}}
|
|
961
|
+
#define BLUEWEBSPMESSAGE_INIT_DEFAULT {0, BLUESPRESULT_INIT_DEFAULT}
|
|
962
|
+
#define BLUEWEBSPSERVERMESSAGE_INIT_DEFAULT {0, {BLUEWEBSPHANDSHAKE_INIT_DEFAULT}}
|
|
963
|
+
#define BLUEWEBSPCLIENTMESSAGE_INIT_DEFAULT {0}
|
|
964
|
+
#define BLUEWEBSPSTATUSMESSAGE_INIT_DEFAULT {_BLUERETURNCODE_MIN}
|
|
919
965
|
#define BLUEOSSACCESSRESULT_INIT_DEFAULT {0, _BLUEACCESSTYPE_MIN, 0, BLUELOCALTIMESTAMP_INIT_DEFAULT, 0, false, 0u}
|
|
920
966
|
#define BLUEOSSACCESSEVENTSRESULT_INIT_DEFAULT {BLUEOSSACCESSRESULT_INIT_DEFAULT, 0, {BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT}}
|
|
921
967
|
#define BLUEOSSSIDVERSION_INIT_DEFAULT {false, 1u, false, 0u}
|
|
@@ -972,6 +1018,12 @@ extern "C" {
|
|
|
972
1018
|
#define BLUESPTOKENCOMMAND_INIT_ZERO {BLUECREDENTIALID_INIT_ZERO, BLUELOCALTIMESTAMP_INIT_ZERO, BLUELOCALTIMESTAMP_INIT_ZERO, "", {0, {0}}}
|
|
973
1019
|
#define BLUESPTOKEN_INIT_ZERO {{0, {0}}, 0, {BLUESPTOKENCOMMAND_INIT_ZERO}}
|
|
974
1020
|
#define BLUESPRESULT_INIT_ZERO {{0, {0}}}
|
|
1021
|
+
#define BLUEWEBSPHANDSHAKE_INIT_ZERO {{0}}
|
|
1022
|
+
#define BLUEWEBSPHANDSHAKEREPLY_INIT_ZERO {"", {0, {0}}}
|
|
1023
|
+
#define BLUEWEBSPMESSAGE_INIT_ZERO {0, BLUESPRESULT_INIT_ZERO}
|
|
1024
|
+
#define BLUEWEBSPSERVERMESSAGE_INIT_ZERO {0, {BLUEWEBSPHANDSHAKE_INIT_ZERO}}
|
|
1025
|
+
#define BLUEWEBSPCLIENTMESSAGE_INIT_ZERO {0}
|
|
1026
|
+
#define BLUEWEBSPSTATUSMESSAGE_INIT_ZERO {_BLUERETURNCODE_MIN}
|
|
975
1027
|
#define BLUEOSSACCESSRESULT_INIT_ZERO {0, _BLUEACCESSTYPE_MIN, 0, BLUELOCALTIMESTAMP_INIT_ZERO, 0, false, 0}
|
|
976
1028
|
#define BLUEOSSACCESSEVENTSRESULT_INIT_ZERO {BLUEOSSACCESSRESULT_INIT_ZERO, 0, {BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO}}
|
|
977
1029
|
#define BLUEOSSSIDVERSION_INIT_ZERO {false, 0, false, 0}
|
|
@@ -1065,6 +1117,12 @@ extern "C" {
|
|
|
1065
1117
|
#define BLUESPTOKENCOMMAND_COMMAND_TAG 4
|
|
1066
1118
|
#define BLUESPTOKENCOMMAND_DATA_TAG 5
|
|
1067
1119
|
#define BLUESPRESULT_DATA_TAG 1
|
|
1120
|
+
#define BLUEWEBSPHANDSHAKE_SALT_TAG 1
|
|
1121
|
+
#define BLUEWEBSPHANDSHAKEREPLY_DEVICEID_TAG 1
|
|
1122
|
+
#define BLUEWEBSPHANDSHAKEREPLY_SIGNATURE_TAG 2
|
|
1123
|
+
#define BLUEWEBSPMESSAGE_TRANSACTIONID_TAG 1
|
|
1124
|
+
#define BLUEWEBSPMESSAGE_PAYLOAD_TAG 2
|
|
1125
|
+
#define BLUEWEBSPSTATUSMESSAGE_STATUS_TAG 1
|
|
1068
1126
|
#define BLUEOSSACCESSRESULT_ACCESSGRANTED_TAG 1
|
|
1069
1127
|
#define BLUEOSSACCESSRESULT_ACCESSTYPE_TAG 2
|
|
1070
1128
|
#define BLUEOSSACCESSRESULT_ACCESSINFO_TAG 3
|
|
@@ -1181,6 +1239,10 @@ extern "C" {
|
|
|
1181
1239
|
#define BLUESPTOKEN_COMMAND_TAG 2
|
|
1182
1240
|
#define BLUESPTOKEN_OSSSO_TAG 3
|
|
1183
1241
|
#define BLUESPTOKEN_OSSSID_TAG 4
|
|
1242
|
+
#define BLUEWEBSPSERVERMESSAGE_HANDSHAKE_TAG 2
|
|
1243
|
+
#define BLUEWEBSPSERVERMESSAGE_COMMAND_TAG 3
|
|
1244
|
+
#define BLUEWEBSPSERVERMESSAGE_OSSSO_TAG 4
|
|
1245
|
+
#define BLUEWEBSPSERVERMESSAGE_OSSSID_TAG 5
|
|
1184
1246
|
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_NUMBEROFDOORS_TAG 1
|
|
1185
1247
|
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_NUMBEROFDTSCHEDULES_TAG 2
|
|
1186
1248
|
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_NUMBEROFDAYIDSPERDTSCHEDULE_TAG 3
|
|
@@ -1336,6 +1398,46 @@ X(a, STATIC, REQUIRED, BYTES, data, 1)
|
|
|
1336
1398
|
#define BLUESPRESULT_CALLBACK NULL
|
|
1337
1399
|
#define BLUESPRESULT_DEFAULT NULL
|
|
1338
1400
|
|
|
1401
|
+
#define BLUEWEBSPHANDSHAKE_FIELDLIST(X, a) \
|
|
1402
|
+
X(a, STATIC, REQUIRED, FIXED_LENGTH_BYTES, salt, 1)
|
|
1403
|
+
#define BLUEWEBSPHANDSHAKE_CALLBACK NULL
|
|
1404
|
+
#define BLUEWEBSPHANDSHAKE_DEFAULT NULL
|
|
1405
|
+
|
|
1406
|
+
#define BLUEWEBSPHANDSHAKEREPLY_FIELDLIST(X, a) \
|
|
1407
|
+
X(a, STATIC, REQUIRED, STRING, deviceId, 1) \
|
|
1408
|
+
X(a, STATIC, REQUIRED, BYTES, signature, 2)
|
|
1409
|
+
#define BLUEWEBSPHANDSHAKEREPLY_CALLBACK NULL
|
|
1410
|
+
#define BLUEWEBSPHANDSHAKEREPLY_DEFAULT NULL
|
|
1411
|
+
|
|
1412
|
+
#define BLUEWEBSPMESSAGE_FIELDLIST(X, a) \
|
|
1413
|
+
X(a, STATIC, REQUIRED, UINT32, transactionId, 1) \
|
|
1414
|
+
X(a, STATIC, REQUIRED, MESSAGE, payload, 2)
|
|
1415
|
+
#define BLUEWEBSPMESSAGE_CALLBACK NULL
|
|
1416
|
+
#define BLUEWEBSPMESSAGE_DEFAULT NULL
|
|
1417
|
+
#define BlueWebSPMessage_t_payload_MSGTYPE BlueSPResult_t
|
|
1418
|
+
|
|
1419
|
+
#define BLUEWEBSPSERVERMESSAGE_FIELDLIST(X, a) \
|
|
1420
|
+
X(a, STATIC, ONEOF, MESSAGE, (payload,handshake,payload.handshake), 2) \
|
|
1421
|
+
X(a, STATIC, ONEOF, MESSAGE, (payload,command,payload.command), 3) \
|
|
1422
|
+
X(a, STATIC, ONEOF, MESSAGE, (payload,ossSo,payload.ossSo), 4) \
|
|
1423
|
+
X(a, STATIC, ONEOF, MESSAGE, (payload,ossSid,payload.ossSid), 5)
|
|
1424
|
+
#define BLUEWEBSPSERVERMESSAGE_CALLBACK NULL
|
|
1425
|
+
#define BLUEWEBSPSERVERMESSAGE_DEFAULT NULL
|
|
1426
|
+
#define BlueWebSPServerMessage_t_payload_handshake_MSGTYPE BlueWebSPHandshake_t
|
|
1427
|
+
#define BlueWebSPServerMessage_t_payload_command_MSGTYPE BlueSPTokenCommand_t
|
|
1428
|
+
#define BlueWebSPServerMessage_t_payload_ossSo_MSGTYPE BlueOssSoMobile_t
|
|
1429
|
+
#define BlueWebSPServerMessage_t_payload_ossSid_MSGTYPE BlueOssSidMobile_t
|
|
1430
|
+
|
|
1431
|
+
#define BLUEWEBSPCLIENTMESSAGE_FIELDLIST(X, a) \
|
|
1432
|
+
|
|
1433
|
+
#define BLUEWEBSPCLIENTMESSAGE_CALLBACK NULL
|
|
1434
|
+
#define BLUEWEBSPCLIENTMESSAGE_DEFAULT NULL
|
|
1435
|
+
|
|
1436
|
+
#define BLUEWEBSPSTATUSMESSAGE_FIELDLIST(X, a) \
|
|
1437
|
+
X(a, STATIC, REQUIRED, ENUM, status, 1)
|
|
1438
|
+
#define BLUEWEBSPSTATUSMESSAGE_CALLBACK NULL
|
|
1439
|
+
#define BLUEWEBSPSTATUSMESSAGE_DEFAULT NULL
|
|
1440
|
+
|
|
1339
1441
|
#define BLUEOSSACCESSRESULT_FIELDLIST(X, a) \
|
|
1340
1442
|
X(a, STATIC, REQUIRED, BOOL, accessGranted, 1) \
|
|
1341
1443
|
X(a, STATIC, REQUIRED, UENUM, accessType, 2) \
|
|
@@ -1690,6 +1792,12 @@ extern const pb_msgdesc_t BlueSPHandshakeReply_t_msg;
|
|
|
1690
1792
|
extern const pb_msgdesc_t BlueSPTokenCommand_t_msg;
|
|
1691
1793
|
extern const pb_msgdesc_t BlueSPToken_t_msg;
|
|
1692
1794
|
extern const pb_msgdesc_t BlueSPResult_t_msg;
|
|
1795
|
+
extern const pb_msgdesc_t BlueWebSPHandshake_t_msg;
|
|
1796
|
+
extern const pb_msgdesc_t BlueWebSPHandshakeReply_t_msg;
|
|
1797
|
+
extern const pb_msgdesc_t BlueWebSPMessage_t_msg;
|
|
1798
|
+
extern const pb_msgdesc_t BlueWebSPServerMessage_t_msg;
|
|
1799
|
+
extern const pb_msgdesc_t BlueWebSPClientMessage_t_msg;
|
|
1800
|
+
extern const pb_msgdesc_t BlueWebSPStatusMessage_t_msg;
|
|
1693
1801
|
extern const pb_msgdesc_t BlueOssAccessResult_t_msg;
|
|
1694
1802
|
extern const pb_msgdesc_t BlueOssAccessEventsResult_t_msg;
|
|
1695
1803
|
extern const pb_msgdesc_t BlueOssSidVersion_t_msg;
|
|
@@ -1748,6 +1856,12 @@ extern const pb_msgdesc_t _BlueTestEncodeDecode_t_msg;
|
|
|
1748
1856
|
#define BLUESPTOKENCOMMAND_FIELDS &BlueSPTokenCommand_t_msg
|
|
1749
1857
|
#define BLUESPTOKEN_FIELDS &BlueSPToken_t_msg
|
|
1750
1858
|
#define BLUESPRESULT_FIELDS &BlueSPResult_t_msg
|
|
1859
|
+
#define BLUEWEBSPHANDSHAKE_FIELDS &BlueWebSPHandshake_t_msg
|
|
1860
|
+
#define BLUEWEBSPHANDSHAKEREPLY_FIELDS &BlueWebSPHandshakeReply_t_msg
|
|
1861
|
+
#define BLUEWEBSPMESSAGE_FIELDS &BlueWebSPMessage_t_msg
|
|
1862
|
+
#define BLUEWEBSPSERVERMESSAGE_FIELDS &BlueWebSPServerMessage_t_msg
|
|
1863
|
+
#define BLUEWEBSPCLIENTMESSAGE_FIELDS &BlueWebSPClientMessage_t_msg
|
|
1864
|
+
#define BLUEWEBSPSTATUSMESSAGE_FIELDS &BlueWebSPStatusMessage_t_msg
|
|
1751
1865
|
#define BLUEOSSACCESSRESULT_FIELDS &BlueOssAccessResult_t_msg
|
|
1752
1866
|
#define BLUEOSSACCESSEVENTSRESULT_FIELDS &BlueOssAccessEventsResult_t_msg
|
|
1753
1867
|
#define BLUEOSSSIDVERSION_FIELDS &BlueOssSidVersion_t_msg
|
|
@@ -1843,9 +1957,15 @@ extern const pb_msgdesc_t _BlueTestEncodeDecode_t_msg;
|
|
|
1843
1957
|
#define BLUESPHANDSHAKEREPLY_SIZE 94
|
|
1844
1958
|
#define BLUESPHANDSHAKE_SIZE 18
|
|
1845
1959
|
#define BLUESPRESULT_SIZE 1795
|
|
1846
|
-
#define BLUESPTOKENCOMMAND_SIZE
|
|
1847
|
-
#define BLUESPTOKEN_SIZE
|
|
1960
|
+
#define BLUESPTOKENCOMMAND_SIZE 1861
|
|
1961
|
+
#define BLUESPTOKEN_SIZE 1940
|
|
1848
1962
|
#define BLUEVERSIONINFO_SIZE 14
|
|
1963
|
+
#define BLUEWEBSPCLIENTMESSAGE_SIZE 0
|
|
1964
|
+
#define BLUEWEBSPHANDSHAKEREPLY_SIZE 86
|
|
1965
|
+
#define BLUEWEBSPHANDSHAKE_SIZE 18
|
|
1966
|
+
#define BLUEWEBSPMESSAGE_SIZE 1801
|
|
1967
|
+
#define BLUEWEBSPSERVERMESSAGE_SIZE 1864
|
|
1968
|
+
#define BLUEWEBSPSTATUSMESSAGE_SIZE 11
|
|
1849
1969
|
#define _BLUETESTENCODEDECODE_SIZE 90
|
|
1850
1970
|
|
|
1851
1971
|
#ifdef __cplusplus
|
package/nanopb/BlueSystem.pb.c
CHANGED