@blueid/access-proto 0.76.0 → 0.78.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/BlueSDK.proto +22 -10
- package/cjs/BlueSDK_pb.d.ts +33 -8
- package/cjs/BlueSDK_pb.js +11 -6
- package/es/BlueSDK_pb.d.ts +33 -8
- package/es/BlueSDK_pb.js +11 -6
- package/nanopb/BlueSDK.pb.c +1 -1
- package/nanopb/BlueSDK.pb.h +29 -14
- package/package.json +1 -1
- package/swift/BlueSDK.pb.swift +305 -169
package/BlueSDK.proto
CHANGED
|
@@ -9,7 +9,8 @@ import "BlueCore.proto";
|
|
|
9
9
|
///////////////////////////////////////////////////////////////////////
|
|
10
10
|
|
|
11
11
|
message BlueI18n {
|
|
12
|
-
required string nfcWaitMessage = 1
|
|
12
|
+
required string nfcWaitMessage = 1
|
|
13
|
+
[ default = "Waiting for transponder..." ];
|
|
13
14
|
required string nfcOssSuccessReadConfigurationMessage = 2
|
|
14
15
|
[ default = "Configuration read successfully" ];
|
|
15
16
|
required string nfcOssSuccessUpdateConfigurationMessage = 3
|
|
@@ -24,18 +25,29 @@ message BlueI18n {
|
|
|
24
25
|
[ default = "Successfully unprovisioned" ];
|
|
25
26
|
required string nfcOssSuccessFormatMessage = 8
|
|
26
27
|
[ default = "Transponder was successfully formatted" ];
|
|
28
|
+
required string nfcInitializingWritingProcess = 9
|
|
29
|
+
[ default = "Initializing writing process" ];
|
|
27
30
|
|
|
28
|
-
|
|
31
|
+
|
|
32
|
+
required string cmnCancelLabel = 10
|
|
29
33
|
[ default = "Cancel"];
|
|
30
34
|
|
|
31
|
-
required string openViaOssTitle =
|
|
32
|
-
[ default = "Unlocking
|
|
33
|
-
required string openViaOssWaitMessage =
|
|
34
|
-
[ default = "
|
|
35
|
-
required string
|
|
36
|
-
[ default = "
|
|
37
|
-
required string
|
|
38
|
-
[ default = "
|
|
35
|
+
required string openViaOssTitle = 11
|
|
36
|
+
[ default = "Unlocking in Progress"];
|
|
37
|
+
required string openViaOssWaitMessage = 12
|
|
38
|
+
[ default = "Establishing secure connection..."];
|
|
39
|
+
required string openViaOssAccessGrantedTitle = 13
|
|
40
|
+
[ default = "Access Granted"];
|
|
41
|
+
required string openViaOssAccessGrantedMessage = 14
|
|
42
|
+
[ default = "Please proceed."];
|
|
43
|
+
required string openViaOssAccessDeniedTitle = 15
|
|
44
|
+
[ default = "Access Denied"];
|
|
45
|
+
required string openViaOssAccessDeniedMessage = 16
|
|
46
|
+
[ default = "Credentials are invalid or outdated."];
|
|
47
|
+
required string openViaOssAccessDeniedScheduleMismatchMessage = 17
|
|
48
|
+
[ default = "Credentials are not valid at this time and/or day of the week."];
|
|
49
|
+
required string openViaOssErrorTitle = 18
|
|
50
|
+
[ default = "Error"];
|
|
39
51
|
}
|
|
40
52
|
|
|
41
53
|
///////////////////////////////////////////////////////////////////////
|
package/cjs/BlueSDK_pb.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export declare enum BlueRefreshOssSoCredentialStatus {
|
|
|
52
52
|
*/
|
|
53
53
|
export declare class BlueI18n extends Message<BlueI18n> {
|
|
54
54
|
/**
|
|
55
|
-
* @generated from field: required string nfcWaitMessage = 1 [default = "Waiting for transponder"];
|
|
55
|
+
* @generated from field: required string nfcWaitMessage = 1 [default = "Waiting for transponder..."];
|
|
56
56
|
*/
|
|
57
57
|
nfcWaitMessage: string;
|
|
58
58
|
|
|
@@ -92,29 +92,54 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
92
92
|
nfcOssSuccessFormatMessage: string;
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
|
-
* @generated from field: required string
|
|
95
|
+
* @generated from field: required string nfcInitializingWritingProcess = 9 [default = "Initializing writing process"];
|
|
96
|
+
*/
|
|
97
|
+
nfcInitializingWritingProcess: string;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: required string cmnCancelLabel = 10 [default = "Cancel"];
|
|
96
101
|
*/
|
|
97
102
|
cmnCancelLabel: string;
|
|
98
103
|
|
|
99
104
|
/**
|
|
100
|
-
* @generated from field: required string openViaOssTitle =
|
|
105
|
+
* @generated from field: required string openViaOssTitle = 11 [default = "Unlocking in Progress"];
|
|
101
106
|
*/
|
|
102
107
|
openViaOssTitle: string;
|
|
103
108
|
|
|
104
109
|
/**
|
|
105
|
-
* @generated from field: required string openViaOssWaitMessage =
|
|
110
|
+
* @generated from field: required string openViaOssWaitMessage = 12 [default = "Establishing secure connection..."];
|
|
106
111
|
*/
|
|
107
112
|
openViaOssWaitMessage: string;
|
|
108
113
|
|
|
109
114
|
/**
|
|
110
|
-
* @generated from field: required string
|
|
115
|
+
* @generated from field: required string openViaOssAccessGrantedTitle = 13 [default = "Access Granted"];
|
|
116
|
+
*/
|
|
117
|
+
openViaOssAccessGrantedTitle: string;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: required string openViaOssAccessGrantedMessage = 14 [default = "Please proceed."];
|
|
121
|
+
*/
|
|
122
|
+
openViaOssAccessGrantedMessage: string;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: required string openViaOssAccessDeniedTitle = 15 [default = "Access Denied"];
|
|
126
|
+
*/
|
|
127
|
+
openViaOssAccessDeniedTitle: string;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: required string openViaOssAccessDeniedMessage = 16 [default = "Credentials are invalid or outdated."];
|
|
131
|
+
*/
|
|
132
|
+
openViaOssAccessDeniedMessage: string;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: required string openViaOssAccessDeniedScheduleMismatchMessage = 17 [default = "Credentials are not valid at this time and/or day of the week."];
|
|
111
136
|
*/
|
|
112
|
-
|
|
137
|
+
openViaOssAccessDeniedScheduleMismatchMessage: string;
|
|
113
138
|
|
|
114
139
|
/**
|
|
115
|
-
* @generated from field: required string
|
|
140
|
+
* @generated from field: required string openViaOssErrorTitle = 18 [default = "Error"];
|
|
116
141
|
*/
|
|
117
|
-
|
|
142
|
+
openViaOssErrorTitle: string;
|
|
118
143
|
|
|
119
144
|
constructor(data?: PartialMessage<BlueI18n>);
|
|
120
145
|
|
package/cjs/BlueSDK_pb.js
CHANGED
|
@@ -54,7 +54,7 @@ const BlueRefreshOssSoCredentialStatus = import_protobuf.proto2.makeEnum(
|
|
|
54
54
|
const BlueI18n = import_protobuf.proto2.makeMessageType(
|
|
55
55
|
"BlueI18n",
|
|
56
56
|
() => [
|
|
57
|
-
{ no: 1, name: "nfcWaitMessage", kind: "scalar", T: 9, default: "Waiting for transponder" },
|
|
57
|
+
{ no: 1, name: "nfcWaitMessage", kind: "scalar", T: 9, default: "Waiting for transponder..." },
|
|
58
58
|
{ no: 2, name: "nfcOssSuccessReadConfigurationMessage", kind: "scalar", T: 9, default: "Configuration read successfully" },
|
|
59
59
|
{ no: 3, name: "nfcOssSuccessUpdateConfigurationMessage", kind: "scalar", T: 9, default: "Configuration successfully updated" },
|
|
60
60
|
{ no: 4, name: "nfcOssSuccessClearEventsMessage", kind: "scalar", T: 9, default: "Events successfully cleared" },
|
|
@@ -62,11 +62,16 @@ const BlueI18n = import_protobuf.proto2.makeMessageType(
|
|
|
62
62
|
{ no: 6, name: "nfcOssSuccessProvisionMessage", kind: "scalar", T: 9, default: "Successfully provisioned" },
|
|
63
63
|
{ no: 7, name: "nfcOssSuccessUnprovisionMessage", kind: "scalar", T: 9, default: "Successfully unprovisioned" },
|
|
64
64
|
{ no: 8, name: "nfcOssSuccessFormatMessage", kind: "scalar", T: 9, default: "Transponder was successfully formatted" },
|
|
65
|
-
{ no: 9, name: "
|
|
66
|
-
{ no: 10, name: "
|
|
67
|
-
{ no: 11, name: "
|
|
68
|
-
{ no: 12, name: "
|
|
69
|
-
{ no: 13, name: "
|
|
65
|
+
{ no: 9, name: "nfcInitializingWritingProcess", kind: "scalar", T: 9, default: "Initializing writing process" },
|
|
66
|
+
{ no: 10, name: "cmnCancelLabel", kind: "scalar", T: 9, default: "Cancel" },
|
|
67
|
+
{ no: 11, name: "openViaOssTitle", kind: "scalar", T: 9, default: "Unlocking in Progress" },
|
|
68
|
+
{ no: 12, name: "openViaOssWaitMessage", kind: "scalar", T: 9, default: "Establishing secure connection..." },
|
|
69
|
+
{ no: 13, name: "openViaOssAccessGrantedTitle", kind: "scalar", T: 9, default: "Access Granted" },
|
|
70
|
+
{ no: 14, name: "openViaOssAccessGrantedMessage", kind: "scalar", T: 9, default: "Please proceed." },
|
|
71
|
+
{ no: 15, name: "openViaOssAccessDeniedTitle", kind: "scalar", T: 9, default: "Access Denied" },
|
|
72
|
+
{ no: 16, name: "openViaOssAccessDeniedMessage", kind: "scalar", T: 9, default: "Credentials are invalid or outdated." },
|
|
73
|
+
{ no: 17, name: "openViaOssAccessDeniedScheduleMismatchMessage", kind: "scalar", T: 9, default: "Credentials are not valid at this time and/or day of the week." },
|
|
74
|
+
{ no: 18, name: "openViaOssErrorTitle", kind: "scalar", T: 9, default: "Error" }
|
|
70
75
|
]
|
|
71
76
|
);
|
|
72
77
|
const BlueDeviceDetailsBluetooth = import_protobuf.proto2.makeMessageType(
|
package/es/BlueSDK_pb.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export declare enum BlueRefreshOssSoCredentialStatus {
|
|
|
52
52
|
*/
|
|
53
53
|
export declare class BlueI18n extends Message<BlueI18n> {
|
|
54
54
|
/**
|
|
55
|
-
* @generated from field: required string nfcWaitMessage = 1 [default = "Waiting for transponder"];
|
|
55
|
+
* @generated from field: required string nfcWaitMessage = 1 [default = "Waiting for transponder..."];
|
|
56
56
|
*/
|
|
57
57
|
nfcWaitMessage: string;
|
|
58
58
|
|
|
@@ -92,29 +92,54 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
92
92
|
nfcOssSuccessFormatMessage: string;
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
|
-
* @generated from field: required string
|
|
95
|
+
* @generated from field: required string nfcInitializingWritingProcess = 9 [default = "Initializing writing process"];
|
|
96
|
+
*/
|
|
97
|
+
nfcInitializingWritingProcess: string;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: required string cmnCancelLabel = 10 [default = "Cancel"];
|
|
96
101
|
*/
|
|
97
102
|
cmnCancelLabel: string;
|
|
98
103
|
|
|
99
104
|
/**
|
|
100
|
-
* @generated from field: required string openViaOssTitle =
|
|
105
|
+
* @generated from field: required string openViaOssTitle = 11 [default = "Unlocking in Progress"];
|
|
101
106
|
*/
|
|
102
107
|
openViaOssTitle: string;
|
|
103
108
|
|
|
104
109
|
/**
|
|
105
|
-
* @generated from field: required string openViaOssWaitMessage =
|
|
110
|
+
* @generated from field: required string openViaOssWaitMessage = 12 [default = "Establishing secure connection..."];
|
|
106
111
|
*/
|
|
107
112
|
openViaOssWaitMessage: string;
|
|
108
113
|
|
|
109
114
|
/**
|
|
110
|
-
* @generated from field: required string
|
|
115
|
+
* @generated from field: required string openViaOssAccessGrantedTitle = 13 [default = "Access Granted"];
|
|
116
|
+
*/
|
|
117
|
+
openViaOssAccessGrantedTitle: string;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: required string openViaOssAccessGrantedMessage = 14 [default = "Please proceed."];
|
|
121
|
+
*/
|
|
122
|
+
openViaOssAccessGrantedMessage: string;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: required string openViaOssAccessDeniedTitle = 15 [default = "Access Denied"];
|
|
126
|
+
*/
|
|
127
|
+
openViaOssAccessDeniedTitle: string;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: required string openViaOssAccessDeniedMessage = 16 [default = "Credentials are invalid or outdated."];
|
|
131
|
+
*/
|
|
132
|
+
openViaOssAccessDeniedMessage: string;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: required string openViaOssAccessDeniedScheduleMismatchMessage = 17 [default = "Credentials are not valid at this time and/or day of the week."];
|
|
111
136
|
*/
|
|
112
|
-
|
|
137
|
+
openViaOssAccessDeniedScheduleMismatchMessage: string;
|
|
113
138
|
|
|
114
139
|
/**
|
|
115
|
-
* @generated from field: required string
|
|
140
|
+
* @generated from field: required string openViaOssErrorTitle = 18 [default = "Error"];
|
|
116
141
|
*/
|
|
117
|
-
|
|
142
|
+
openViaOssErrorTitle: string;
|
|
118
143
|
|
|
119
144
|
constructor(data?: PartialMessage<BlueI18n>);
|
|
120
145
|
|
package/es/BlueSDK_pb.js
CHANGED
|
@@ -36,7 +36,7 @@ export const BlueRefreshOssSoCredentialStatus = proto2.makeEnum(
|
|
|
36
36
|
export const BlueI18n = proto2.makeMessageType(
|
|
37
37
|
"BlueI18n",
|
|
38
38
|
() => [
|
|
39
|
-
{ no: 1, name: "nfcWaitMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Waiting for transponder" },
|
|
39
|
+
{ no: 1, name: "nfcWaitMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Waiting for transponder..." },
|
|
40
40
|
{ no: 2, name: "nfcOssSuccessReadConfigurationMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Configuration read successfully" },
|
|
41
41
|
{ no: 3, name: "nfcOssSuccessUpdateConfigurationMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Configuration successfully updated" },
|
|
42
42
|
{ no: 4, name: "nfcOssSuccessClearEventsMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Events successfully cleared" },
|
|
@@ -44,11 +44,16 @@ export const BlueI18n = proto2.makeMessageType(
|
|
|
44
44
|
{ no: 6, name: "nfcOssSuccessProvisionMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Successfully provisioned" },
|
|
45
45
|
{ no: 7, name: "nfcOssSuccessUnprovisionMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Successfully unprovisioned" },
|
|
46
46
|
{ no: 8, name: "nfcOssSuccessFormatMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Transponder was successfully formatted" },
|
|
47
|
-
{ no: 9, name: "
|
|
48
|
-
{ no: 10, name: "
|
|
49
|
-
{ no: 11, name: "
|
|
50
|
-
{ no: 12, name: "
|
|
51
|
-
{ no: 13, name: "
|
|
47
|
+
{ no: 9, name: "nfcInitializingWritingProcess", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Initializing writing process" },
|
|
48
|
+
{ no: 10, name: "cmnCancelLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Cancel" },
|
|
49
|
+
{ no: 11, name: "openViaOssTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Unlocking in Progress" },
|
|
50
|
+
{ no: 12, name: "openViaOssWaitMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Establishing secure connection..." },
|
|
51
|
+
{ no: 13, name: "openViaOssAccessGrantedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Access Granted" },
|
|
52
|
+
{ no: 14, name: "openViaOssAccessGrantedMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Please proceed." },
|
|
53
|
+
{ no: 15, name: "openViaOssAccessDeniedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Access Denied" },
|
|
54
|
+
{ no: 16, name: "openViaOssAccessDeniedMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Credentials are invalid or outdated." },
|
|
55
|
+
{ no: 17, name: "openViaOssAccessDeniedScheduleMismatchMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Credentials are not valid at this time and/or day of the week." },
|
|
56
|
+
{ no: 18, name: "openViaOssErrorTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Error" },
|
|
52
57
|
],
|
|
53
58
|
);
|
|
54
59
|
|
package/nanopb/BlueSDK.pb.c
CHANGED
package/nanopb/BlueSDK.pb.h
CHANGED
|
@@ -33,11 +33,16 @@ typedef struct BlueI18n {
|
|
|
33
33
|
pb_callback_t nfcOssSuccessProvisionMessage;
|
|
34
34
|
pb_callback_t nfcOssSuccessUnprovisionMessage;
|
|
35
35
|
pb_callback_t nfcOssSuccessFormatMessage;
|
|
36
|
+
pb_callback_t nfcInitializingWritingProcess;
|
|
36
37
|
pb_callback_t cmnCancelLabel;
|
|
37
38
|
pb_callback_t openViaOssTitle;
|
|
38
39
|
pb_callback_t openViaOssWaitMessage;
|
|
39
|
-
pb_callback_t
|
|
40
|
-
pb_callback_t
|
|
40
|
+
pb_callback_t openViaOssAccessGrantedTitle;
|
|
41
|
+
pb_callback_t openViaOssAccessGrantedMessage;
|
|
42
|
+
pb_callback_t openViaOssAccessDeniedTitle;
|
|
43
|
+
pb_callback_t openViaOssAccessDeniedMessage;
|
|
44
|
+
pb_callback_t openViaOssAccessDeniedScheduleMismatchMessage;
|
|
45
|
+
pb_callback_t openViaOssErrorTitle;
|
|
41
46
|
} BlueI18n_t;
|
|
42
47
|
|
|
43
48
|
typedef struct BlueDeviceDetailsBluetooth {
|
|
@@ -151,7 +156,7 @@ extern "C" {
|
|
|
151
156
|
|
|
152
157
|
|
|
153
158
|
/* Initializer values for message structs */
|
|
154
|
-
#define BLUEI18N_INIT_DEFAULT {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
159
|
+
#define BLUEI18N_INIT_DEFAULT {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
155
160
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT {0, 0, 0}
|
|
156
161
|
#define BLUEDEVICEDETAILSUWB_INIT_DEFAULT {0}
|
|
157
162
|
#define BLUEDEVICEINFO_INIT_DEFAULT {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_DEFAULT, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT}}
|
|
@@ -163,7 +168,7 @@ extern "C" {
|
|
|
163
168
|
#define BLUEACCESSOBJECTLIST_INIT_DEFAULT {{{NULL}, NULL}}
|
|
164
169
|
#define BLUEREFRESHOSSSOCREDENTIAL_INIT_DEFAULT {BLUECREDENTIALID_INIT_DEFAULT, _BLUEREFRESHOSSSOCREDENTIALSTATUS_MIN, false, BLUEOSSSOCONFIGURATION_INIT_DEFAULT}
|
|
165
170
|
#define BLUEREFRESHOSSSOCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
|
|
166
|
-
#define BLUEI18N_INIT_ZERO {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
171
|
+
#define BLUEI18N_INIT_ZERO {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
167
172
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
|
|
168
173
|
#define BLUEDEVICEDETAILSUWB_INIT_ZERO {0}
|
|
169
174
|
#define BLUEDEVICEINFO_INIT_ZERO {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_ZERO, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO}}
|
|
@@ -185,11 +190,16 @@ extern "C" {
|
|
|
185
190
|
#define BLUEI18N_NFCOSSSUCCESSPROVISIONMESSAGE_TAG 6
|
|
186
191
|
#define BLUEI18N_NFCOSSSUCCESSUNPROVISIONMESSAGE_TAG 7
|
|
187
192
|
#define BLUEI18N_NFCOSSSUCCESSFORMATMESSAGE_TAG 8
|
|
188
|
-
#define
|
|
189
|
-
#define
|
|
190
|
-
#define
|
|
191
|
-
#define
|
|
192
|
-
#define
|
|
193
|
+
#define BLUEI18N_NFCINITIALIZINGWRITINGPROCESS_TAG 9
|
|
194
|
+
#define BLUEI18N_CMNCANCELLABEL_TAG 10
|
|
195
|
+
#define BLUEI18N_OPENVIAOSSTITLE_TAG 11
|
|
196
|
+
#define BLUEI18N_OPENVIAOSSWAITMESSAGE_TAG 12
|
|
197
|
+
#define BLUEI18N_OPENVIAOSSACCESSGRANTEDTITLE_TAG 13
|
|
198
|
+
#define BLUEI18N_OPENVIAOSSACCESSGRANTEDMESSAGE_TAG 14
|
|
199
|
+
#define BLUEI18N_OPENVIAOSSACCESSDENIEDTITLE_TAG 15
|
|
200
|
+
#define BLUEI18N_OPENVIAOSSACCESSDENIEDMESSAGE_TAG 16
|
|
201
|
+
#define BLUEI18N_OPENVIAOSSACCESSDENIEDSCHEDULEMISMATCHMESSAGE_TAG 17
|
|
202
|
+
#define BLUEI18N_OPENVIAOSSERRORTITLE_TAG 18
|
|
193
203
|
#define BLUEDEVICEDETAILSBLUETOOTH_RSSI_TAG 1
|
|
194
204
|
#define BLUEDEVICEDETAILSBLUETOOTH_TXPOWER_TAG 2
|
|
195
205
|
#define BLUEDEVICEDETAILSBLUETOOTH_ISIBEACON_TAG 3
|
|
@@ -239,11 +249,16 @@ X(a, CALLBACK, REQUIRED, STRING, nfcOssSuccessIsProvisionedMessage, 5) \
|
|
|
239
249
|
X(a, CALLBACK, REQUIRED, STRING, nfcOssSuccessProvisionMessage, 6) \
|
|
240
250
|
X(a, CALLBACK, REQUIRED, STRING, nfcOssSuccessUnprovisionMessage, 7) \
|
|
241
251
|
X(a, CALLBACK, REQUIRED, STRING, nfcOssSuccessFormatMessage, 8) \
|
|
242
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
243
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
244
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
245
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
246
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
252
|
+
X(a, CALLBACK, REQUIRED, STRING, nfcInitializingWritingProcess, 9) \
|
|
253
|
+
X(a, CALLBACK, REQUIRED, STRING, cmnCancelLabel, 10) \
|
|
254
|
+
X(a, CALLBACK, REQUIRED, STRING, openViaOssTitle, 11) \
|
|
255
|
+
X(a, CALLBACK, REQUIRED, STRING, openViaOssWaitMessage, 12) \
|
|
256
|
+
X(a, CALLBACK, REQUIRED, STRING, openViaOssAccessGrantedTitle, 13) \
|
|
257
|
+
X(a, CALLBACK, REQUIRED, STRING, openViaOssAccessGrantedMessage, 14) \
|
|
258
|
+
X(a, CALLBACK, REQUIRED, STRING, openViaOssAccessDeniedTitle, 15) \
|
|
259
|
+
X(a, CALLBACK, REQUIRED, STRING, openViaOssAccessDeniedMessage, 16) \
|
|
260
|
+
X(a, CALLBACK, REQUIRED, STRING, openViaOssAccessDeniedScheduleMismatchMessage, 17) \
|
|
261
|
+
X(a, CALLBACK, REQUIRED, STRING, openViaOssErrorTitle, 18)
|
|
247
262
|
#define BLUEI18N_CALLBACK pb_default_field_callback
|
|
248
263
|
#define BLUEI18N_DEFAULT NULL
|
|
249
264
|
|
package/package.json
CHANGED
package/swift/BlueSDK.pb.swift
CHANGED
|
@@ -100,139 +100,172 @@ public struct BlueI18n {
|
|
|
100
100
|
// methods supported on all messages.
|
|
101
101
|
|
|
102
102
|
public var nfcWaitMessage: String {
|
|
103
|
-
get {return _nfcWaitMessage ?? "Waiting for transponder"}
|
|
104
|
-
set {_nfcWaitMessage = newValue}
|
|
103
|
+
get {return _storage._nfcWaitMessage ?? "Waiting for transponder..."}
|
|
104
|
+
set {_uniqueStorage()._nfcWaitMessage = newValue}
|
|
105
105
|
}
|
|
106
106
|
/// Returns true if `nfcWaitMessage` has been explicitly set.
|
|
107
|
-
public var hasNfcWaitMessage: Bool {return
|
|
107
|
+
public var hasNfcWaitMessage: Bool {return _storage._nfcWaitMessage != nil}
|
|
108
108
|
/// Clears the value of `nfcWaitMessage`. Subsequent reads from it will return its default value.
|
|
109
|
-
public mutating func clearNfcWaitMessage() {
|
|
109
|
+
public mutating func clearNfcWaitMessage() {_uniqueStorage()._nfcWaitMessage = nil}
|
|
110
110
|
|
|
111
111
|
public var nfcOssSuccessReadConfigurationMessage: String {
|
|
112
|
-
get {return _nfcOssSuccessReadConfigurationMessage ?? "Configuration read successfully"}
|
|
113
|
-
set {_nfcOssSuccessReadConfigurationMessage = newValue}
|
|
112
|
+
get {return _storage._nfcOssSuccessReadConfigurationMessage ?? "Configuration read successfully"}
|
|
113
|
+
set {_uniqueStorage()._nfcOssSuccessReadConfigurationMessage = newValue}
|
|
114
114
|
}
|
|
115
115
|
/// Returns true if `nfcOssSuccessReadConfigurationMessage` has been explicitly set.
|
|
116
|
-
public var hasNfcOssSuccessReadConfigurationMessage: Bool {return
|
|
116
|
+
public var hasNfcOssSuccessReadConfigurationMessage: Bool {return _storage._nfcOssSuccessReadConfigurationMessage != nil}
|
|
117
117
|
/// Clears the value of `nfcOssSuccessReadConfigurationMessage`. Subsequent reads from it will return its default value.
|
|
118
|
-
public mutating func clearNfcOssSuccessReadConfigurationMessage() {
|
|
118
|
+
public mutating func clearNfcOssSuccessReadConfigurationMessage() {_uniqueStorage()._nfcOssSuccessReadConfigurationMessage = nil}
|
|
119
119
|
|
|
120
120
|
public var nfcOssSuccessUpdateConfigurationMessage: String {
|
|
121
|
-
get {return _nfcOssSuccessUpdateConfigurationMessage ?? "Configuration successfully updated"}
|
|
122
|
-
set {_nfcOssSuccessUpdateConfigurationMessage = newValue}
|
|
121
|
+
get {return _storage._nfcOssSuccessUpdateConfigurationMessage ?? "Configuration successfully updated"}
|
|
122
|
+
set {_uniqueStorage()._nfcOssSuccessUpdateConfigurationMessage = newValue}
|
|
123
123
|
}
|
|
124
124
|
/// Returns true if `nfcOssSuccessUpdateConfigurationMessage` has been explicitly set.
|
|
125
|
-
public var hasNfcOssSuccessUpdateConfigurationMessage: Bool {return
|
|
125
|
+
public var hasNfcOssSuccessUpdateConfigurationMessage: Bool {return _storage._nfcOssSuccessUpdateConfigurationMessage != nil}
|
|
126
126
|
/// Clears the value of `nfcOssSuccessUpdateConfigurationMessage`. Subsequent reads from it will return its default value.
|
|
127
|
-
public mutating func clearNfcOssSuccessUpdateConfigurationMessage() {
|
|
127
|
+
public mutating func clearNfcOssSuccessUpdateConfigurationMessage() {_uniqueStorage()._nfcOssSuccessUpdateConfigurationMessage = nil}
|
|
128
128
|
|
|
129
129
|
public var nfcOssSuccessClearEventsMessage: String {
|
|
130
|
-
get {return _nfcOssSuccessClearEventsMessage ?? "Events successfully cleared"}
|
|
131
|
-
set {_nfcOssSuccessClearEventsMessage = newValue}
|
|
130
|
+
get {return _storage._nfcOssSuccessClearEventsMessage ?? "Events successfully cleared"}
|
|
131
|
+
set {_uniqueStorage()._nfcOssSuccessClearEventsMessage = newValue}
|
|
132
132
|
}
|
|
133
133
|
/// Returns true if `nfcOssSuccessClearEventsMessage` has been explicitly set.
|
|
134
|
-
public var hasNfcOssSuccessClearEventsMessage: Bool {return
|
|
134
|
+
public var hasNfcOssSuccessClearEventsMessage: Bool {return _storage._nfcOssSuccessClearEventsMessage != nil}
|
|
135
135
|
/// Clears the value of `nfcOssSuccessClearEventsMessage`. Subsequent reads from it will return its default value.
|
|
136
|
-
public mutating func clearNfcOssSuccessClearEventsMessage() {
|
|
136
|
+
public mutating func clearNfcOssSuccessClearEventsMessage() {_uniqueStorage()._nfcOssSuccessClearEventsMessage = nil}
|
|
137
137
|
|
|
138
138
|
public var nfcOssSuccessIsProvisionedMessage: String {
|
|
139
|
-
get {return _nfcOssSuccessIsProvisionedMessage ?? "Is already provisioned"}
|
|
140
|
-
set {_nfcOssSuccessIsProvisionedMessage = newValue}
|
|
139
|
+
get {return _storage._nfcOssSuccessIsProvisionedMessage ?? "Is already provisioned"}
|
|
140
|
+
set {_uniqueStorage()._nfcOssSuccessIsProvisionedMessage = newValue}
|
|
141
141
|
}
|
|
142
142
|
/// Returns true if `nfcOssSuccessIsProvisionedMessage` has been explicitly set.
|
|
143
|
-
public var hasNfcOssSuccessIsProvisionedMessage: Bool {return
|
|
143
|
+
public var hasNfcOssSuccessIsProvisionedMessage: Bool {return _storage._nfcOssSuccessIsProvisionedMessage != nil}
|
|
144
144
|
/// Clears the value of `nfcOssSuccessIsProvisionedMessage`. Subsequent reads from it will return its default value.
|
|
145
|
-
public mutating func clearNfcOssSuccessIsProvisionedMessage() {
|
|
145
|
+
public mutating func clearNfcOssSuccessIsProvisionedMessage() {_uniqueStorage()._nfcOssSuccessIsProvisionedMessage = nil}
|
|
146
146
|
|
|
147
147
|
public var nfcOssSuccessProvisionMessage: String {
|
|
148
|
-
get {return _nfcOssSuccessProvisionMessage ?? "Successfully provisioned"}
|
|
149
|
-
set {_nfcOssSuccessProvisionMessage = newValue}
|
|
148
|
+
get {return _storage._nfcOssSuccessProvisionMessage ?? "Successfully provisioned"}
|
|
149
|
+
set {_uniqueStorage()._nfcOssSuccessProvisionMessage = newValue}
|
|
150
150
|
}
|
|
151
151
|
/// Returns true if `nfcOssSuccessProvisionMessage` has been explicitly set.
|
|
152
|
-
public var hasNfcOssSuccessProvisionMessage: Bool {return
|
|
152
|
+
public var hasNfcOssSuccessProvisionMessage: Bool {return _storage._nfcOssSuccessProvisionMessage != nil}
|
|
153
153
|
/// Clears the value of `nfcOssSuccessProvisionMessage`. Subsequent reads from it will return its default value.
|
|
154
|
-
public mutating func clearNfcOssSuccessProvisionMessage() {
|
|
154
|
+
public mutating func clearNfcOssSuccessProvisionMessage() {_uniqueStorage()._nfcOssSuccessProvisionMessage = nil}
|
|
155
155
|
|
|
156
156
|
public var nfcOssSuccessUnprovisionMessage: String {
|
|
157
|
-
get {return _nfcOssSuccessUnprovisionMessage ?? "Successfully unprovisioned"}
|
|
158
|
-
set {_nfcOssSuccessUnprovisionMessage = newValue}
|
|
157
|
+
get {return _storage._nfcOssSuccessUnprovisionMessage ?? "Successfully unprovisioned"}
|
|
158
|
+
set {_uniqueStorage()._nfcOssSuccessUnprovisionMessage = newValue}
|
|
159
159
|
}
|
|
160
160
|
/// Returns true if `nfcOssSuccessUnprovisionMessage` has been explicitly set.
|
|
161
|
-
public var hasNfcOssSuccessUnprovisionMessage: Bool {return
|
|
161
|
+
public var hasNfcOssSuccessUnprovisionMessage: Bool {return _storage._nfcOssSuccessUnprovisionMessage != nil}
|
|
162
162
|
/// Clears the value of `nfcOssSuccessUnprovisionMessage`. Subsequent reads from it will return its default value.
|
|
163
|
-
public mutating func clearNfcOssSuccessUnprovisionMessage() {
|
|
163
|
+
public mutating func clearNfcOssSuccessUnprovisionMessage() {_uniqueStorage()._nfcOssSuccessUnprovisionMessage = nil}
|
|
164
164
|
|
|
165
165
|
public var nfcOssSuccessFormatMessage: String {
|
|
166
|
-
get {return _nfcOssSuccessFormatMessage ?? "Transponder was successfully formatted"}
|
|
167
|
-
set {_nfcOssSuccessFormatMessage = newValue}
|
|
166
|
+
get {return _storage._nfcOssSuccessFormatMessage ?? "Transponder was successfully formatted"}
|
|
167
|
+
set {_uniqueStorage()._nfcOssSuccessFormatMessage = newValue}
|
|
168
168
|
}
|
|
169
169
|
/// Returns true if `nfcOssSuccessFormatMessage` has been explicitly set.
|
|
170
|
-
public var hasNfcOssSuccessFormatMessage: Bool {return
|
|
170
|
+
public var hasNfcOssSuccessFormatMessage: Bool {return _storage._nfcOssSuccessFormatMessage != nil}
|
|
171
171
|
/// Clears the value of `nfcOssSuccessFormatMessage`. Subsequent reads from it will return its default value.
|
|
172
|
-
public mutating func clearNfcOssSuccessFormatMessage() {
|
|
172
|
+
public mutating func clearNfcOssSuccessFormatMessage() {_uniqueStorage()._nfcOssSuccessFormatMessage = nil}
|
|
173
|
+
|
|
174
|
+
public var nfcInitializingWritingProcess: String {
|
|
175
|
+
get {return _storage._nfcInitializingWritingProcess ?? "Initializing writing process"}
|
|
176
|
+
set {_uniqueStorage()._nfcInitializingWritingProcess = newValue}
|
|
177
|
+
}
|
|
178
|
+
/// Returns true if `nfcInitializingWritingProcess` has been explicitly set.
|
|
179
|
+
public var hasNfcInitializingWritingProcess: Bool {return _storage._nfcInitializingWritingProcess != nil}
|
|
180
|
+
/// Clears the value of `nfcInitializingWritingProcess`. Subsequent reads from it will return its default value.
|
|
181
|
+
public mutating func clearNfcInitializingWritingProcess() {_uniqueStorage()._nfcInitializingWritingProcess = nil}
|
|
173
182
|
|
|
174
183
|
public var cmnCancelLabel: String {
|
|
175
|
-
get {return _cmnCancelLabel ?? "Cancel"}
|
|
176
|
-
set {_cmnCancelLabel = newValue}
|
|
184
|
+
get {return _storage._cmnCancelLabel ?? "Cancel"}
|
|
185
|
+
set {_uniqueStorage()._cmnCancelLabel = newValue}
|
|
177
186
|
}
|
|
178
187
|
/// Returns true if `cmnCancelLabel` has been explicitly set.
|
|
179
|
-
public var hasCmnCancelLabel: Bool {return
|
|
188
|
+
public var hasCmnCancelLabel: Bool {return _storage._cmnCancelLabel != nil}
|
|
180
189
|
/// Clears the value of `cmnCancelLabel`. Subsequent reads from it will return its default value.
|
|
181
|
-
public mutating func clearCmnCancelLabel() {
|
|
190
|
+
public mutating func clearCmnCancelLabel() {_uniqueStorage()._cmnCancelLabel = nil}
|
|
182
191
|
|
|
183
192
|
public var openViaOssTitle: String {
|
|
184
|
-
get {return _openViaOssTitle ?? "Unlocking
|
|
185
|
-
set {_openViaOssTitle = newValue}
|
|
193
|
+
get {return _storage._openViaOssTitle ?? "Unlocking in Progress"}
|
|
194
|
+
set {_uniqueStorage()._openViaOssTitle = newValue}
|
|
186
195
|
}
|
|
187
196
|
/// Returns true if `openViaOssTitle` has been explicitly set.
|
|
188
|
-
public var hasOpenViaOssTitle: Bool {return
|
|
197
|
+
public var hasOpenViaOssTitle: Bool {return _storage._openViaOssTitle != nil}
|
|
189
198
|
/// Clears the value of `openViaOssTitle`. Subsequent reads from it will return its default value.
|
|
190
|
-
public mutating func clearOpenViaOssTitle() {
|
|
199
|
+
public mutating func clearOpenViaOssTitle() {_uniqueStorage()._openViaOssTitle = nil}
|
|
191
200
|
|
|
192
201
|
public var openViaOssWaitMessage: String {
|
|
193
|
-
get {return _openViaOssWaitMessage ?? "
|
|
194
|
-
set {_openViaOssWaitMessage = newValue}
|
|
202
|
+
get {return _storage._openViaOssWaitMessage ?? "Establishing secure connection..."}
|
|
203
|
+
set {_uniqueStorage()._openViaOssWaitMessage = newValue}
|
|
195
204
|
}
|
|
196
205
|
/// Returns true if `openViaOssWaitMessage` has been explicitly set.
|
|
197
|
-
public var hasOpenViaOssWaitMessage: Bool {return
|
|
206
|
+
public var hasOpenViaOssWaitMessage: Bool {return _storage._openViaOssWaitMessage != nil}
|
|
198
207
|
/// Clears the value of `openViaOssWaitMessage`. Subsequent reads from it will return its default value.
|
|
199
|
-
public mutating func clearOpenViaOssWaitMessage() {
|
|
200
|
-
|
|
201
|
-
public var
|
|
202
|
-
get {return
|
|
203
|
-
set {
|
|
204
|
-
}
|
|
205
|
-
/// Returns true if `
|
|
206
|
-
public var
|
|
207
|
-
/// Clears the value of `
|
|
208
|
-
public mutating func
|
|
209
|
-
|
|
210
|
-
public var
|
|
211
|
-
get {return
|
|
212
|
-
set {
|
|
213
|
-
}
|
|
214
|
-
/// Returns true if `
|
|
215
|
-
public var
|
|
216
|
-
/// Clears the value of `
|
|
217
|
-
public mutating func
|
|
208
|
+
public mutating func clearOpenViaOssWaitMessage() {_uniqueStorage()._openViaOssWaitMessage = nil}
|
|
209
|
+
|
|
210
|
+
public var openViaOssAccessGrantedTitle: String {
|
|
211
|
+
get {return _storage._openViaOssAccessGrantedTitle ?? "Access Granted"}
|
|
212
|
+
set {_uniqueStorage()._openViaOssAccessGrantedTitle = newValue}
|
|
213
|
+
}
|
|
214
|
+
/// Returns true if `openViaOssAccessGrantedTitle` has been explicitly set.
|
|
215
|
+
public var hasOpenViaOssAccessGrantedTitle: Bool {return _storage._openViaOssAccessGrantedTitle != nil}
|
|
216
|
+
/// Clears the value of `openViaOssAccessGrantedTitle`. Subsequent reads from it will return its default value.
|
|
217
|
+
public mutating func clearOpenViaOssAccessGrantedTitle() {_uniqueStorage()._openViaOssAccessGrantedTitle = nil}
|
|
218
|
+
|
|
219
|
+
public var openViaOssAccessGrantedMessage: String {
|
|
220
|
+
get {return _storage._openViaOssAccessGrantedMessage ?? "Please proceed."}
|
|
221
|
+
set {_uniqueStorage()._openViaOssAccessGrantedMessage = newValue}
|
|
222
|
+
}
|
|
223
|
+
/// Returns true if `openViaOssAccessGrantedMessage` has been explicitly set.
|
|
224
|
+
public var hasOpenViaOssAccessGrantedMessage: Bool {return _storage._openViaOssAccessGrantedMessage != nil}
|
|
225
|
+
/// Clears the value of `openViaOssAccessGrantedMessage`. Subsequent reads from it will return its default value.
|
|
226
|
+
public mutating func clearOpenViaOssAccessGrantedMessage() {_uniqueStorage()._openViaOssAccessGrantedMessage = nil}
|
|
227
|
+
|
|
228
|
+
public var openViaOssAccessDeniedTitle: String {
|
|
229
|
+
get {return _storage._openViaOssAccessDeniedTitle ?? "Access Denied"}
|
|
230
|
+
set {_uniqueStorage()._openViaOssAccessDeniedTitle = newValue}
|
|
231
|
+
}
|
|
232
|
+
/// Returns true if `openViaOssAccessDeniedTitle` has been explicitly set.
|
|
233
|
+
public var hasOpenViaOssAccessDeniedTitle: Bool {return _storage._openViaOssAccessDeniedTitle != nil}
|
|
234
|
+
/// Clears the value of `openViaOssAccessDeniedTitle`. Subsequent reads from it will return its default value.
|
|
235
|
+
public mutating func clearOpenViaOssAccessDeniedTitle() {_uniqueStorage()._openViaOssAccessDeniedTitle = nil}
|
|
236
|
+
|
|
237
|
+
public var openViaOssAccessDeniedMessage: String {
|
|
238
|
+
get {return _storage._openViaOssAccessDeniedMessage ?? "Credentials are invalid or outdated."}
|
|
239
|
+
set {_uniqueStorage()._openViaOssAccessDeniedMessage = newValue}
|
|
240
|
+
}
|
|
241
|
+
/// Returns true if `openViaOssAccessDeniedMessage` has been explicitly set.
|
|
242
|
+
public var hasOpenViaOssAccessDeniedMessage: Bool {return _storage._openViaOssAccessDeniedMessage != nil}
|
|
243
|
+
/// Clears the value of `openViaOssAccessDeniedMessage`. Subsequent reads from it will return its default value.
|
|
244
|
+
public mutating func clearOpenViaOssAccessDeniedMessage() {_uniqueStorage()._openViaOssAccessDeniedMessage = nil}
|
|
245
|
+
|
|
246
|
+
public var openViaOssAccessDeniedScheduleMismatchMessage: String {
|
|
247
|
+
get {return _storage._openViaOssAccessDeniedScheduleMismatchMessage ?? "Credentials are not valid at this time and/or day of the week."}
|
|
248
|
+
set {_uniqueStorage()._openViaOssAccessDeniedScheduleMismatchMessage = newValue}
|
|
249
|
+
}
|
|
250
|
+
/// Returns true if `openViaOssAccessDeniedScheduleMismatchMessage` has been explicitly set.
|
|
251
|
+
public var hasOpenViaOssAccessDeniedScheduleMismatchMessage: Bool {return _storage._openViaOssAccessDeniedScheduleMismatchMessage != nil}
|
|
252
|
+
/// Clears the value of `openViaOssAccessDeniedScheduleMismatchMessage`. Subsequent reads from it will return its default value.
|
|
253
|
+
public mutating func clearOpenViaOssAccessDeniedScheduleMismatchMessage() {_uniqueStorage()._openViaOssAccessDeniedScheduleMismatchMessage = nil}
|
|
254
|
+
|
|
255
|
+
public var openViaOssErrorTitle: String {
|
|
256
|
+
get {return _storage._openViaOssErrorTitle ?? "Error"}
|
|
257
|
+
set {_uniqueStorage()._openViaOssErrorTitle = newValue}
|
|
258
|
+
}
|
|
259
|
+
/// Returns true if `openViaOssErrorTitle` has been explicitly set.
|
|
260
|
+
public var hasOpenViaOssErrorTitle: Bool {return _storage._openViaOssErrorTitle != nil}
|
|
261
|
+
/// Clears the value of `openViaOssErrorTitle`. Subsequent reads from it will return its default value.
|
|
262
|
+
public mutating func clearOpenViaOssErrorTitle() {_uniqueStorage()._openViaOssErrorTitle = nil}
|
|
218
263
|
|
|
219
264
|
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
220
265
|
|
|
221
266
|
public init() {}
|
|
222
267
|
|
|
223
|
-
fileprivate var
|
|
224
|
-
fileprivate var _nfcOssSuccessReadConfigurationMessage: String? = nil
|
|
225
|
-
fileprivate var _nfcOssSuccessUpdateConfigurationMessage: String? = nil
|
|
226
|
-
fileprivate var _nfcOssSuccessClearEventsMessage: String? = nil
|
|
227
|
-
fileprivate var _nfcOssSuccessIsProvisionedMessage: String? = nil
|
|
228
|
-
fileprivate var _nfcOssSuccessProvisionMessage: String? = nil
|
|
229
|
-
fileprivate var _nfcOssSuccessUnprovisionMessage: String? = nil
|
|
230
|
-
fileprivate var _nfcOssSuccessFormatMessage: String? = nil
|
|
231
|
-
fileprivate var _cmnCancelLabel: String? = nil
|
|
232
|
-
fileprivate var _openViaOssTitle: String? = nil
|
|
233
|
-
fileprivate var _openViaOssWaitMessage: String? = nil
|
|
234
|
-
fileprivate var _openViaOssSuccessfulMessage: String? = nil
|
|
235
|
-
fileprivate var _openViaOssUnsuccessfulMessage: String? = nil
|
|
268
|
+
fileprivate var _storage = _StorageClass.defaultInstance
|
|
236
269
|
}
|
|
237
270
|
|
|
238
271
|
public struct BlueDeviceDetailsBluetooth {
|
|
@@ -765,115 +798,218 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
765
798
|
6: .same(proto: "nfcOssSuccessProvisionMessage"),
|
|
766
799
|
7: .same(proto: "nfcOssSuccessUnprovisionMessage"),
|
|
767
800
|
8: .same(proto: "nfcOssSuccessFormatMessage"),
|
|
768
|
-
9: .same(proto: "
|
|
769
|
-
10: .same(proto: "
|
|
770
|
-
11: .same(proto: "
|
|
771
|
-
12: .same(proto: "
|
|
772
|
-
13: .same(proto: "
|
|
801
|
+
9: .same(proto: "nfcInitializingWritingProcess"),
|
|
802
|
+
10: .same(proto: "cmnCancelLabel"),
|
|
803
|
+
11: .same(proto: "openViaOssTitle"),
|
|
804
|
+
12: .same(proto: "openViaOssWaitMessage"),
|
|
805
|
+
13: .same(proto: "openViaOssAccessGrantedTitle"),
|
|
806
|
+
14: .same(proto: "openViaOssAccessGrantedMessage"),
|
|
807
|
+
15: .same(proto: "openViaOssAccessDeniedTitle"),
|
|
808
|
+
16: .same(proto: "openViaOssAccessDeniedMessage"),
|
|
809
|
+
17: .same(proto: "openViaOssAccessDeniedScheduleMismatchMessage"),
|
|
810
|
+
18: .same(proto: "openViaOssErrorTitle"),
|
|
773
811
|
]
|
|
774
812
|
|
|
813
|
+
fileprivate class _StorageClass {
|
|
814
|
+
var _nfcWaitMessage: String? = nil
|
|
815
|
+
var _nfcOssSuccessReadConfigurationMessage: String? = nil
|
|
816
|
+
var _nfcOssSuccessUpdateConfigurationMessage: String? = nil
|
|
817
|
+
var _nfcOssSuccessClearEventsMessage: String? = nil
|
|
818
|
+
var _nfcOssSuccessIsProvisionedMessage: String? = nil
|
|
819
|
+
var _nfcOssSuccessProvisionMessage: String? = nil
|
|
820
|
+
var _nfcOssSuccessUnprovisionMessage: String? = nil
|
|
821
|
+
var _nfcOssSuccessFormatMessage: String? = nil
|
|
822
|
+
var _nfcInitializingWritingProcess: String? = nil
|
|
823
|
+
var _cmnCancelLabel: String? = nil
|
|
824
|
+
var _openViaOssTitle: String? = nil
|
|
825
|
+
var _openViaOssWaitMessage: String? = nil
|
|
826
|
+
var _openViaOssAccessGrantedTitle: String? = nil
|
|
827
|
+
var _openViaOssAccessGrantedMessage: String? = nil
|
|
828
|
+
var _openViaOssAccessDeniedTitle: String? = nil
|
|
829
|
+
var _openViaOssAccessDeniedMessage: String? = nil
|
|
830
|
+
var _openViaOssAccessDeniedScheduleMismatchMessage: String? = nil
|
|
831
|
+
var _openViaOssErrorTitle: String? = nil
|
|
832
|
+
|
|
833
|
+
static let defaultInstance = _StorageClass()
|
|
834
|
+
|
|
835
|
+
private init() {}
|
|
836
|
+
|
|
837
|
+
init(copying source: _StorageClass) {
|
|
838
|
+
_nfcWaitMessage = source._nfcWaitMessage
|
|
839
|
+
_nfcOssSuccessReadConfigurationMessage = source._nfcOssSuccessReadConfigurationMessage
|
|
840
|
+
_nfcOssSuccessUpdateConfigurationMessage = source._nfcOssSuccessUpdateConfigurationMessage
|
|
841
|
+
_nfcOssSuccessClearEventsMessage = source._nfcOssSuccessClearEventsMessage
|
|
842
|
+
_nfcOssSuccessIsProvisionedMessage = source._nfcOssSuccessIsProvisionedMessage
|
|
843
|
+
_nfcOssSuccessProvisionMessage = source._nfcOssSuccessProvisionMessage
|
|
844
|
+
_nfcOssSuccessUnprovisionMessage = source._nfcOssSuccessUnprovisionMessage
|
|
845
|
+
_nfcOssSuccessFormatMessage = source._nfcOssSuccessFormatMessage
|
|
846
|
+
_nfcInitializingWritingProcess = source._nfcInitializingWritingProcess
|
|
847
|
+
_cmnCancelLabel = source._cmnCancelLabel
|
|
848
|
+
_openViaOssTitle = source._openViaOssTitle
|
|
849
|
+
_openViaOssWaitMessage = source._openViaOssWaitMessage
|
|
850
|
+
_openViaOssAccessGrantedTitle = source._openViaOssAccessGrantedTitle
|
|
851
|
+
_openViaOssAccessGrantedMessage = source._openViaOssAccessGrantedMessage
|
|
852
|
+
_openViaOssAccessDeniedTitle = source._openViaOssAccessDeniedTitle
|
|
853
|
+
_openViaOssAccessDeniedMessage = source._openViaOssAccessDeniedMessage
|
|
854
|
+
_openViaOssAccessDeniedScheduleMismatchMessage = source._openViaOssAccessDeniedScheduleMismatchMessage
|
|
855
|
+
_openViaOssErrorTitle = source._openViaOssErrorTitle
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
fileprivate mutating func _uniqueStorage() -> _StorageClass {
|
|
860
|
+
if !isKnownUniquelyReferenced(&_storage) {
|
|
861
|
+
_storage = _StorageClass(copying: _storage)
|
|
862
|
+
}
|
|
863
|
+
return _storage
|
|
864
|
+
}
|
|
865
|
+
|
|
775
866
|
public var isInitialized: Bool {
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
867
|
+
return withExtendedLifetime(_storage) { (_storage: _StorageClass) in
|
|
868
|
+
if _storage._nfcWaitMessage == nil {return false}
|
|
869
|
+
if _storage._nfcOssSuccessReadConfigurationMessage == nil {return false}
|
|
870
|
+
if _storage._nfcOssSuccessUpdateConfigurationMessage == nil {return false}
|
|
871
|
+
if _storage._nfcOssSuccessClearEventsMessage == nil {return false}
|
|
872
|
+
if _storage._nfcOssSuccessIsProvisionedMessage == nil {return false}
|
|
873
|
+
if _storage._nfcOssSuccessProvisionMessage == nil {return false}
|
|
874
|
+
if _storage._nfcOssSuccessUnprovisionMessage == nil {return false}
|
|
875
|
+
if _storage._nfcOssSuccessFormatMessage == nil {return false}
|
|
876
|
+
if _storage._nfcInitializingWritingProcess == nil {return false}
|
|
877
|
+
if _storage._cmnCancelLabel == nil {return false}
|
|
878
|
+
if _storage._openViaOssTitle == nil {return false}
|
|
879
|
+
if _storage._openViaOssWaitMessage == nil {return false}
|
|
880
|
+
if _storage._openViaOssAccessGrantedTitle == nil {return false}
|
|
881
|
+
if _storage._openViaOssAccessGrantedMessage == nil {return false}
|
|
882
|
+
if _storage._openViaOssAccessDeniedTitle == nil {return false}
|
|
883
|
+
if _storage._openViaOssAccessDeniedMessage == nil {return false}
|
|
884
|
+
if _storage._openViaOssAccessDeniedScheduleMismatchMessage == nil {return false}
|
|
885
|
+
if _storage._openViaOssErrorTitle == nil {return false}
|
|
886
|
+
return true
|
|
887
|
+
}
|
|
790
888
|
}
|
|
791
889
|
|
|
792
890
|
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
891
|
+
_ = _uniqueStorage()
|
|
892
|
+
try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
|
|
893
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
894
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
895
|
+
// allocates stack space for every case branch when no optimizations are
|
|
896
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
897
|
+
switch fieldNumber {
|
|
898
|
+
case 1: try { try decoder.decodeSingularStringField(value: &_storage._nfcWaitMessage) }()
|
|
899
|
+
case 2: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessReadConfigurationMessage) }()
|
|
900
|
+
case 3: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessUpdateConfigurationMessage) }()
|
|
901
|
+
case 4: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessClearEventsMessage) }()
|
|
902
|
+
case 5: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessIsProvisionedMessage) }()
|
|
903
|
+
case 6: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessProvisionMessage) }()
|
|
904
|
+
case 7: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessUnprovisionMessage) }()
|
|
905
|
+
case 8: try { try decoder.decodeSingularStringField(value: &_storage._nfcOssSuccessFormatMessage) }()
|
|
906
|
+
case 9: try { try decoder.decodeSingularStringField(value: &_storage._nfcInitializingWritingProcess) }()
|
|
907
|
+
case 10: try { try decoder.decodeSingularStringField(value: &_storage._cmnCancelLabel) }()
|
|
908
|
+
case 11: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssTitle) }()
|
|
909
|
+
case 12: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssWaitMessage) }()
|
|
910
|
+
case 13: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessGrantedTitle) }()
|
|
911
|
+
case 14: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessGrantedMessage) }()
|
|
912
|
+
case 15: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessDeniedTitle) }()
|
|
913
|
+
case 16: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessDeniedMessage) }()
|
|
914
|
+
case 17: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssAccessDeniedScheduleMismatchMessage) }()
|
|
915
|
+
case 18: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssErrorTitle) }()
|
|
916
|
+
default: break
|
|
917
|
+
}
|
|
812
918
|
}
|
|
813
919
|
}
|
|
814
920
|
}
|
|
815
921
|
|
|
816
922
|
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
try
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
try
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
try
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
try
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
try
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
try
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
try
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
try
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
try
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
try
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
try
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
try
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
try
|
|
859
|
-
|
|
923
|
+
try withExtendedLifetime(_storage) { (_storage: _StorageClass) in
|
|
924
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
925
|
+
// allocates stack space for every if/case branch local when no optimizations
|
|
926
|
+
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
927
|
+
// https://github.com/apple/swift-protobuf/issues/1182
|
|
928
|
+
try { if let v = _storage._nfcWaitMessage {
|
|
929
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 1)
|
|
930
|
+
} }()
|
|
931
|
+
try { if let v = _storage._nfcOssSuccessReadConfigurationMessage {
|
|
932
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 2)
|
|
933
|
+
} }()
|
|
934
|
+
try { if let v = _storage._nfcOssSuccessUpdateConfigurationMessage {
|
|
935
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 3)
|
|
936
|
+
} }()
|
|
937
|
+
try { if let v = _storage._nfcOssSuccessClearEventsMessage {
|
|
938
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 4)
|
|
939
|
+
} }()
|
|
940
|
+
try { if let v = _storage._nfcOssSuccessIsProvisionedMessage {
|
|
941
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 5)
|
|
942
|
+
} }()
|
|
943
|
+
try { if let v = _storage._nfcOssSuccessProvisionMessage {
|
|
944
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 6)
|
|
945
|
+
} }()
|
|
946
|
+
try { if let v = _storage._nfcOssSuccessUnprovisionMessage {
|
|
947
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 7)
|
|
948
|
+
} }()
|
|
949
|
+
try { if let v = _storage._nfcOssSuccessFormatMessage {
|
|
950
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 8)
|
|
951
|
+
} }()
|
|
952
|
+
try { if let v = _storage._nfcInitializingWritingProcess {
|
|
953
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 9)
|
|
954
|
+
} }()
|
|
955
|
+
try { if let v = _storage._cmnCancelLabel {
|
|
956
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 10)
|
|
957
|
+
} }()
|
|
958
|
+
try { if let v = _storage._openViaOssTitle {
|
|
959
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 11)
|
|
960
|
+
} }()
|
|
961
|
+
try { if let v = _storage._openViaOssWaitMessage {
|
|
962
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 12)
|
|
963
|
+
} }()
|
|
964
|
+
try { if let v = _storage._openViaOssAccessGrantedTitle {
|
|
965
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 13)
|
|
966
|
+
} }()
|
|
967
|
+
try { if let v = _storage._openViaOssAccessGrantedMessage {
|
|
968
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 14)
|
|
969
|
+
} }()
|
|
970
|
+
try { if let v = _storage._openViaOssAccessDeniedTitle {
|
|
971
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 15)
|
|
972
|
+
} }()
|
|
973
|
+
try { if let v = _storage._openViaOssAccessDeniedMessage {
|
|
974
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 16)
|
|
975
|
+
} }()
|
|
976
|
+
try { if let v = _storage._openViaOssAccessDeniedScheduleMismatchMessage {
|
|
977
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 17)
|
|
978
|
+
} }()
|
|
979
|
+
try { if let v = _storage._openViaOssErrorTitle {
|
|
980
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 18)
|
|
981
|
+
} }()
|
|
982
|
+
}
|
|
860
983
|
try unknownFields.traverse(visitor: &visitor)
|
|
861
984
|
}
|
|
862
985
|
|
|
863
986
|
public static func ==(lhs: BlueI18n, rhs: BlueI18n) -> Bool {
|
|
864
|
-
if lhs.
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
987
|
+
if lhs._storage !== rhs._storage {
|
|
988
|
+
let storagesAreEqual: Bool = withExtendedLifetime((lhs._storage, rhs._storage)) { (_args: (_StorageClass, _StorageClass)) in
|
|
989
|
+
let _storage = _args.0
|
|
990
|
+
let rhs_storage = _args.1
|
|
991
|
+
if _storage._nfcWaitMessage != rhs_storage._nfcWaitMessage {return false}
|
|
992
|
+
if _storage._nfcOssSuccessReadConfigurationMessage != rhs_storage._nfcOssSuccessReadConfigurationMessage {return false}
|
|
993
|
+
if _storage._nfcOssSuccessUpdateConfigurationMessage != rhs_storage._nfcOssSuccessUpdateConfigurationMessage {return false}
|
|
994
|
+
if _storage._nfcOssSuccessClearEventsMessage != rhs_storage._nfcOssSuccessClearEventsMessage {return false}
|
|
995
|
+
if _storage._nfcOssSuccessIsProvisionedMessage != rhs_storage._nfcOssSuccessIsProvisionedMessage {return false}
|
|
996
|
+
if _storage._nfcOssSuccessProvisionMessage != rhs_storage._nfcOssSuccessProvisionMessage {return false}
|
|
997
|
+
if _storage._nfcOssSuccessUnprovisionMessage != rhs_storage._nfcOssSuccessUnprovisionMessage {return false}
|
|
998
|
+
if _storage._nfcOssSuccessFormatMessage != rhs_storage._nfcOssSuccessFormatMessage {return false}
|
|
999
|
+
if _storage._nfcInitializingWritingProcess != rhs_storage._nfcInitializingWritingProcess {return false}
|
|
1000
|
+
if _storage._cmnCancelLabel != rhs_storage._cmnCancelLabel {return false}
|
|
1001
|
+
if _storage._openViaOssTitle != rhs_storage._openViaOssTitle {return false}
|
|
1002
|
+
if _storage._openViaOssWaitMessage != rhs_storage._openViaOssWaitMessage {return false}
|
|
1003
|
+
if _storage._openViaOssAccessGrantedTitle != rhs_storage._openViaOssAccessGrantedTitle {return false}
|
|
1004
|
+
if _storage._openViaOssAccessGrantedMessage != rhs_storage._openViaOssAccessGrantedMessage {return false}
|
|
1005
|
+
if _storage._openViaOssAccessDeniedTitle != rhs_storage._openViaOssAccessDeniedTitle {return false}
|
|
1006
|
+
if _storage._openViaOssAccessDeniedMessage != rhs_storage._openViaOssAccessDeniedMessage {return false}
|
|
1007
|
+
if _storage._openViaOssAccessDeniedScheduleMismatchMessage != rhs_storage._openViaOssAccessDeniedScheduleMismatchMessage {return false}
|
|
1008
|
+
if _storage._openViaOssErrorTitle != rhs_storage._openViaOssErrorTitle {return false}
|
|
1009
|
+
return true
|
|
1010
|
+
}
|
|
1011
|
+
if !storagesAreEqual {return false}
|
|
1012
|
+
}
|
|
877
1013
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
878
1014
|
return true
|
|
879
1015
|
}
|