simplejsble 0.0.29 → 0.0.31

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.
Files changed (30) hide show
  1. package/NitroSimplejsble.podspec +1 -1
  2. package/VERSION +1 -1
  3. package/dependencies/external/kvn/kvn_bytearray.h +7 -0
  4. package/lib/index.d.ts +3 -0
  5. package/lib/index.d.ts.map +1 -0
  6. package/lib/index.js +2 -0
  7. package/lib/specs/Adapter.nitro.d.ts +10 -0
  8. package/lib/specs/Adapter.nitro.d.ts.map +1 -0
  9. package/lib/specs/Adapter.nitro.js +1 -0
  10. package/package.json +2 -2
  11. package/simpleble/CMakeLists.txt +1 -6
  12. package/simpleble/src/backends/dongl/AdapterDongl.cpp +10 -143
  13. package/simpleble/src/backends/dongl/AdapterDongl.h +0 -1
  14. package/simpleble/src/backends/dongl/PeripheralDongl.cpp +120 -118
  15. package/simpleble/src/backends/dongl/PeripheralDongl.h +9 -2
  16. package/simpleble/src/backends/dongl/protocol/d2h.pb.h +9 -26
  17. package/simpleble/src/backends/dongl/protocol/h2d.pb.h +2 -12
  18. package/simpleble/src/backends/dongl/serial/Protocol.cpp +1 -755
  19. package/simpleble/src/backends/dongl/serial/Protocol.h +0 -75
  20. package/simpleble/test/src/test_bytearray.cpp +7 -0
  21. package/simpleble/src/backends/dongl/protocol/softdevice.pb.c +0 -18
  22. package/simpleble/src/backends/dongl/protocol/softdevice.pb.h +0 -815
  23. package/simpleble/src/backends/dongl/protocol/softdevice_gap.pb.c +0 -339
  24. package/simpleble/src/backends/dongl/protocol/softdevice_gap.pb.h +0 -2086
  25. package/simpleble/src/backends/dongl/protocol/softdevice_gattc.pb.c +0 -114
  26. package/simpleble/src/backends/dongl/protocol/softdevice_gattc.pb.h +0 -772
  27. package/simpleble/src/backends/dongl/protocol/softdevice_gatts.pb.c +0 -117
  28. package/simpleble/src/backends/dongl/protocol/softdevice_gatts.pb.h +0 -766
  29. package/simpleble/src/backends/dongl/protocol/softdevice_types.pb.c +0 -207
  30. package/simpleble/src/backends/dongl/protocol/softdevice_types.pb.h +0 -1686
@@ -1,1686 +0,0 @@
1
- /* Automatically generated nanopb header */
2
- /* Generated by nanopb-0.4.9.1 */
3
-
4
- #ifndef PB_SD_TYPES_SOFTDEVICE_TYPES_PB_H_INCLUDED
5
- #define PB_SD_TYPES_SOFTDEVICE_TYPES_PB_H_INCLUDED
6
- #include "nanopb/pb.h"
7
-
8
- #if PB_PROTO_HEADER_VERSION != 40
9
- #error Regenerate this file with the current version of nanopb generator.
10
- #endif
11
-
12
- /* Enum definitions */
13
- /* Enums for GAP constants */
14
- typedef enum _sd_types_BleGapAddrType {
15
- sd_types_BleGapAddrType_BLE_GAP_ADDR_TYPE_PUBLIC = 0,
16
- sd_types_BleGapAddrType_BLE_GAP_ADDR_TYPE_RANDOM_STATIC = 1,
17
- sd_types_BleGapAddrType_BLE_GAP_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = 2,
18
- sd_types_BleGapAddrType_BLE_GAP_ADDR_TYPE_RANDOM_PRIVATE_NON_RESOLVABLE = 3,
19
- sd_types_BleGapAddrType_BLE_GAP_ADDR_TYPE_ANONYMOUS = 127
20
- } sd_types_BleGapAddrType;
21
-
22
- typedef enum _sd_types_BleGapPrivacyMode {
23
- sd_types_BleGapPrivacyMode_BLE_GAP_PRIVACY_MODE_OFF = 0,
24
- sd_types_BleGapPrivacyMode_BLE_GAP_PRIVACY_MODE_DEVICE_PRIVACY = 1,
25
- sd_types_BleGapPrivacyMode_BLE_GAP_PRIVACY_MODE_NETWORK_PRIVACY = 2
26
- } sd_types_BleGapPrivacyMode;
27
-
28
- typedef enum _sd_types_BleGapAdvType {
29
- sd_types_BleGapAdvType_BLE_GAP_ADV_TYPE_UNKNOWN = 0,
30
- sd_types_BleGapAdvType_BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED = 1,
31
- sd_types_BleGapAdvType_BLE_GAP_ADV_TYPE_CONNECTABLE_NONSCANNABLE_DIRECTED_HIGH_DUTY_CYCLE = 2,
32
- sd_types_BleGapAdvType_BLE_GAP_ADV_TYPE_CONNECTABLE_NONSCANNABLE_DIRECTED = 3,
33
- sd_types_BleGapAdvType_BLE_GAP_ADV_TYPE_NONCONNECTABLE_SCANNABLE_UNDIRECTED = 4,
34
- sd_types_BleGapAdvType_BLE_GAP_ADV_TYPE_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED = 5,
35
- sd_types_BleGapAdvType_BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED = 6,
36
- sd_types_BleGapAdvType_BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_DIRECTED = 7,
37
- sd_types_BleGapAdvType_BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_SCANNABLE_UNDIRECTED = 8,
38
- sd_types_BleGapAdvType_BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_SCANNABLE_DIRECTED = 9,
39
- sd_types_BleGapAdvType_BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED = 10,
40
- sd_types_BleGapAdvType_BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_NONSCANNABLE_DIRECTED = 11
41
- } sd_types_BleGapAdvType;
42
-
43
- typedef enum _sd_types_BleGapAdvFilterPolicy {
44
- sd_types_BleGapAdvFilterPolicy_BLE_GAP_ADV_FP_ANY = 0,
45
- sd_types_BleGapAdvFilterPolicy_BLE_GAP_ADV_FP_FILTER_SCANREQ = 1,
46
- sd_types_BleGapAdvFilterPolicy_BLE_GAP_ADV_FP_FILTER_CONNREQ = 2,
47
- sd_types_BleGapAdvFilterPolicy_BLE_GAP_ADV_FP_FILTER_BOTH = 3
48
- } sd_types_BleGapAdvFilterPolicy;
49
-
50
- typedef enum _sd_types_BleGapPhy {
51
- sd_types_BleGapPhy_BLE_GAP_PHY_AUTO = 0,
52
- sd_types_BleGapPhy_BLE_GAP_PHY_1MBPS = 1,
53
- sd_types_BleGapPhy_BLE_GAP_PHY_2MBPS = 2,
54
- sd_types_BleGapPhy_BLE_GAP_PHY_CODED = 4,
55
- sd_types_BleGapPhy_BLE_GAP_PHY_NOT_SET = 255
56
- } sd_types_BleGapPhy;
57
-
58
- typedef enum _sd_types_BleGapIoCaps {
59
- sd_types_BleGapIoCaps_BLE_GAP_IO_CAPS_DISPLAY_ONLY = 0,
60
- sd_types_BleGapIoCaps_BLE_GAP_IO_CAPS_DISPLAY_YESNO = 1,
61
- sd_types_BleGapIoCaps_BLE_GAP_IO_CAPS_KEYBOARD_ONLY = 2,
62
- sd_types_BleGapIoCaps_BLE_GAP_IO_CAPS_NONE = 3,
63
- sd_types_BleGapIoCaps_BLE_GAP_IO_CAPS_KEYBOARD_DISPLAY = 4
64
- } sd_types_BleGapIoCaps;
65
-
66
- typedef enum _sd_types_BleGapAuthKeyType {
67
- sd_types_BleGapAuthKeyType_BLE_GAP_AUTH_KEY_TYPE_NONE = 0,
68
- sd_types_BleGapAuthKeyType_BLE_GAP_AUTH_KEY_TYPE_PASSKEY = 1,
69
- sd_types_BleGapAuthKeyType_BLE_GAP_AUTH_KEY_TYPE_OOB = 2
70
- } sd_types_BleGapAuthKeyType;
71
-
72
- typedef enum _sd_types_BleGapKpNotType {
73
- sd_types_BleGapKpNotType_BLE_GAP_KP_NOT_TYPE_PASSKEY_START = 0,
74
- sd_types_BleGapKpNotType_BLE_GAP_KP_NOT_TYPE_PASSKEY_DIGIT_IN = 1,
75
- sd_types_BleGapKpNotType_BLE_GAP_KP_NOT_TYPE_PASSKEY_DIGIT_OUT = 2,
76
- sd_types_BleGapKpNotType_BLE_GAP_KP_NOT_TYPE_PASSKEY_CLEAR = 3,
77
- sd_types_BleGapKpNotType_BLE_GAP_KP_NOT_TYPE_PASSKEY_END = 4
78
- } sd_types_BleGapKpNotType;
79
-
80
- typedef enum _sd_types_BleGapTimeoutSrc {
81
- sd_types_BleGapTimeoutSrc_BLE_GAP_TIMEOUT_SRC_INVALID = 0,
82
- sd_types_BleGapTimeoutSrc_BLE_GAP_TIMEOUT_SRC_SCAN = 1,
83
- sd_types_BleGapTimeoutSrc_BLE_GAP_TIMEOUT_SRC_CONN = 2,
84
- sd_types_BleGapTimeoutSrc_BLE_GAP_TIMEOUT_SRC_AUTH_PAYLOAD = 3
85
- } sd_types_BleGapTimeoutSrc;
86
-
87
- typedef enum _sd_types_BleGapAdvReportType {
88
- sd_types_BleGapAdvReportType_BLE_GAP_ADV_DATA_STATUS_COMPLETE = 0,
89
- sd_types_BleGapAdvReportType_BLE_GAP_ADV_DATA_STATUS_INCOMPLETE_MORE_DATA = 1,
90
- sd_types_BleGapAdvReportType_BLE_GAP_ADV_DATA_STATUS_INCOMPLETE_TRUNCATED = 2,
91
- sd_types_BleGapAdvReportType_BLE_GAP_ADV_DATA_STATUS_INCOMPLETE_MISSED = 3
92
- } sd_types_BleGapAdvReportType;
93
-
94
- typedef enum _sd_types_BleGapAdvSetTerminatedReason {
95
- sd_types_BleGapAdvSetTerminatedReason_BLE_GAP_EVT_ADV_SET_TERMINATED_REASON_INVALID = 0,
96
- sd_types_BleGapAdvSetTerminatedReason_BLE_GAP_EVT_ADV_SET_TERMINATED_REASON_TIMEOUT = 1,
97
- sd_types_BleGapAdvSetTerminatedReason_BLE_GAP_EVT_ADV_SET_TERMINATED_REASON_LIMIT_REACHED = 2
98
- } sd_types_BleGapAdvSetTerminatedReason;
99
-
100
- typedef enum _sd_types_BleGapSecLevels {
101
- sd_types_BleGapSecLevels_BLE_GAP_SEC_LEVEL_INVALID = 0,
102
- sd_types_BleGapSecLevels_BLE_GAP_SEC_LEVEL_1 = 1,
103
- sd_types_BleGapSecLevels_BLE_GAP_SEC_LEVEL_2 = 2,
104
- sd_types_BleGapSecLevels_BLE_GAP_SEC_LEVEL_3 = 3,
105
- sd_types_BleGapSecLevels_BLE_GAP_SEC_LEVEL_4 = 4
106
- } sd_types_BleGapSecLevels;
107
-
108
- /* GATT Timeout Sources */
109
- typedef enum _sd_types_BleGattTimeoutSrc {
110
- sd_types_BleGattTimeoutSrc_BLE_GATT_TIMEOUT_SRC_PROTOCOL = 0
111
- } sd_types_BleGattTimeoutSrc;
112
-
113
- /* GATT Write Operations */
114
- typedef enum _sd_types_BleGattWriteOp {
115
- sd_types_BleGattWriteOp_BLE_GATT_OP_INVALID = 0,
116
- sd_types_BleGattWriteOp_BLE_GATT_OP_WRITE_REQ = 1,
117
- sd_types_BleGattWriteOp_BLE_GATT_OP_WRITE_CMD = 2,
118
- sd_types_BleGattWriteOp_BLE_GATT_OP_SIGN_WRITE_CMD = 3,
119
- sd_types_BleGattWriteOp_BLE_GATT_OP_PREP_WRITE_REQ = 4,
120
- sd_types_BleGattWriteOp_BLE_GATT_OP_EXEC_WRITE_REQ_CANCEL = 5,
121
- sd_types_BleGattWriteOp_BLE_GATT_OP_EXEC_WRITE_REQ_NOW = 6
122
- } sd_types_BleGattWriteOp;
123
-
124
- /* GATT Execute Write Flags */
125
- typedef enum _sd_types_BleGattExecWriteFlag {
126
- sd_types_BleGattExecWriteFlag_BLE_GATT_EXEC_WRITE_FLAG_PREPARED_CANCEL = 0,
127
- sd_types_BleGattExecWriteFlag_BLE_GATT_EXEC_WRITE_FLAG_PREPARED_WRITE = 1
128
- } sd_types_BleGattExecWriteFlag;
129
-
130
- /* GATT HVx Types */
131
- typedef enum _sd_types_BleGattHvxType {
132
- sd_types_BleGattHvxType_BLE_GATT_HVX_INVALID = 0,
133
- sd_types_BleGattHvxType_BLE_GATT_HVX_NOTIFICATION = 1,
134
- sd_types_BleGattHvxType_BLE_GATT_HVX_INDICATION = 2
135
- } sd_types_BleGattHvxType;
136
-
137
- /* GATTC Attribute Information Formats */
138
- typedef enum _sd_types_BleGattcAttrInfoFormat {
139
- sd_types_BleGattcAttrInfoFormat_BLE_GATTC_ATTR_INFO_FORMAT_INVALID = 0,
140
- sd_types_BleGattcAttrInfoFormat_BLE_GATTC_ATTR_INFO_FORMAT_16BIT = 1,
141
- sd_types_BleGattcAttrInfoFormat_BLE_GATTC_ATTR_INFO_FORMAT_128BIT = 2
142
- } sd_types_BleGattcAttrInfoFormat;
143
-
144
- /* GATTS Operations */
145
- typedef enum _sd_types_BleGattsOp {
146
- sd_types_BleGattsOp_BLE_GATTS_OP_INVALID = 0,
147
- sd_types_BleGattsOp_BLE_GATTS_OP_WRITE_REQ = 1,
148
- sd_types_BleGattsOp_BLE_GATTS_OP_WRITE_CMD = 2,
149
- sd_types_BleGattsOp_BLE_GATTS_OP_SIGN_WRITE_CMD = 3,
150
- sd_types_BleGattsOp_BLE_GATTS_OP_PREP_WRITE_REQ = 4,
151
- sd_types_BleGattsOp_BLE_GATTS_OP_EXEC_WRITE_REQ_CANCEL = 5,
152
- sd_types_BleGattsOp_BLE_GATTS_OP_EXEC_WRITE_REQ_NOW = 6
153
- } sd_types_BleGattsOp;
154
-
155
- /* GATTS Authorize Types */
156
- typedef enum _sd_types_BleGattsAuthorizeType {
157
- sd_types_BleGattsAuthorizeType_BLE_GATTS_AUTHORIZE_TYPE_INVALID = 0,
158
- sd_types_BleGattsAuthorizeType_BLE_GATTS_AUTHORIZE_TYPE_READ = 1,
159
- sd_types_BleGattsAuthorizeType_BLE_GATTS_AUTHORIZE_TYPE_WRITE = 2
160
- } sd_types_BleGattsAuthorizeType;
161
-
162
- /* GATTS Value Locations */
163
- typedef enum _sd_types_BleGattsVloc {
164
- sd_types_BleGattsVloc_BLE_GATTS_VLOC_INVALID = 0,
165
- sd_types_BleGattsVloc_BLE_GATTS_VLOC_STACK = 1,
166
- sd_types_BleGattsVloc_BLE_GATTS_VLOC_USER = 2
167
- } sd_types_BleGattsVloc;
168
-
169
- typedef enum _sd_types_BleGapSecStatus {
170
- sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_SUCCESS = 0,
171
- sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_TIMEOUT = 1,
172
- sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_PDU_INVALID = 2,
173
- sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_PASSKEY_ENTRY_FAILED = 129,
174
- sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_OOB_NOT_AVAILABLE = 130,
175
- sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_AUTH_REQ = 131,
176
- sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_CONFIRM_VALUE = 132,
177
- sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_PAIRING_NOT_SUPP = 133,
178
- sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_ENC_KEY_SIZE = 134,
179
- sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_SMP_CMD_UNSUPPORTED = 135,
180
- sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_UNSPECIFIED = 136,
181
- sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_REPEATED_ATTEMPTS = 137,
182
- sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_INVALID_PARAMS = 138,
183
- sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_DHKEY_FAILURE = 139,
184
- sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_NUM_COMP_FAILURE = 140,
185
- sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_BR_EDR_IN_PROG = 141,
186
- sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_X_TRANS_KEY_DISALLOWED = 142
187
- } sd_types_BleGapSecStatus;
188
-
189
- /* Struct definitions */
190
- /* GAP address structure */
191
- typedef struct _sd_types_BleGapAddr {
192
- bool addr_id_peer;
193
- sd_types_BleGapAddrType addr_type;
194
- pb_byte_t addr[6]; /* BLE_GAP_ADDR_LEN = 6 */
195
- } sd_types_BleGapAddr;
196
-
197
- /* GAP connection parameters */
198
- typedef struct _sd_types_BleGapConnParams {
199
- uint16_t min_conn_interval;
200
- uint16_t max_conn_interval;
201
- uint16_t slave_latency;
202
- uint16_t conn_sup_timeout;
203
- } sd_types_BleGapConnParams;
204
-
205
- /* GAP connection security mode */
206
- typedef struct _sd_types_BleGapConnSecMode {
207
- uint8_t sm; /* 4-bit field */
208
- uint8_t lv; /* 4-bit field */
209
- } sd_types_BleGapConnSecMode;
210
-
211
- /* GAP identity resolving key */
212
- typedef struct _sd_types_BleGapIrk {
213
- pb_byte_t irk[16]; /* BLE_GAP_SEC_KEY_LEN = 16 */
214
- } sd_types_BleGapIrk;
215
-
216
- /* GAP channel mask */
217
- typedef struct _sd_types_BleGapChMask {
218
- pb_byte_t ch_mask[5]; /* 5 bytes */
219
- } sd_types_BleGapChMask;
220
-
221
- /* Advertising properties */
222
- typedef struct _sd_types_BleGapAdvProperties {
223
- sd_types_BleGapAdvType type;
224
- bool anonymous;
225
- bool include_tx_power;
226
- } sd_types_BleGapAdvProperties;
227
-
228
- /* Advertising parameters */
229
- typedef struct _sd_types_BleGapAdvParams {
230
- bool has_properties;
231
- sd_types_BleGapAdvProperties properties;
232
- bool has_peer_addr;
233
- sd_types_BleGapAddr peer_addr; /* Optional */
234
- uint32_t interval;
235
- uint16_t duration;
236
- uint8_t max_adv_evts;
237
- bool has_channel_mask;
238
- sd_types_BleGapChMask channel_mask;
239
- sd_types_BleGapAdvFilterPolicy filter_policy;
240
- sd_types_BleGapPhy primary_phy;
241
- sd_types_BleGapPhy secondary_phy;
242
- uint8_t set_id; /* 4-bit field */
243
- bool scan_req_notification;
244
- } sd_types_BleGapAdvParams;
245
-
246
- typedef PB_BYTES_ARRAY_T(255) sd_types_BleData_data_t;
247
- /* Data buffer */
248
- typedef struct _sd_types_BleData {
249
- sd_types_BleData_data_t data; /* Max for extended advertising */
250
- uint16_t len;
251
- } sd_types_BleData;
252
-
253
- /* Advertising data */
254
- typedef struct _sd_types_BleGapAdvData {
255
- bool has_adv_data;
256
- sd_types_BleData adv_data; /* Optional */
257
- bool has_scan_rsp_data;
258
- sd_types_BleData scan_rsp_data; /* Optional */
259
- } sd_types_BleGapAdvData;
260
-
261
- /* Scan parameters */
262
- typedef struct _sd_types_BleGapScanParams {
263
- bool extended;
264
- bool report_incomplete_evts;
265
- bool active;
266
- uint8_t filter_policy; /* 2-bit field */
267
- sd_types_BleGapPhy scan_phys;
268
- uint16_t interval;
269
- uint16_t window;
270
- uint16_t timeout;
271
- bool has_channel_mask;
272
- sd_types_BleGapChMask channel_mask;
273
- } sd_types_BleGapScanParams;
274
-
275
- /* Privacy parameters */
276
- typedef struct _sd_types_BleGapPrivacyParams {
277
- sd_types_BleGapPrivacyMode privacy_mode;
278
- sd_types_BleGapAddrType private_addr_type;
279
- uint16_t private_addr_cycle_s;
280
- bool has_device_irk;
281
- sd_types_BleGapIrk device_irk; /* Optional */
282
- } sd_types_BleGapPrivacyParams;
283
-
284
- /* Security key distribution */
285
- typedef struct _sd_types_BleGapSecKdist {
286
- bool enc;
287
- bool id;
288
- bool sign;
289
- bool link;
290
- } sd_types_BleGapSecKdist;
291
-
292
- /* Security parameters */
293
- typedef struct _sd_types_BleGapSecParams {
294
- bool bond;
295
- bool mitm;
296
- bool lesc;
297
- bool keypress;
298
- sd_types_BleGapIoCaps io_caps;
299
- bool oob;
300
- uint8_t min_key_size;
301
- uint8_t max_key_size;
302
- bool has_kdist_own;
303
- sd_types_BleGapSecKdist kdist_own;
304
- bool has_kdist_peer;
305
- sd_types_BleGapSecKdist kdist_peer;
306
- } sd_types_BleGapSecParams;
307
-
308
- /* Encryption information */
309
- typedef struct _sd_types_BleGapEncInfo {
310
- pb_byte_t ltk[16]; /* BLE_GAP_SEC_KEY_LEN = 16 */
311
- bool lesc;
312
- bool auth;
313
- uint8_t ltk_len; /* 6-bit field */
314
- } sd_types_BleGapEncInfo;
315
-
316
- /* Master identification */
317
- typedef struct _sd_types_BleGapMasterId {
318
- uint16_t ediv;
319
- pb_byte_t rand[8]; /* BLE_GAP_SEC_RAND_LEN = 8 */
320
- } sd_types_BleGapMasterId;
321
-
322
- /* Signing information */
323
- typedef struct _sd_types_BleGapSignInfo {
324
- pb_byte_t csrk[16]; /* BLE_GAP_SEC_KEY_LEN = 16 */
325
- } sd_types_BleGapSignInfo;
326
-
327
- /* LE Secure Connections public key */
328
- typedef struct _sd_types_BleGapLescP256Pk {
329
- pb_byte_t pk[64]; /* BLE_GAP_LESC_P256_PK_LEN = 64 */
330
- } sd_types_BleGapLescP256Pk;
331
-
332
- /* LE Secure Connections DHKey */
333
- typedef struct _sd_types_BleGapLescDhkey {
334
- pb_byte_t key[32]; /* BLE_GAP_LESC_DHKEY_LEN = 32 */
335
- } sd_types_BleGapLescDhkey;
336
-
337
- /* LE Secure Connections OOB data */
338
- typedef struct _sd_types_BleGapLescOobData {
339
- bool has_addr;
340
- sd_types_BleGapAddr addr;
341
- pb_byte_t r[16]; /* BLE_GAP_SEC_KEY_LEN = 16 */
342
- pb_byte_t c[16]; /* BLE_GAP_SEC_KEY_LEN = 16 */
343
- } sd_types_BleGapLescOobData;
344
-
345
- /* Connection security */
346
- typedef struct _sd_types_BleGapConnSec {
347
- bool has_sec_mode;
348
- sd_types_BleGapConnSecMode sec_mode;
349
- uint8_t encr_key_size;
350
- } sd_types_BleGapConnSec;
351
-
352
- /* Encryption key */
353
- typedef struct _sd_types_BleGapEncKey {
354
- bool has_enc_info;
355
- sd_types_BleGapEncInfo enc_info;
356
- bool has_master_id;
357
- sd_types_BleGapMasterId master_id;
358
- } sd_types_BleGapEncKey;
359
-
360
- /* Identity key */
361
- typedef struct _sd_types_BleGapIdKey {
362
- bool has_id_info;
363
- sd_types_BleGapIrk id_info;
364
- bool has_id_addr_info;
365
- sd_types_BleGapAddr id_addr_info;
366
- } sd_types_BleGapIdKey;
367
-
368
- /* Security keys */
369
- typedef struct _sd_types_BleGapSecKeys {
370
- bool has_enc_key;
371
- sd_types_BleGapEncKey enc_key; /* Optional */
372
- bool has_id_key;
373
- sd_types_BleGapIdKey id_key; /* Optional */
374
- bool has_sign_key;
375
- sd_types_BleGapSignInfo sign_key; /* Optional */
376
- bool has_pk;
377
- sd_types_BleGapLescP256Pk pk; /* Optional */
378
- } sd_types_BleGapSecKeys;
379
-
380
- /* Security keyset */
381
- typedef struct _sd_types_BleGapSecKeyset {
382
- bool has_keys_own;
383
- sd_types_BleGapSecKeys keys_own;
384
- bool has_keys_peer;
385
- sd_types_BleGapSecKeys keys_peer;
386
- } sd_types_BleGapSecKeyset;
387
-
388
- /* Data length parameters */
389
- typedef struct _sd_types_BleGapDataLengthParams {
390
- uint16_t max_tx_octets;
391
- uint16_t max_rx_octets;
392
- uint16_t max_tx_time_us;
393
- uint16_t max_rx_time_us;
394
- } sd_types_BleGapDataLengthParams;
395
-
396
- /* Data length limitation */
397
- typedef struct _sd_types_BleGapDataLengthLimitation {
398
- uint16_t tx_payload_limited_octets;
399
- uint16_t rx_payload_limited_octets;
400
- uint16_t tx_rx_time_limited_us;
401
- } sd_types_BleGapDataLengthLimitation;
402
-
403
- /* Connection event trigger parameters */
404
- typedef struct _sd_types_BleGapConnEventTrigger {
405
- uint8_t ppi_ch_id;
406
- uint32_t task_endpoint;
407
- uint16_t conn_evt_counter_start;
408
- uint16_t period_in_events;
409
- } sd_types_BleGapConnEventTrigger;
410
-
411
- /* UUID types */
412
- typedef struct _sd_types_BleUuid {
413
- uint16_t uuid; /* 16-bit UUID value or octets 12-13 of 128-bit UUID */
414
- uint8_t type; /* UUID type */
415
- } sd_types_BleUuid;
416
-
417
- typedef struct _sd_types_BleUuid128 {
418
- pb_byte_t uuid128[16]; /* 16 bytes, little-endian */
419
- } sd_types_BleUuid128;
420
-
421
- /* GATT Characteristic Properties */
422
- typedef struct _sd_types_BleGattCharProps {
423
- bool broadcast;
424
- bool read;
425
- bool write_wo_resp;
426
- bool write;
427
- bool notify;
428
- bool indicate;
429
- bool auth_signed_wr;
430
- } sd_types_BleGattCharProps;
431
-
432
- /* GATTC Handle Range */
433
- typedef struct _sd_types_BleGattcHandleRange {
434
- uint16_t start_handle;
435
- uint16_t end_handle;
436
- } sd_types_BleGattcHandleRange;
437
-
438
- typedef PB_BYTES_ARRAY_T(512) sd_types_BleGattcWriteParams_p_value_t;
439
- /* GATTC Write Parameters */
440
- typedef struct _sd_types_BleGattcWriteParams {
441
- uint8_t write_op; /* BLE_GATT_WRITE_OPS */
442
- uint8_t flags; /* BLE_GATT_EXEC_WRITE_FLAGS */
443
- uint16_t handle;
444
- uint16_t offset;
445
- uint16_t len;
446
- sd_types_BleGattcWriteParams_p_value_t p_value; /* Max ATT MTU size */
447
- } sd_types_BleGattcWriteParams;
448
-
449
- /* GATTC Service */
450
- typedef struct _sd_types_BleGattcService {
451
- bool has_uuid;
452
- sd_types_BleUuid uuid;
453
- bool has_handle_range;
454
- sd_types_BleGattcHandleRange handle_range;
455
- } sd_types_BleGattcService;
456
-
457
- /* GATTC Include */
458
- typedef struct _sd_types_BleGattcInclude {
459
- uint16_t handle;
460
- bool has_included_srvc;
461
- sd_types_BleGattcService included_srvc;
462
- } sd_types_BleGattcInclude;
463
-
464
- /* GATTC Characteristic */
465
- typedef struct _sd_types_BleGattcChar {
466
- bool has_uuid;
467
- sd_types_BleUuid uuid;
468
- bool has_char_props;
469
- sd_types_BleGattCharProps char_props;
470
- uint8_t char_ext_props; /* 1-bit field */
471
- uint16_t handle_decl;
472
- uint16_t handle_value;
473
- } sd_types_BleGattcChar;
474
-
475
- /* GATTC Descriptor */
476
- typedef struct _sd_types_BleGattcDesc {
477
- uint16_t handle;
478
- bool has_uuid;
479
- sd_types_BleUuid uuid;
480
- } sd_types_BleGattcDesc;
481
-
482
- /* GATTC Attribute Information (16-bit) */
483
- typedef struct _sd_types_BleGattcAttrInfo16 {
484
- uint16_t handle;
485
- bool has_uuid;
486
- sd_types_BleUuid uuid;
487
- } sd_types_BleGattcAttrInfo16;
488
-
489
- /* GATTC Attribute Information (128-bit) */
490
- typedef struct _sd_types_BleGattcAttrInfo128 {
491
- uint16_t handle;
492
- bool has_uuid;
493
- sd_types_BleUuid128 uuid;
494
- } sd_types_BleGattcAttrInfo128;
495
-
496
- typedef PB_BYTES_ARRAY_T(512) sd_types_BleGattcHandleValue_p_value_t;
497
- /* GATTC Handle-Value Pair */
498
- typedef struct _sd_types_BleGattcHandleValue {
499
- uint16_t handle;
500
- sd_types_BleGattcHandleValue_p_value_t p_value; /* Max ATT MTU size */
501
- } sd_types_BleGattcHandleValue;
502
-
503
- /* GATTS Attribute Metadata */
504
- typedef struct _sd_types_BleGattsAttrMd {
505
- bool has_read_perm;
506
- sd_types_BleGapConnSecMode read_perm;
507
- bool has_write_perm;
508
- sd_types_BleGapConnSecMode write_perm;
509
- bool vlen; /* 1-bit field */
510
- sd_types_BleGattsVloc vloc; /* 2-bit field */
511
- bool rd_auth; /* 1-bit field */
512
- bool wr_auth; /* 1-bit field */
513
- } sd_types_BleGattsAttrMd;
514
-
515
- typedef PB_BYTES_ARRAY_T(512) sd_types_BleGattsAttr_p_value_t;
516
- /* GATTS Attribute */
517
- typedef struct _sd_types_BleGattsAttr {
518
- bool has_uuid;
519
- sd_types_BleUuid uuid; /* Optional */
520
- bool has_attr_md;
521
- sd_types_BleGattsAttrMd attr_md; /* Optional */
522
- uint16_t init_len;
523
- uint16_t init_offs;
524
- uint16_t max_len;
525
- sd_types_BleGattsAttr_p_value_t p_value; /* Max attribute value size */
526
- } sd_types_BleGattsAttr;
527
-
528
- typedef PB_BYTES_ARRAY_T(512) sd_types_BleGattsValue_p_value_t;
529
- /* GATTS Attribute Value */
530
- typedef struct _sd_types_BleGattsValue {
531
- uint16_t len;
532
- uint16_t offset;
533
- sd_types_BleGattsValue_p_value_t p_value; /* Optional */
534
- } sd_types_BleGattsValue;
535
-
536
- /* GATTS Characteristic Presentation Format */
537
- typedef struct _sd_types_BleGattsCharPf {
538
- uint8_t format; /* BLE_GATT_CPF_FORMATS */
539
- int8_t exponent;
540
- uint16_t unit;
541
- uint8_t name_space; /* BLE_GATT_CPF_NAMESPACES */
542
- uint16_t desc;
543
- } sd_types_BleGattsCharPf;
544
-
545
- /* GATTS Characteristic Extended Properties */
546
- typedef struct _sd_types_BleGattCharExtProps {
547
- bool reliable_wr;
548
- bool wr_aux;
549
- } sd_types_BleGattCharExtProps;
550
-
551
- typedef PB_BYTES_ARRAY_T(512) sd_types_BleGattsCharMd_p_char_user_desc_t;
552
- /* GATTS Characteristic Metadata */
553
- typedef struct _sd_types_BleGattsCharMd {
554
- bool has_char_props;
555
- sd_types_BleGattCharProps char_props;
556
- bool has_char_ext_props;
557
- sd_types_BleGattCharExtProps char_ext_props;
558
- sd_types_BleGattsCharMd_p_char_user_desc_t p_char_user_desc; /* UTF-8 string */
559
- uint16_t char_user_desc_max_size;
560
- uint16_t char_user_desc_size;
561
- bool has_char_pf;
562
- sd_types_BleGattsCharPf char_pf; /* Optional */
563
- bool has_user_desc_md;
564
- sd_types_BleGattsAttrMd user_desc_md; /* Optional */
565
- bool has_cccd_md;
566
- sd_types_BleGattsAttrMd cccd_md; /* Optional */
567
- bool has_sccd_md;
568
- sd_types_BleGattsAttrMd sccd_md; /* Optional */
569
- } sd_types_BleGattsCharMd;
570
-
571
- /* GATTS Characteristic Handles */
572
- typedef struct _sd_types_BleGattsCharHandles {
573
- uint16_t value_handle;
574
- uint16_t user_desc_handle;
575
- uint16_t cccd_handle;
576
- uint16_t sccd_handle;
577
- } sd_types_BleGattsCharHandles;
578
-
579
- typedef PB_BYTES_ARRAY_T(512) sd_types_BleGattsHvxParams_p_data_t;
580
- /* GATTS HVx Parameters */
581
- typedef struct _sd_types_BleGattsHvxParams {
582
- uint16_t handle;
583
- uint8_t type; /* BLE_GATT_HVX_TYPES */
584
- uint16_t offset;
585
- uint16_t len; /* Output */
586
- sd_types_BleGattsHvxParams_p_data_t p_data; /* Optional */
587
- } sd_types_BleGattsHvxParams;
588
-
589
- /* GAP Security Levels */
590
- typedef struct _sd_types_BleGapSecLevelsT {
591
- bool lv1;
592
- bool lv2;
593
- bool lv3;
594
- bool lv4;
595
- } sd_types_BleGapSecLevelsT;
596
-
597
- /* GAP Advertising Report Type */
598
- typedef struct _sd_types_BleGapAdvReportTypeT {
599
- bool connectable;
600
- bool scannable;
601
- bool directed;
602
- bool scan_response;
603
- bool extended_pdu;
604
- sd_types_BleGapAdvReportType status; /* 2-bit field */
605
- uint16_t reserved; /* 9-bit field */
606
- } sd_types_BleGapAdvReportTypeT;
607
-
608
- /* GAP Auxiliary Pointer */
609
- typedef struct _sd_types_BleGapAuxPointer {
610
- uint16_t aux_offset;
611
- sd_types_BleGapPhy aux_phy;
612
- } sd_types_BleGapAuxPointer;
613
-
614
- typedef PB_BYTES_ARRAY_T(512) sd_types_BleGattsAuthorizeParams_p_data_t;
615
- /* GATTS Authorize Parameters */
616
- typedef struct _sd_types_BleGattsAuthorizeParams {
617
- uint16_t gatt_status; /* BLE_GATT_STATUS_CODES */
618
- bool update; /* 1-bit field */
619
- uint16_t offset;
620
- uint16_t len;
621
- sd_types_BleGattsAuthorizeParams_p_data_t p_data; /* Optional */
622
- } sd_types_BleGattsAuthorizeParams;
623
-
624
- /* GATTS Read/Write Authorize Reply Parameters */
625
- typedef struct _sd_types_BleGattsRwAuthorizeReplyParams {
626
- uint8_t type; /* BLE_GATTS_AUTHORIZE_TYPES */
627
- bool has_read;
628
- sd_types_BleGattsAuthorizeParams read; /* Optional */
629
- bool has_write;
630
- sd_types_BleGattsAuthorizeParams write; /* Optional */
631
- } sd_types_BleGattsRwAuthorizeReplyParams;
632
-
633
-
634
- #ifdef __cplusplus
635
- extern "C" {
636
- #endif
637
-
638
- /* Helper constants for enums */
639
- #define _sd_types_BleGapAddrType_MIN sd_types_BleGapAddrType_BLE_GAP_ADDR_TYPE_PUBLIC
640
- #define _sd_types_BleGapAddrType_MAX sd_types_BleGapAddrType_BLE_GAP_ADDR_TYPE_ANONYMOUS
641
- #define _sd_types_BleGapAddrType_ARRAYSIZE ((sd_types_BleGapAddrType)(sd_types_BleGapAddrType_BLE_GAP_ADDR_TYPE_ANONYMOUS+1))
642
-
643
- #define _sd_types_BleGapPrivacyMode_MIN sd_types_BleGapPrivacyMode_BLE_GAP_PRIVACY_MODE_OFF
644
- #define _sd_types_BleGapPrivacyMode_MAX sd_types_BleGapPrivacyMode_BLE_GAP_PRIVACY_MODE_NETWORK_PRIVACY
645
- #define _sd_types_BleGapPrivacyMode_ARRAYSIZE ((sd_types_BleGapPrivacyMode)(sd_types_BleGapPrivacyMode_BLE_GAP_PRIVACY_MODE_NETWORK_PRIVACY+1))
646
-
647
- #define _sd_types_BleGapAdvType_MIN sd_types_BleGapAdvType_BLE_GAP_ADV_TYPE_UNKNOWN
648
- #define _sd_types_BleGapAdvType_MAX sd_types_BleGapAdvType_BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_NONSCANNABLE_DIRECTED
649
- #define _sd_types_BleGapAdvType_ARRAYSIZE ((sd_types_BleGapAdvType)(sd_types_BleGapAdvType_BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_NONSCANNABLE_DIRECTED+1))
650
-
651
- #define _sd_types_BleGapAdvFilterPolicy_MIN sd_types_BleGapAdvFilterPolicy_BLE_GAP_ADV_FP_ANY
652
- #define _sd_types_BleGapAdvFilterPolicy_MAX sd_types_BleGapAdvFilterPolicy_BLE_GAP_ADV_FP_FILTER_BOTH
653
- #define _sd_types_BleGapAdvFilterPolicy_ARRAYSIZE ((sd_types_BleGapAdvFilterPolicy)(sd_types_BleGapAdvFilterPolicy_BLE_GAP_ADV_FP_FILTER_BOTH+1))
654
-
655
- #define _sd_types_BleGapPhy_MIN sd_types_BleGapPhy_BLE_GAP_PHY_AUTO
656
- #define _sd_types_BleGapPhy_MAX sd_types_BleGapPhy_BLE_GAP_PHY_NOT_SET
657
- #define _sd_types_BleGapPhy_ARRAYSIZE ((sd_types_BleGapPhy)(sd_types_BleGapPhy_BLE_GAP_PHY_NOT_SET+1))
658
-
659
- #define _sd_types_BleGapIoCaps_MIN sd_types_BleGapIoCaps_BLE_GAP_IO_CAPS_DISPLAY_ONLY
660
- #define _sd_types_BleGapIoCaps_MAX sd_types_BleGapIoCaps_BLE_GAP_IO_CAPS_KEYBOARD_DISPLAY
661
- #define _sd_types_BleGapIoCaps_ARRAYSIZE ((sd_types_BleGapIoCaps)(sd_types_BleGapIoCaps_BLE_GAP_IO_CAPS_KEYBOARD_DISPLAY+1))
662
-
663
- #define _sd_types_BleGapAuthKeyType_MIN sd_types_BleGapAuthKeyType_BLE_GAP_AUTH_KEY_TYPE_NONE
664
- #define _sd_types_BleGapAuthKeyType_MAX sd_types_BleGapAuthKeyType_BLE_GAP_AUTH_KEY_TYPE_OOB
665
- #define _sd_types_BleGapAuthKeyType_ARRAYSIZE ((sd_types_BleGapAuthKeyType)(sd_types_BleGapAuthKeyType_BLE_GAP_AUTH_KEY_TYPE_OOB+1))
666
-
667
- #define _sd_types_BleGapKpNotType_MIN sd_types_BleGapKpNotType_BLE_GAP_KP_NOT_TYPE_PASSKEY_START
668
- #define _sd_types_BleGapKpNotType_MAX sd_types_BleGapKpNotType_BLE_GAP_KP_NOT_TYPE_PASSKEY_END
669
- #define _sd_types_BleGapKpNotType_ARRAYSIZE ((sd_types_BleGapKpNotType)(sd_types_BleGapKpNotType_BLE_GAP_KP_NOT_TYPE_PASSKEY_END+1))
670
-
671
- #define _sd_types_BleGapTimeoutSrc_MIN sd_types_BleGapTimeoutSrc_BLE_GAP_TIMEOUT_SRC_INVALID
672
- #define _sd_types_BleGapTimeoutSrc_MAX sd_types_BleGapTimeoutSrc_BLE_GAP_TIMEOUT_SRC_AUTH_PAYLOAD
673
- #define _sd_types_BleGapTimeoutSrc_ARRAYSIZE ((sd_types_BleGapTimeoutSrc)(sd_types_BleGapTimeoutSrc_BLE_GAP_TIMEOUT_SRC_AUTH_PAYLOAD+1))
674
-
675
- #define _sd_types_BleGapAdvReportType_MIN sd_types_BleGapAdvReportType_BLE_GAP_ADV_DATA_STATUS_COMPLETE
676
- #define _sd_types_BleGapAdvReportType_MAX sd_types_BleGapAdvReportType_BLE_GAP_ADV_DATA_STATUS_INCOMPLETE_MISSED
677
- #define _sd_types_BleGapAdvReportType_ARRAYSIZE ((sd_types_BleGapAdvReportType)(sd_types_BleGapAdvReportType_BLE_GAP_ADV_DATA_STATUS_INCOMPLETE_MISSED+1))
678
-
679
- #define _sd_types_BleGapAdvSetTerminatedReason_MIN sd_types_BleGapAdvSetTerminatedReason_BLE_GAP_EVT_ADV_SET_TERMINATED_REASON_INVALID
680
- #define _sd_types_BleGapAdvSetTerminatedReason_MAX sd_types_BleGapAdvSetTerminatedReason_BLE_GAP_EVT_ADV_SET_TERMINATED_REASON_LIMIT_REACHED
681
- #define _sd_types_BleGapAdvSetTerminatedReason_ARRAYSIZE ((sd_types_BleGapAdvSetTerminatedReason)(sd_types_BleGapAdvSetTerminatedReason_BLE_GAP_EVT_ADV_SET_TERMINATED_REASON_LIMIT_REACHED+1))
682
-
683
- #define _sd_types_BleGapSecLevels_MIN sd_types_BleGapSecLevels_BLE_GAP_SEC_LEVEL_INVALID
684
- #define _sd_types_BleGapSecLevels_MAX sd_types_BleGapSecLevels_BLE_GAP_SEC_LEVEL_4
685
- #define _sd_types_BleGapSecLevels_ARRAYSIZE ((sd_types_BleGapSecLevels)(sd_types_BleGapSecLevels_BLE_GAP_SEC_LEVEL_4+1))
686
-
687
- #define _sd_types_BleGattTimeoutSrc_MIN sd_types_BleGattTimeoutSrc_BLE_GATT_TIMEOUT_SRC_PROTOCOL
688
- #define _sd_types_BleGattTimeoutSrc_MAX sd_types_BleGattTimeoutSrc_BLE_GATT_TIMEOUT_SRC_PROTOCOL
689
- #define _sd_types_BleGattTimeoutSrc_ARRAYSIZE ((sd_types_BleGattTimeoutSrc)(sd_types_BleGattTimeoutSrc_BLE_GATT_TIMEOUT_SRC_PROTOCOL+1))
690
-
691
- #define _sd_types_BleGattWriteOp_MIN sd_types_BleGattWriteOp_BLE_GATT_OP_INVALID
692
- #define _sd_types_BleGattWriteOp_MAX sd_types_BleGattWriteOp_BLE_GATT_OP_EXEC_WRITE_REQ_NOW
693
- #define _sd_types_BleGattWriteOp_ARRAYSIZE ((sd_types_BleGattWriteOp)(sd_types_BleGattWriteOp_BLE_GATT_OP_EXEC_WRITE_REQ_NOW+1))
694
-
695
- #define _sd_types_BleGattExecWriteFlag_MIN sd_types_BleGattExecWriteFlag_BLE_GATT_EXEC_WRITE_FLAG_PREPARED_CANCEL
696
- #define _sd_types_BleGattExecWriteFlag_MAX sd_types_BleGattExecWriteFlag_BLE_GATT_EXEC_WRITE_FLAG_PREPARED_WRITE
697
- #define _sd_types_BleGattExecWriteFlag_ARRAYSIZE ((sd_types_BleGattExecWriteFlag)(sd_types_BleGattExecWriteFlag_BLE_GATT_EXEC_WRITE_FLAG_PREPARED_WRITE+1))
698
-
699
- #define _sd_types_BleGattHvxType_MIN sd_types_BleGattHvxType_BLE_GATT_HVX_INVALID
700
- #define _sd_types_BleGattHvxType_MAX sd_types_BleGattHvxType_BLE_GATT_HVX_INDICATION
701
- #define _sd_types_BleGattHvxType_ARRAYSIZE ((sd_types_BleGattHvxType)(sd_types_BleGattHvxType_BLE_GATT_HVX_INDICATION+1))
702
-
703
- #define _sd_types_BleGattcAttrInfoFormat_MIN sd_types_BleGattcAttrInfoFormat_BLE_GATTC_ATTR_INFO_FORMAT_INVALID
704
- #define _sd_types_BleGattcAttrInfoFormat_MAX sd_types_BleGattcAttrInfoFormat_BLE_GATTC_ATTR_INFO_FORMAT_128BIT
705
- #define _sd_types_BleGattcAttrInfoFormat_ARRAYSIZE ((sd_types_BleGattcAttrInfoFormat)(sd_types_BleGattcAttrInfoFormat_BLE_GATTC_ATTR_INFO_FORMAT_128BIT+1))
706
-
707
- #define _sd_types_BleGattsOp_MIN sd_types_BleGattsOp_BLE_GATTS_OP_INVALID
708
- #define _sd_types_BleGattsOp_MAX sd_types_BleGattsOp_BLE_GATTS_OP_EXEC_WRITE_REQ_NOW
709
- #define _sd_types_BleGattsOp_ARRAYSIZE ((sd_types_BleGattsOp)(sd_types_BleGattsOp_BLE_GATTS_OP_EXEC_WRITE_REQ_NOW+1))
710
-
711
- #define _sd_types_BleGattsAuthorizeType_MIN sd_types_BleGattsAuthorizeType_BLE_GATTS_AUTHORIZE_TYPE_INVALID
712
- #define _sd_types_BleGattsAuthorizeType_MAX sd_types_BleGattsAuthorizeType_BLE_GATTS_AUTHORIZE_TYPE_WRITE
713
- #define _sd_types_BleGattsAuthorizeType_ARRAYSIZE ((sd_types_BleGattsAuthorizeType)(sd_types_BleGattsAuthorizeType_BLE_GATTS_AUTHORIZE_TYPE_WRITE+1))
714
-
715
- #define _sd_types_BleGattsVloc_MIN sd_types_BleGattsVloc_BLE_GATTS_VLOC_INVALID
716
- #define _sd_types_BleGattsVloc_MAX sd_types_BleGattsVloc_BLE_GATTS_VLOC_USER
717
- #define _sd_types_BleGattsVloc_ARRAYSIZE ((sd_types_BleGattsVloc)(sd_types_BleGattsVloc_BLE_GATTS_VLOC_USER+1))
718
-
719
- #define _sd_types_BleGapSecStatus_MIN sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_SUCCESS
720
- #define _sd_types_BleGapSecStatus_MAX sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_X_TRANS_KEY_DISALLOWED
721
- #define _sd_types_BleGapSecStatus_ARRAYSIZE ((sd_types_BleGapSecStatus)(sd_types_BleGapSecStatus_BLE_GAP_SEC_STATUS_X_TRANS_KEY_DISALLOWED+1))
722
-
723
- #define sd_types_BleGapAddr_addr_type_ENUMTYPE sd_types_BleGapAddrType
724
-
725
-
726
-
727
-
728
-
729
- #define sd_types_BleGapAdvProperties_type_ENUMTYPE sd_types_BleGapAdvType
730
-
731
- #define sd_types_BleGapAdvParams_filter_policy_ENUMTYPE sd_types_BleGapAdvFilterPolicy
732
- #define sd_types_BleGapAdvParams_primary_phy_ENUMTYPE sd_types_BleGapPhy
733
- #define sd_types_BleGapAdvParams_secondary_phy_ENUMTYPE sd_types_BleGapPhy
734
-
735
-
736
-
737
- #define sd_types_BleGapScanParams_scan_phys_ENUMTYPE sd_types_BleGapPhy
738
-
739
- #define sd_types_BleGapPrivacyParams_privacy_mode_ENUMTYPE sd_types_BleGapPrivacyMode
740
- #define sd_types_BleGapPrivacyParams_private_addr_type_ENUMTYPE sd_types_BleGapAddrType
741
-
742
-
743
- #define sd_types_BleGapSecParams_io_caps_ENUMTYPE sd_types_BleGapIoCaps
744
-
745
-
746
-
747
-
748
-
749
-
750
-
751
-
752
-
753
-
754
-
755
-
756
-
757
-
758
-
759
-
760
-
761
-
762
-
763
-
764
-
765
-
766
-
767
-
768
-
769
-
770
-
771
- #define sd_types_BleGattsAttrMd_vloc_ENUMTYPE sd_types_BleGattsVloc
772
-
773
-
774
-
775
-
776
-
777
-
778
-
779
-
780
-
781
- #define sd_types_BleGapAdvReportTypeT_status_ENUMTYPE sd_types_BleGapAdvReportType
782
-
783
- #define sd_types_BleGapAuxPointer_aux_phy_ENUMTYPE sd_types_BleGapPhy
784
-
785
-
786
-
787
-
788
- /* Initializer values for message structs */
789
- #define sd_types_BleGapAddr_init_default {0, _sd_types_BleGapAddrType_MIN, {0}}
790
- #define sd_types_BleGapConnParams_init_default {0, 0, 0, 0}
791
- #define sd_types_BleGapConnSecMode_init_default {0, 0}
792
- #define sd_types_BleGapIrk_init_default {{0}}
793
- #define sd_types_BleGapChMask_init_default {{0}}
794
- #define sd_types_BleGapAdvProperties_init_default {_sd_types_BleGapAdvType_MIN, 0, 0}
795
- #define sd_types_BleGapAdvParams_init_default {false, sd_types_BleGapAdvProperties_init_default, false, sd_types_BleGapAddr_init_default, 0, 0, 0, false, sd_types_BleGapChMask_init_default, _sd_types_BleGapAdvFilterPolicy_MIN, _sd_types_BleGapPhy_MIN, _sd_types_BleGapPhy_MIN, 0, 0}
796
- #define sd_types_BleData_init_default {{0, {0}}, 0}
797
- #define sd_types_BleGapAdvData_init_default {false, sd_types_BleData_init_default, false, sd_types_BleData_init_default}
798
- #define sd_types_BleGapScanParams_init_default {0, 0, 0, 0, _sd_types_BleGapPhy_MIN, 0, 0, 0, false, sd_types_BleGapChMask_init_default}
799
- #define sd_types_BleGapPrivacyParams_init_default {_sd_types_BleGapPrivacyMode_MIN, _sd_types_BleGapAddrType_MIN, 0, false, sd_types_BleGapIrk_init_default}
800
- #define sd_types_BleGapSecKdist_init_default {0, 0, 0, 0}
801
- #define sd_types_BleGapSecParams_init_default {0, 0, 0, 0, _sd_types_BleGapIoCaps_MIN, 0, 0, 0, false, sd_types_BleGapSecKdist_init_default, false, sd_types_BleGapSecKdist_init_default}
802
- #define sd_types_BleGapEncInfo_init_default {{0}, 0, 0, 0}
803
- #define sd_types_BleGapMasterId_init_default {0, {0}}
804
- #define sd_types_BleGapSignInfo_init_default {{0}}
805
- #define sd_types_BleGapLescP256Pk_init_default {{0}}
806
- #define sd_types_BleGapLescDhkey_init_default {{0}}
807
- #define sd_types_BleGapLescOobData_init_default {false, sd_types_BleGapAddr_init_default, {0}, {0}}
808
- #define sd_types_BleGapConnSec_init_default {false, sd_types_BleGapConnSecMode_init_default, 0}
809
- #define sd_types_BleGapEncKey_init_default {false, sd_types_BleGapEncInfo_init_default, false, sd_types_BleGapMasterId_init_default}
810
- #define sd_types_BleGapIdKey_init_default {false, sd_types_BleGapIrk_init_default, false, sd_types_BleGapAddr_init_default}
811
- #define sd_types_BleGapSecKeys_init_default {false, sd_types_BleGapEncKey_init_default, false, sd_types_BleGapIdKey_init_default, false, sd_types_BleGapSignInfo_init_default, false, sd_types_BleGapLescP256Pk_init_default}
812
- #define sd_types_BleGapSecKeyset_init_default {false, sd_types_BleGapSecKeys_init_default, false, sd_types_BleGapSecKeys_init_default}
813
- #define sd_types_BleGapDataLengthParams_init_default {0, 0, 0, 0}
814
- #define sd_types_BleGapDataLengthLimitation_init_default {0, 0, 0}
815
- #define sd_types_BleGapConnEventTrigger_init_default {0, 0, 0, 0}
816
- #define sd_types_BleUuid_init_default {0, 0}
817
- #define sd_types_BleUuid128_init_default {{0}}
818
- #define sd_types_BleGattCharProps_init_default {0, 0, 0, 0, 0, 0, 0}
819
- #define sd_types_BleGattcHandleRange_init_default {0, 0}
820
- #define sd_types_BleGattcWriteParams_init_default {0, 0, 0, 0, 0, {0, {0}}}
821
- #define sd_types_BleGattcService_init_default {false, sd_types_BleUuid_init_default, false, sd_types_BleGattcHandleRange_init_default}
822
- #define sd_types_BleGattcInclude_init_default {0, false, sd_types_BleGattcService_init_default}
823
- #define sd_types_BleGattcChar_init_default {false, sd_types_BleUuid_init_default, false, sd_types_BleGattCharProps_init_default, 0, 0, 0}
824
- #define sd_types_BleGattcDesc_init_default {0, false, sd_types_BleUuid_init_default}
825
- #define sd_types_BleGattcAttrInfo16_init_default {0, false, sd_types_BleUuid_init_default}
826
- #define sd_types_BleGattcAttrInfo128_init_default {0, false, sd_types_BleUuid128_init_default}
827
- #define sd_types_BleGattcHandleValue_init_default {0, {0, {0}}}
828
- #define sd_types_BleGattsAttrMd_init_default {false, sd_types_BleGapConnSecMode_init_default, false, sd_types_BleGapConnSecMode_init_default, 0, _sd_types_BleGattsVloc_MIN, 0, 0}
829
- #define sd_types_BleGattsAttr_init_default {false, sd_types_BleUuid_init_default, false, sd_types_BleGattsAttrMd_init_default, 0, 0, 0, {0, {0}}}
830
- #define sd_types_BleGattsValue_init_default {0, 0, {0, {0}}}
831
- #define sd_types_BleGattsCharPf_init_default {0, 0, 0, 0, 0}
832
- #define sd_types_BleGattCharExtProps_init_default {0, 0}
833
- #define sd_types_BleGattsCharMd_init_default {false, sd_types_BleGattCharProps_init_default, false, sd_types_BleGattCharExtProps_init_default, {0, {0}}, 0, 0, false, sd_types_BleGattsCharPf_init_default, false, sd_types_BleGattsAttrMd_init_default, false, sd_types_BleGattsAttrMd_init_default, false, sd_types_BleGattsAttrMd_init_default}
834
- #define sd_types_BleGattsCharHandles_init_default {0, 0, 0, 0}
835
- #define sd_types_BleGattsHvxParams_init_default {0, 0, 0, 0, {0, {0}}}
836
- #define sd_types_BleGapSecLevelsT_init_default {0, 0, 0, 0}
837
- #define sd_types_BleGapAdvReportTypeT_init_default {0, 0, 0, 0, 0, _sd_types_BleGapAdvReportType_MIN, 0}
838
- #define sd_types_BleGapAuxPointer_init_default {0, _sd_types_BleGapPhy_MIN}
839
- #define sd_types_BleGattsAuthorizeParams_init_default {0, 0, 0, 0, {0, {0}}}
840
- #define sd_types_BleGattsRwAuthorizeReplyParams_init_default {0, false, sd_types_BleGattsAuthorizeParams_init_default, false, sd_types_BleGattsAuthorizeParams_init_default}
841
- #define sd_types_BleGapAddr_init_zero {0, _sd_types_BleGapAddrType_MIN, {0}}
842
- #define sd_types_BleGapConnParams_init_zero {0, 0, 0, 0}
843
- #define sd_types_BleGapConnSecMode_init_zero {0, 0}
844
- #define sd_types_BleGapIrk_init_zero {{0}}
845
- #define sd_types_BleGapChMask_init_zero {{0}}
846
- #define sd_types_BleGapAdvProperties_init_zero {_sd_types_BleGapAdvType_MIN, 0, 0}
847
- #define sd_types_BleGapAdvParams_init_zero {false, sd_types_BleGapAdvProperties_init_zero, false, sd_types_BleGapAddr_init_zero, 0, 0, 0, false, sd_types_BleGapChMask_init_zero, _sd_types_BleGapAdvFilterPolicy_MIN, _sd_types_BleGapPhy_MIN, _sd_types_BleGapPhy_MIN, 0, 0}
848
- #define sd_types_BleData_init_zero {{0, {0}}, 0}
849
- #define sd_types_BleGapAdvData_init_zero {false, sd_types_BleData_init_zero, false, sd_types_BleData_init_zero}
850
- #define sd_types_BleGapScanParams_init_zero {0, 0, 0, 0, _sd_types_BleGapPhy_MIN, 0, 0, 0, false, sd_types_BleGapChMask_init_zero}
851
- #define sd_types_BleGapPrivacyParams_init_zero {_sd_types_BleGapPrivacyMode_MIN, _sd_types_BleGapAddrType_MIN, 0, false, sd_types_BleGapIrk_init_zero}
852
- #define sd_types_BleGapSecKdist_init_zero {0, 0, 0, 0}
853
- #define sd_types_BleGapSecParams_init_zero {0, 0, 0, 0, _sd_types_BleGapIoCaps_MIN, 0, 0, 0, false, sd_types_BleGapSecKdist_init_zero, false, sd_types_BleGapSecKdist_init_zero}
854
- #define sd_types_BleGapEncInfo_init_zero {{0}, 0, 0, 0}
855
- #define sd_types_BleGapMasterId_init_zero {0, {0}}
856
- #define sd_types_BleGapSignInfo_init_zero {{0}}
857
- #define sd_types_BleGapLescP256Pk_init_zero {{0}}
858
- #define sd_types_BleGapLescDhkey_init_zero {{0}}
859
- #define sd_types_BleGapLescOobData_init_zero {false, sd_types_BleGapAddr_init_zero, {0}, {0}}
860
- #define sd_types_BleGapConnSec_init_zero {false, sd_types_BleGapConnSecMode_init_zero, 0}
861
- #define sd_types_BleGapEncKey_init_zero {false, sd_types_BleGapEncInfo_init_zero, false, sd_types_BleGapMasterId_init_zero}
862
- #define sd_types_BleGapIdKey_init_zero {false, sd_types_BleGapIrk_init_zero, false, sd_types_BleGapAddr_init_zero}
863
- #define sd_types_BleGapSecKeys_init_zero {false, sd_types_BleGapEncKey_init_zero, false, sd_types_BleGapIdKey_init_zero, false, sd_types_BleGapSignInfo_init_zero, false, sd_types_BleGapLescP256Pk_init_zero}
864
- #define sd_types_BleGapSecKeyset_init_zero {false, sd_types_BleGapSecKeys_init_zero, false, sd_types_BleGapSecKeys_init_zero}
865
- #define sd_types_BleGapDataLengthParams_init_zero {0, 0, 0, 0}
866
- #define sd_types_BleGapDataLengthLimitation_init_zero {0, 0, 0}
867
- #define sd_types_BleGapConnEventTrigger_init_zero {0, 0, 0, 0}
868
- #define sd_types_BleUuid_init_zero {0, 0}
869
- #define sd_types_BleUuid128_init_zero {{0}}
870
- #define sd_types_BleGattCharProps_init_zero {0, 0, 0, 0, 0, 0, 0}
871
- #define sd_types_BleGattcHandleRange_init_zero {0, 0}
872
- #define sd_types_BleGattcWriteParams_init_zero {0, 0, 0, 0, 0, {0, {0}}}
873
- #define sd_types_BleGattcService_init_zero {false, sd_types_BleUuid_init_zero, false, sd_types_BleGattcHandleRange_init_zero}
874
- #define sd_types_BleGattcInclude_init_zero {0, false, sd_types_BleGattcService_init_zero}
875
- #define sd_types_BleGattcChar_init_zero {false, sd_types_BleUuid_init_zero, false, sd_types_BleGattCharProps_init_zero, 0, 0, 0}
876
- #define sd_types_BleGattcDesc_init_zero {0, false, sd_types_BleUuid_init_zero}
877
- #define sd_types_BleGattcAttrInfo16_init_zero {0, false, sd_types_BleUuid_init_zero}
878
- #define sd_types_BleGattcAttrInfo128_init_zero {0, false, sd_types_BleUuid128_init_zero}
879
- #define sd_types_BleGattcHandleValue_init_zero {0, {0, {0}}}
880
- #define sd_types_BleGattsAttrMd_init_zero {false, sd_types_BleGapConnSecMode_init_zero, false, sd_types_BleGapConnSecMode_init_zero, 0, _sd_types_BleGattsVloc_MIN, 0, 0}
881
- #define sd_types_BleGattsAttr_init_zero {false, sd_types_BleUuid_init_zero, false, sd_types_BleGattsAttrMd_init_zero, 0, 0, 0, {0, {0}}}
882
- #define sd_types_BleGattsValue_init_zero {0, 0, {0, {0}}}
883
- #define sd_types_BleGattsCharPf_init_zero {0, 0, 0, 0, 0}
884
- #define sd_types_BleGattCharExtProps_init_zero {0, 0}
885
- #define sd_types_BleGattsCharMd_init_zero {false, sd_types_BleGattCharProps_init_zero, false, sd_types_BleGattCharExtProps_init_zero, {0, {0}}, 0, 0, false, sd_types_BleGattsCharPf_init_zero, false, sd_types_BleGattsAttrMd_init_zero, false, sd_types_BleGattsAttrMd_init_zero, false, sd_types_BleGattsAttrMd_init_zero}
886
- #define sd_types_BleGattsCharHandles_init_zero {0, 0, 0, 0}
887
- #define sd_types_BleGattsHvxParams_init_zero {0, 0, 0, 0, {0, {0}}}
888
- #define sd_types_BleGapSecLevelsT_init_zero {0, 0, 0, 0}
889
- #define sd_types_BleGapAdvReportTypeT_init_zero {0, 0, 0, 0, 0, _sd_types_BleGapAdvReportType_MIN, 0}
890
- #define sd_types_BleGapAuxPointer_init_zero {0, _sd_types_BleGapPhy_MIN}
891
- #define sd_types_BleGattsAuthorizeParams_init_zero {0, 0, 0, 0, {0, {0}}}
892
- #define sd_types_BleGattsRwAuthorizeReplyParams_init_zero {0, false, sd_types_BleGattsAuthorizeParams_init_zero, false, sd_types_BleGattsAuthorizeParams_init_zero}
893
-
894
- /* Field tags (for use in manual encoding/decoding) */
895
- #define sd_types_BleGapAddr_addr_id_peer_tag 1
896
- #define sd_types_BleGapAddr_addr_type_tag 2
897
- #define sd_types_BleGapAddr_addr_tag 3
898
- #define sd_types_BleGapConnParams_min_conn_interval_tag 1
899
- #define sd_types_BleGapConnParams_max_conn_interval_tag 2
900
- #define sd_types_BleGapConnParams_slave_latency_tag 3
901
- #define sd_types_BleGapConnParams_conn_sup_timeout_tag 4
902
- #define sd_types_BleGapConnSecMode_sm_tag 1
903
- #define sd_types_BleGapConnSecMode_lv_tag 2
904
- #define sd_types_BleGapIrk_irk_tag 1
905
- #define sd_types_BleGapChMask_ch_mask_tag 1
906
- #define sd_types_BleGapAdvProperties_type_tag 1
907
- #define sd_types_BleGapAdvProperties_anonymous_tag 2
908
- #define sd_types_BleGapAdvProperties_include_tx_power_tag 3
909
- #define sd_types_BleGapAdvParams_properties_tag 1
910
- #define sd_types_BleGapAdvParams_peer_addr_tag 2
911
- #define sd_types_BleGapAdvParams_interval_tag 3
912
- #define sd_types_BleGapAdvParams_duration_tag 4
913
- #define sd_types_BleGapAdvParams_max_adv_evts_tag 5
914
- #define sd_types_BleGapAdvParams_channel_mask_tag 6
915
- #define sd_types_BleGapAdvParams_filter_policy_tag 7
916
- #define sd_types_BleGapAdvParams_primary_phy_tag 8
917
- #define sd_types_BleGapAdvParams_secondary_phy_tag 9
918
- #define sd_types_BleGapAdvParams_set_id_tag 10
919
- #define sd_types_BleGapAdvParams_scan_req_notification_tag 11
920
- #define sd_types_BleData_data_tag 1
921
- #define sd_types_BleData_len_tag 2
922
- #define sd_types_BleGapAdvData_adv_data_tag 1
923
- #define sd_types_BleGapAdvData_scan_rsp_data_tag 2
924
- #define sd_types_BleGapScanParams_extended_tag 1
925
- #define sd_types_BleGapScanParams_report_incomplete_evts_tag 2
926
- #define sd_types_BleGapScanParams_active_tag 3
927
- #define sd_types_BleGapScanParams_filter_policy_tag 4
928
- #define sd_types_BleGapScanParams_scan_phys_tag 5
929
- #define sd_types_BleGapScanParams_interval_tag 6
930
- #define sd_types_BleGapScanParams_window_tag 7
931
- #define sd_types_BleGapScanParams_timeout_tag 8
932
- #define sd_types_BleGapScanParams_channel_mask_tag 9
933
- #define sd_types_BleGapPrivacyParams_privacy_mode_tag 1
934
- #define sd_types_BleGapPrivacyParams_private_addr_type_tag 2
935
- #define sd_types_BleGapPrivacyParams_private_addr_cycle_s_tag 3
936
- #define sd_types_BleGapPrivacyParams_device_irk_tag 4
937
- #define sd_types_BleGapSecKdist_enc_tag 1
938
- #define sd_types_BleGapSecKdist_id_tag 2
939
- #define sd_types_BleGapSecKdist_sign_tag 3
940
- #define sd_types_BleGapSecKdist_link_tag 4
941
- #define sd_types_BleGapSecParams_bond_tag 1
942
- #define sd_types_BleGapSecParams_mitm_tag 2
943
- #define sd_types_BleGapSecParams_lesc_tag 3
944
- #define sd_types_BleGapSecParams_keypress_tag 4
945
- #define sd_types_BleGapSecParams_io_caps_tag 5
946
- #define sd_types_BleGapSecParams_oob_tag 6
947
- #define sd_types_BleGapSecParams_min_key_size_tag 7
948
- #define sd_types_BleGapSecParams_max_key_size_tag 8
949
- #define sd_types_BleGapSecParams_kdist_own_tag 9
950
- #define sd_types_BleGapSecParams_kdist_peer_tag 10
951
- #define sd_types_BleGapEncInfo_ltk_tag 1
952
- #define sd_types_BleGapEncInfo_lesc_tag 2
953
- #define sd_types_BleGapEncInfo_auth_tag 3
954
- #define sd_types_BleGapEncInfo_ltk_len_tag 4
955
- #define sd_types_BleGapMasterId_ediv_tag 1
956
- #define sd_types_BleGapMasterId_rand_tag 2
957
- #define sd_types_BleGapSignInfo_csrk_tag 1
958
- #define sd_types_BleGapLescP256Pk_pk_tag 1
959
- #define sd_types_BleGapLescDhkey_key_tag 1
960
- #define sd_types_BleGapLescOobData_addr_tag 1
961
- #define sd_types_BleGapLescOobData_r_tag 2
962
- #define sd_types_BleGapLescOobData_c_tag 3
963
- #define sd_types_BleGapConnSec_sec_mode_tag 1
964
- #define sd_types_BleGapConnSec_encr_key_size_tag 2
965
- #define sd_types_BleGapEncKey_enc_info_tag 1
966
- #define sd_types_BleGapEncKey_master_id_tag 2
967
- #define sd_types_BleGapIdKey_id_info_tag 1
968
- #define sd_types_BleGapIdKey_id_addr_info_tag 2
969
- #define sd_types_BleGapSecKeys_enc_key_tag 1
970
- #define sd_types_BleGapSecKeys_id_key_tag 2
971
- #define sd_types_BleGapSecKeys_sign_key_tag 3
972
- #define sd_types_BleGapSecKeys_pk_tag 4
973
- #define sd_types_BleGapSecKeyset_keys_own_tag 1
974
- #define sd_types_BleGapSecKeyset_keys_peer_tag 2
975
- #define sd_types_BleGapDataLengthParams_max_tx_octets_tag 1
976
- #define sd_types_BleGapDataLengthParams_max_rx_octets_tag 2
977
- #define sd_types_BleGapDataLengthParams_max_tx_time_us_tag 3
978
- #define sd_types_BleGapDataLengthParams_max_rx_time_us_tag 4
979
- #define sd_types_BleGapDataLengthLimitation_tx_payload_limited_octets_tag 1
980
- #define sd_types_BleGapDataLengthLimitation_rx_payload_limited_octets_tag 2
981
- #define sd_types_BleGapDataLengthLimitation_tx_rx_time_limited_us_tag 3
982
- #define sd_types_BleGapConnEventTrigger_ppi_ch_id_tag 1
983
- #define sd_types_BleGapConnEventTrigger_task_endpoint_tag 2
984
- #define sd_types_BleGapConnEventTrigger_conn_evt_counter_start_tag 3
985
- #define sd_types_BleGapConnEventTrigger_period_in_events_tag 4
986
- #define sd_types_BleUuid_uuid_tag 1
987
- #define sd_types_BleUuid_type_tag 2
988
- #define sd_types_BleUuid128_uuid128_tag 1
989
- #define sd_types_BleGattCharProps_broadcast_tag 1
990
- #define sd_types_BleGattCharProps_read_tag 2
991
- #define sd_types_BleGattCharProps_write_wo_resp_tag 3
992
- #define sd_types_BleGattCharProps_write_tag 4
993
- #define sd_types_BleGattCharProps_notify_tag 5
994
- #define sd_types_BleGattCharProps_indicate_tag 6
995
- #define sd_types_BleGattCharProps_auth_signed_wr_tag 7
996
- #define sd_types_BleGattcHandleRange_start_handle_tag 1
997
- #define sd_types_BleGattcHandleRange_end_handle_tag 2
998
- #define sd_types_BleGattcWriteParams_write_op_tag 1
999
- #define sd_types_BleGattcWriteParams_flags_tag 2
1000
- #define sd_types_BleGattcWriteParams_handle_tag 3
1001
- #define sd_types_BleGattcWriteParams_offset_tag 4
1002
- #define sd_types_BleGattcWriteParams_len_tag 5
1003
- #define sd_types_BleGattcWriteParams_p_value_tag 6
1004
- #define sd_types_BleGattcService_uuid_tag 1
1005
- #define sd_types_BleGattcService_handle_range_tag 2
1006
- #define sd_types_BleGattcInclude_handle_tag 1
1007
- #define sd_types_BleGattcInclude_included_srvc_tag 2
1008
- #define sd_types_BleGattcChar_uuid_tag 1
1009
- #define sd_types_BleGattcChar_char_props_tag 2
1010
- #define sd_types_BleGattcChar_char_ext_props_tag 3
1011
- #define sd_types_BleGattcChar_handle_decl_tag 4
1012
- #define sd_types_BleGattcChar_handle_value_tag 5
1013
- #define sd_types_BleGattcDesc_handle_tag 1
1014
- #define sd_types_BleGattcDesc_uuid_tag 2
1015
- #define sd_types_BleGattcAttrInfo16_handle_tag 1
1016
- #define sd_types_BleGattcAttrInfo16_uuid_tag 2
1017
- #define sd_types_BleGattcAttrInfo128_handle_tag 1
1018
- #define sd_types_BleGattcAttrInfo128_uuid_tag 2
1019
- #define sd_types_BleGattcHandleValue_handle_tag 1
1020
- #define sd_types_BleGattcHandleValue_p_value_tag 2
1021
- #define sd_types_BleGattsAttrMd_read_perm_tag 1
1022
- #define sd_types_BleGattsAttrMd_write_perm_tag 2
1023
- #define sd_types_BleGattsAttrMd_vlen_tag 3
1024
- #define sd_types_BleGattsAttrMd_vloc_tag 4
1025
- #define sd_types_BleGattsAttrMd_rd_auth_tag 5
1026
- #define sd_types_BleGattsAttrMd_wr_auth_tag 6
1027
- #define sd_types_BleGattsAttr_uuid_tag 1
1028
- #define sd_types_BleGattsAttr_attr_md_tag 2
1029
- #define sd_types_BleGattsAttr_init_len_tag 3
1030
- #define sd_types_BleGattsAttr_init_offs_tag 4
1031
- #define sd_types_BleGattsAttr_max_len_tag 5
1032
- #define sd_types_BleGattsAttr_p_value_tag 6
1033
- #define sd_types_BleGattsValue_len_tag 1
1034
- #define sd_types_BleGattsValue_offset_tag 2
1035
- #define sd_types_BleGattsValue_p_value_tag 3
1036
- #define sd_types_BleGattsCharPf_format_tag 1
1037
- #define sd_types_BleGattsCharPf_exponent_tag 2
1038
- #define sd_types_BleGattsCharPf_unit_tag 3
1039
- #define sd_types_BleGattsCharPf_name_space_tag 4
1040
- #define sd_types_BleGattsCharPf_desc_tag 5
1041
- #define sd_types_BleGattCharExtProps_reliable_wr_tag 1
1042
- #define sd_types_BleGattCharExtProps_wr_aux_tag 2
1043
- #define sd_types_BleGattsCharMd_char_props_tag 1
1044
- #define sd_types_BleGattsCharMd_char_ext_props_tag 2
1045
- #define sd_types_BleGattsCharMd_p_char_user_desc_tag 3
1046
- #define sd_types_BleGattsCharMd_char_user_desc_max_size_tag 4
1047
- #define sd_types_BleGattsCharMd_char_user_desc_size_tag 5
1048
- #define sd_types_BleGattsCharMd_char_pf_tag 6
1049
- #define sd_types_BleGattsCharMd_user_desc_md_tag 7
1050
- #define sd_types_BleGattsCharMd_cccd_md_tag 8
1051
- #define sd_types_BleGattsCharMd_sccd_md_tag 9
1052
- #define sd_types_BleGattsCharHandles_value_handle_tag 1
1053
- #define sd_types_BleGattsCharHandles_user_desc_handle_tag 2
1054
- #define sd_types_BleGattsCharHandles_cccd_handle_tag 3
1055
- #define sd_types_BleGattsCharHandles_sccd_handle_tag 4
1056
- #define sd_types_BleGattsHvxParams_handle_tag 1
1057
- #define sd_types_BleGattsHvxParams_type_tag 2
1058
- #define sd_types_BleGattsHvxParams_offset_tag 3
1059
- #define sd_types_BleGattsHvxParams_len_tag 4
1060
- #define sd_types_BleGattsHvxParams_p_data_tag 5
1061
- #define sd_types_BleGapSecLevelsT_lv1_tag 1
1062
- #define sd_types_BleGapSecLevelsT_lv2_tag 2
1063
- #define sd_types_BleGapSecLevelsT_lv3_tag 3
1064
- #define sd_types_BleGapSecLevelsT_lv4_tag 4
1065
- #define sd_types_BleGapAdvReportTypeT_connectable_tag 1
1066
- #define sd_types_BleGapAdvReportTypeT_scannable_tag 2
1067
- #define sd_types_BleGapAdvReportTypeT_directed_tag 3
1068
- #define sd_types_BleGapAdvReportTypeT_scan_response_tag 4
1069
- #define sd_types_BleGapAdvReportTypeT_extended_pdu_tag 5
1070
- #define sd_types_BleGapAdvReportTypeT_status_tag 6
1071
- #define sd_types_BleGapAdvReportTypeT_reserved_tag 7
1072
- #define sd_types_BleGapAuxPointer_aux_offset_tag 1
1073
- #define sd_types_BleGapAuxPointer_aux_phy_tag 2
1074
- #define sd_types_BleGattsAuthorizeParams_gatt_status_tag 1
1075
- #define sd_types_BleGattsAuthorizeParams_update_tag 2
1076
- #define sd_types_BleGattsAuthorizeParams_offset_tag 3
1077
- #define sd_types_BleGattsAuthorizeParams_len_tag 4
1078
- #define sd_types_BleGattsAuthorizeParams_p_data_tag 5
1079
- #define sd_types_BleGattsRwAuthorizeReplyParams_type_tag 1
1080
- #define sd_types_BleGattsRwAuthorizeReplyParams_read_tag 2
1081
- #define sd_types_BleGattsRwAuthorizeReplyParams_write_tag 3
1082
-
1083
- /* Struct field encoding specification for nanopb */
1084
- #define sd_types_BleGapAddr_FIELDLIST(X, a) \
1085
- X(a, STATIC, SINGULAR, BOOL, addr_id_peer, 1) \
1086
- X(a, STATIC, SINGULAR, UENUM, addr_type, 2) \
1087
- X(a, STATIC, SINGULAR, FIXED_LENGTH_BYTES, addr, 3)
1088
- #define sd_types_BleGapAddr_CALLBACK NULL
1089
- #define sd_types_BleGapAddr_DEFAULT NULL
1090
-
1091
- #define sd_types_BleGapConnParams_FIELDLIST(X, a) \
1092
- X(a, STATIC, SINGULAR, UINT32, min_conn_interval, 1) \
1093
- X(a, STATIC, SINGULAR, UINT32, max_conn_interval, 2) \
1094
- X(a, STATIC, SINGULAR, UINT32, slave_latency, 3) \
1095
- X(a, STATIC, SINGULAR, UINT32, conn_sup_timeout, 4)
1096
- #define sd_types_BleGapConnParams_CALLBACK NULL
1097
- #define sd_types_BleGapConnParams_DEFAULT NULL
1098
-
1099
- #define sd_types_BleGapConnSecMode_FIELDLIST(X, a) \
1100
- X(a, STATIC, SINGULAR, UINT32, sm, 1) \
1101
- X(a, STATIC, SINGULAR, UINT32, lv, 2)
1102
- #define sd_types_BleGapConnSecMode_CALLBACK NULL
1103
- #define sd_types_BleGapConnSecMode_DEFAULT NULL
1104
-
1105
- #define sd_types_BleGapIrk_FIELDLIST(X, a) \
1106
- X(a, STATIC, SINGULAR, FIXED_LENGTH_BYTES, irk, 1)
1107
- #define sd_types_BleGapIrk_CALLBACK NULL
1108
- #define sd_types_BleGapIrk_DEFAULT NULL
1109
-
1110
- #define sd_types_BleGapChMask_FIELDLIST(X, a) \
1111
- X(a, STATIC, SINGULAR, FIXED_LENGTH_BYTES, ch_mask, 1)
1112
- #define sd_types_BleGapChMask_CALLBACK NULL
1113
- #define sd_types_BleGapChMask_DEFAULT NULL
1114
-
1115
- #define sd_types_BleGapAdvProperties_FIELDLIST(X, a) \
1116
- X(a, STATIC, SINGULAR, UENUM, type, 1) \
1117
- X(a, STATIC, SINGULAR, BOOL, anonymous, 2) \
1118
- X(a, STATIC, SINGULAR, BOOL, include_tx_power, 3)
1119
- #define sd_types_BleGapAdvProperties_CALLBACK NULL
1120
- #define sd_types_BleGapAdvProperties_DEFAULT NULL
1121
-
1122
- #define sd_types_BleGapAdvParams_FIELDLIST(X, a) \
1123
- X(a, STATIC, OPTIONAL, MESSAGE, properties, 1) \
1124
- X(a, STATIC, OPTIONAL, MESSAGE, peer_addr, 2) \
1125
- X(a, STATIC, SINGULAR, UINT32, interval, 3) \
1126
- X(a, STATIC, SINGULAR, UINT32, duration, 4) \
1127
- X(a, STATIC, SINGULAR, UINT32, max_adv_evts, 5) \
1128
- X(a, STATIC, OPTIONAL, MESSAGE, channel_mask, 6) \
1129
- X(a, STATIC, SINGULAR, UENUM, filter_policy, 7) \
1130
- X(a, STATIC, SINGULAR, UENUM, primary_phy, 8) \
1131
- X(a, STATIC, SINGULAR, UENUM, secondary_phy, 9) \
1132
- X(a, STATIC, SINGULAR, UINT32, set_id, 10) \
1133
- X(a, STATIC, SINGULAR, BOOL, scan_req_notification, 11)
1134
- #define sd_types_BleGapAdvParams_CALLBACK NULL
1135
- #define sd_types_BleGapAdvParams_DEFAULT NULL
1136
- #define sd_types_BleGapAdvParams_properties_MSGTYPE sd_types_BleGapAdvProperties
1137
- #define sd_types_BleGapAdvParams_peer_addr_MSGTYPE sd_types_BleGapAddr
1138
- #define sd_types_BleGapAdvParams_channel_mask_MSGTYPE sd_types_BleGapChMask
1139
-
1140
- #define sd_types_BleData_FIELDLIST(X, a) \
1141
- X(a, STATIC, SINGULAR, BYTES, data, 1) \
1142
- X(a, STATIC, SINGULAR, UINT32, len, 2)
1143
- #define sd_types_BleData_CALLBACK NULL
1144
- #define sd_types_BleData_DEFAULT NULL
1145
-
1146
- #define sd_types_BleGapAdvData_FIELDLIST(X, a) \
1147
- X(a, STATIC, OPTIONAL, MESSAGE, adv_data, 1) \
1148
- X(a, STATIC, OPTIONAL, MESSAGE, scan_rsp_data, 2)
1149
- #define sd_types_BleGapAdvData_CALLBACK NULL
1150
- #define sd_types_BleGapAdvData_DEFAULT NULL
1151
- #define sd_types_BleGapAdvData_adv_data_MSGTYPE sd_types_BleData
1152
- #define sd_types_BleGapAdvData_scan_rsp_data_MSGTYPE sd_types_BleData
1153
-
1154
- #define sd_types_BleGapScanParams_FIELDLIST(X, a) \
1155
- X(a, STATIC, SINGULAR, BOOL, extended, 1) \
1156
- X(a, STATIC, SINGULAR, BOOL, report_incomplete_evts, 2) \
1157
- X(a, STATIC, SINGULAR, BOOL, active, 3) \
1158
- X(a, STATIC, SINGULAR, UINT32, filter_policy, 4) \
1159
- X(a, STATIC, SINGULAR, UENUM, scan_phys, 5) \
1160
- X(a, STATIC, SINGULAR, UINT32, interval, 6) \
1161
- X(a, STATIC, SINGULAR, UINT32, window, 7) \
1162
- X(a, STATIC, SINGULAR, UINT32, timeout, 8) \
1163
- X(a, STATIC, OPTIONAL, MESSAGE, channel_mask, 9)
1164
- #define sd_types_BleGapScanParams_CALLBACK NULL
1165
- #define sd_types_BleGapScanParams_DEFAULT NULL
1166
- #define sd_types_BleGapScanParams_channel_mask_MSGTYPE sd_types_BleGapChMask
1167
-
1168
- #define sd_types_BleGapPrivacyParams_FIELDLIST(X, a) \
1169
- X(a, STATIC, SINGULAR, UENUM, privacy_mode, 1) \
1170
- X(a, STATIC, SINGULAR, UENUM, private_addr_type, 2) \
1171
- X(a, STATIC, SINGULAR, UINT32, private_addr_cycle_s, 3) \
1172
- X(a, STATIC, OPTIONAL, MESSAGE, device_irk, 4)
1173
- #define sd_types_BleGapPrivacyParams_CALLBACK NULL
1174
- #define sd_types_BleGapPrivacyParams_DEFAULT NULL
1175
- #define sd_types_BleGapPrivacyParams_device_irk_MSGTYPE sd_types_BleGapIrk
1176
-
1177
- #define sd_types_BleGapSecKdist_FIELDLIST(X, a) \
1178
- X(a, STATIC, SINGULAR, BOOL, enc, 1) \
1179
- X(a, STATIC, SINGULAR, BOOL, id, 2) \
1180
- X(a, STATIC, SINGULAR, BOOL, sign, 3) \
1181
- X(a, STATIC, SINGULAR, BOOL, link, 4)
1182
- #define sd_types_BleGapSecKdist_CALLBACK NULL
1183
- #define sd_types_BleGapSecKdist_DEFAULT NULL
1184
-
1185
- #define sd_types_BleGapSecParams_FIELDLIST(X, a) \
1186
- X(a, STATIC, SINGULAR, BOOL, bond, 1) \
1187
- X(a, STATIC, SINGULAR, BOOL, mitm, 2) \
1188
- X(a, STATIC, SINGULAR, BOOL, lesc, 3) \
1189
- X(a, STATIC, SINGULAR, BOOL, keypress, 4) \
1190
- X(a, STATIC, SINGULAR, UENUM, io_caps, 5) \
1191
- X(a, STATIC, SINGULAR, BOOL, oob, 6) \
1192
- X(a, STATIC, SINGULAR, UINT32, min_key_size, 7) \
1193
- X(a, STATIC, SINGULAR, UINT32, max_key_size, 8) \
1194
- X(a, STATIC, OPTIONAL, MESSAGE, kdist_own, 9) \
1195
- X(a, STATIC, OPTIONAL, MESSAGE, kdist_peer, 10)
1196
- #define sd_types_BleGapSecParams_CALLBACK NULL
1197
- #define sd_types_BleGapSecParams_DEFAULT NULL
1198
- #define sd_types_BleGapSecParams_kdist_own_MSGTYPE sd_types_BleGapSecKdist
1199
- #define sd_types_BleGapSecParams_kdist_peer_MSGTYPE sd_types_BleGapSecKdist
1200
-
1201
- #define sd_types_BleGapEncInfo_FIELDLIST(X, a) \
1202
- X(a, STATIC, SINGULAR, FIXED_LENGTH_BYTES, ltk, 1) \
1203
- X(a, STATIC, SINGULAR, BOOL, lesc, 2) \
1204
- X(a, STATIC, SINGULAR, BOOL, auth, 3) \
1205
- X(a, STATIC, SINGULAR, UINT32, ltk_len, 4)
1206
- #define sd_types_BleGapEncInfo_CALLBACK NULL
1207
- #define sd_types_BleGapEncInfo_DEFAULT NULL
1208
-
1209
- #define sd_types_BleGapMasterId_FIELDLIST(X, a) \
1210
- X(a, STATIC, SINGULAR, UINT32, ediv, 1) \
1211
- X(a, STATIC, SINGULAR, FIXED_LENGTH_BYTES, rand, 2)
1212
- #define sd_types_BleGapMasterId_CALLBACK NULL
1213
- #define sd_types_BleGapMasterId_DEFAULT NULL
1214
-
1215
- #define sd_types_BleGapSignInfo_FIELDLIST(X, a) \
1216
- X(a, STATIC, SINGULAR, FIXED_LENGTH_BYTES, csrk, 1)
1217
- #define sd_types_BleGapSignInfo_CALLBACK NULL
1218
- #define sd_types_BleGapSignInfo_DEFAULT NULL
1219
-
1220
- #define sd_types_BleGapLescP256Pk_FIELDLIST(X, a) \
1221
- X(a, STATIC, SINGULAR, FIXED_LENGTH_BYTES, pk, 1)
1222
- #define sd_types_BleGapLescP256Pk_CALLBACK NULL
1223
- #define sd_types_BleGapLescP256Pk_DEFAULT NULL
1224
-
1225
- #define sd_types_BleGapLescDhkey_FIELDLIST(X, a) \
1226
- X(a, STATIC, SINGULAR, FIXED_LENGTH_BYTES, key, 1)
1227
- #define sd_types_BleGapLescDhkey_CALLBACK NULL
1228
- #define sd_types_BleGapLescDhkey_DEFAULT NULL
1229
-
1230
- #define sd_types_BleGapLescOobData_FIELDLIST(X, a) \
1231
- X(a, STATIC, OPTIONAL, MESSAGE, addr, 1) \
1232
- X(a, STATIC, SINGULAR, FIXED_LENGTH_BYTES, r, 2) \
1233
- X(a, STATIC, SINGULAR, FIXED_LENGTH_BYTES, c, 3)
1234
- #define sd_types_BleGapLescOobData_CALLBACK NULL
1235
- #define sd_types_BleGapLescOobData_DEFAULT NULL
1236
- #define sd_types_BleGapLescOobData_addr_MSGTYPE sd_types_BleGapAddr
1237
-
1238
- #define sd_types_BleGapConnSec_FIELDLIST(X, a) \
1239
- X(a, STATIC, OPTIONAL, MESSAGE, sec_mode, 1) \
1240
- X(a, STATIC, SINGULAR, UINT32, encr_key_size, 2)
1241
- #define sd_types_BleGapConnSec_CALLBACK NULL
1242
- #define sd_types_BleGapConnSec_DEFAULT NULL
1243
- #define sd_types_BleGapConnSec_sec_mode_MSGTYPE sd_types_BleGapConnSecMode
1244
-
1245
- #define sd_types_BleGapEncKey_FIELDLIST(X, a) \
1246
- X(a, STATIC, OPTIONAL, MESSAGE, enc_info, 1) \
1247
- X(a, STATIC, OPTIONAL, MESSAGE, master_id, 2)
1248
- #define sd_types_BleGapEncKey_CALLBACK NULL
1249
- #define sd_types_BleGapEncKey_DEFAULT NULL
1250
- #define sd_types_BleGapEncKey_enc_info_MSGTYPE sd_types_BleGapEncInfo
1251
- #define sd_types_BleGapEncKey_master_id_MSGTYPE sd_types_BleGapMasterId
1252
-
1253
- #define sd_types_BleGapIdKey_FIELDLIST(X, a) \
1254
- X(a, STATIC, OPTIONAL, MESSAGE, id_info, 1) \
1255
- X(a, STATIC, OPTIONAL, MESSAGE, id_addr_info, 2)
1256
- #define sd_types_BleGapIdKey_CALLBACK NULL
1257
- #define sd_types_BleGapIdKey_DEFAULT NULL
1258
- #define sd_types_BleGapIdKey_id_info_MSGTYPE sd_types_BleGapIrk
1259
- #define sd_types_BleGapIdKey_id_addr_info_MSGTYPE sd_types_BleGapAddr
1260
-
1261
- #define sd_types_BleGapSecKeys_FIELDLIST(X, a) \
1262
- X(a, STATIC, OPTIONAL, MESSAGE, enc_key, 1) \
1263
- X(a, STATIC, OPTIONAL, MESSAGE, id_key, 2) \
1264
- X(a, STATIC, OPTIONAL, MESSAGE, sign_key, 3) \
1265
- X(a, STATIC, OPTIONAL, MESSAGE, pk, 4)
1266
- #define sd_types_BleGapSecKeys_CALLBACK NULL
1267
- #define sd_types_BleGapSecKeys_DEFAULT NULL
1268
- #define sd_types_BleGapSecKeys_enc_key_MSGTYPE sd_types_BleGapEncKey
1269
- #define sd_types_BleGapSecKeys_id_key_MSGTYPE sd_types_BleGapIdKey
1270
- #define sd_types_BleGapSecKeys_sign_key_MSGTYPE sd_types_BleGapSignInfo
1271
- #define sd_types_BleGapSecKeys_pk_MSGTYPE sd_types_BleGapLescP256Pk
1272
-
1273
- #define sd_types_BleGapSecKeyset_FIELDLIST(X, a) \
1274
- X(a, STATIC, OPTIONAL, MESSAGE, keys_own, 1) \
1275
- X(a, STATIC, OPTIONAL, MESSAGE, keys_peer, 2)
1276
- #define sd_types_BleGapSecKeyset_CALLBACK NULL
1277
- #define sd_types_BleGapSecKeyset_DEFAULT NULL
1278
- #define sd_types_BleGapSecKeyset_keys_own_MSGTYPE sd_types_BleGapSecKeys
1279
- #define sd_types_BleGapSecKeyset_keys_peer_MSGTYPE sd_types_BleGapSecKeys
1280
-
1281
- #define sd_types_BleGapDataLengthParams_FIELDLIST(X, a) \
1282
- X(a, STATIC, SINGULAR, UINT32, max_tx_octets, 1) \
1283
- X(a, STATIC, SINGULAR, UINT32, max_rx_octets, 2) \
1284
- X(a, STATIC, SINGULAR, UINT32, max_tx_time_us, 3) \
1285
- X(a, STATIC, SINGULAR, UINT32, max_rx_time_us, 4)
1286
- #define sd_types_BleGapDataLengthParams_CALLBACK NULL
1287
- #define sd_types_BleGapDataLengthParams_DEFAULT NULL
1288
-
1289
- #define sd_types_BleGapDataLengthLimitation_FIELDLIST(X, a) \
1290
- X(a, STATIC, SINGULAR, UINT32, tx_payload_limited_octets, 1) \
1291
- X(a, STATIC, SINGULAR, UINT32, rx_payload_limited_octets, 2) \
1292
- X(a, STATIC, SINGULAR, UINT32, tx_rx_time_limited_us, 3)
1293
- #define sd_types_BleGapDataLengthLimitation_CALLBACK NULL
1294
- #define sd_types_BleGapDataLengthLimitation_DEFAULT NULL
1295
-
1296
- #define sd_types_BleGapConnEventTrigger_FIELDLIST(X, a) \
1297
- X(a, STATIC, SINGULAR, UINT32, ppi_ch_id, 1) \
1298
- X(a, STATIC, SINGULAR, UINT32, task_endpoint, 2) \
1299
- X(a, STATIC, SINGULAR, UINT32, conn_evt_counter_start, 3) \
1300
- X(a, STATIC, SINGULAR, UINT32, period_in_events, 4)
1301
- #define sd_types_BleGapConnEventTrigger_CALLBACK NULL
1302
- #define sd_types_BleGapConnEventTrigger_DEFAULT NULL
1303
-
1304
- #define sd_types_BleUuid_FIELDLIST(X, a) \
1305
- X(a, STATIC, SINGULAR, UINT32, uuid, 1) \
1306
- X(a, STATIC, SINGULAR, UINT32, type, 2)
1307
- #define sd_types_BleUuid_CALLBACK NULL
1308
- #define sd_types_BleUuid_DEFAULT NULL
1309
-
1310
- #define sd_types_BleUuid128_FIELDLIST(X, a) \
1311
- X(a, STATIC, SINGULAR, FIXED_LENGTH_BYTES, uuid128, 1)
1312
- #define sd_types_BleUuid128_CALLBACK NULL
1313
- #define sd_types_BleUuid128_DEFAULT NULL
1314
-
1315
- #define sd_types_BleGattCharProps_FIELDLIST(X, a) \
1316
- X(a, STATIC, SINGULAR, BOOL, broadcast, 1) \
1317
- X(a, STATIC, SINGULAR, BOOL, read, 2) \
1318
- X(a, STATIC, SINGULAR, BOOL, write_wo_resp, 3) \
1319
- X(a, STATIC, SINGULAR, BOOL, write, 4) \
1320
- X(a, STATIC, SINGULAR, BOOL, notify, 5) \
1321
- X(a, STATIC, SINGULAR, BOOL, indicate, 6) \
1322
- X(a, STATIC, SINGULAR, BOOL, auth_signed_wr, 7)
1323
- #define sd_types_BleGattCharProps_CALLBACK NULL
1324
- #define sd_types_BleGattCharProps_DEFAULT NULL
1325
-
1326
- #define sd_types_BleGattcHandleRange_FIELDLIST(X, a) \
1327
- X(a, STATIC, SINGULAR, UINT32, start_handle, 1) \
1328
- X(a, STATIC, SINGULAR, UINT32, end_handle, 2)
1329
- #define sd_types_BleGattcHandleRange_CALLBACK NULL
1330
- #define sd_types_BleGattcHandleRange_DEFAULT NULL
1331
-
1332
- #define sd_types_BleGattcWriteParams_FIELDLIST(X, a) \
1333
- X(a, STATIC, SINGULAR, UINT32, write_op, 1) \
1334
- X(a, STATIC, SINGULAR, UINT32, flags, 2) \
1335
- X(a, STATIC, SINGULAR, UINT32, handle, 3) \
1336
- X(a, STATIC, SINGULAR, UINT32, offset, 4) \
1337
- X(a, STATIC, SINGULAR, UINT32, len, 5) \
1338
- X(a, STATIC, SINGULAR, BYTES, p_value, 6)
1339
- #define sd_types_BleGattcWriteParams_CALLBACK NULL
1340
- #define sd_types_BleGattcWriteParams_DEFAULT NULL
1341
-
1342
- #define sd_types_BleGattcService_FIELDLIST(X, a) \
1343
- X(a, STATIC, OPTIONAL, MESSAGE, uuid, 1) \
1344
- X(a, STATIC, OPTIONAL, MESSAGE, handle_range, 2)
1345
- #define sd_types_BleGattcService_CALLBACK NULL
1346
- #define sd_types_BleGattcService_DEFAULT NULL
1347
- #define sd_types_BleGattcService_uuid_MSGTYPE sd_types_BleUuid
1348
- #define sd_types_BleGattcService_handle_range_MSGTYPE sd_types_BleGattcHandleRange
1349
-
1350
- #define sd_types_BleGattcInclude_FIELDLIST(X, a) \
1351
- X(a, STATIC, SINGULAR, UINT32, handle, 1) \
1352
- X(a, STATIC, OPTIONAL, MESSAGE, included_srvc, 2)
1353
- #define sd_types_BleGattcInclude_CALLBACK NULL
1354
- #define sd_types_BleGattcInclude_DEFAULT NULL
1355
- #define sd_types_BleGattcInclude_included_srvc_MSGTYPE sd_types_BleGattcService
1356
-
1357
- #define sd_types_BleGattcChar_FIELDLIST(X, a) \
1358
- X(a, STATIC, OPTIONAL, MESSAGE, uuid, 1) \
1359
- X(a, STATIC, OPTIONAL, MESSAGE, char_props, 2) \
1360
- X(a, STATIC, SINGULAR, UINT32, char_ext_props, 3) \
1361
- X(a, STATIC, SINGULAR, UINT32, handle_decl, 4) \
1362
- X(a, STATIC, SINGULAR, UINT32, handle_value, 5)
1363
- #define sd_types_BleGattcChar_CALLBACK NULL
1364
- #define sd_types_BleGattcChar_DEFAULT NULL
1365
- #define sd_types_BleGattcChar_uuid_MSGTYPE sd_types_BleUuid
1366
- #define sd_types_BleGattcChar_char_props_MSGTYPE sd_types_BleGattCharProps
1367
-
1368
- #define sd_types_BleGattcDesc_FIELDLIST(X, a) \
1369
- X(a, STATIC, SINGULAR, UINT32, handle, 1) \
1370
- X(a, STATIC, OPTIONAL, MESSAGE, uuid, 2)
1371
- #define sd_types_BleGattcDesc_CALLBACK NULL
1372
- #define sd_types_BleGattcDesc_DEFAULT NULL
1373
- #define sd_types_BleGattcDesc_uuid_MSGTYPE sd_types_BleUuid
1374
-
1375
- #define sd_types_BleGattcAttrInfo16_FIELDLIST(X, a) \
1376
- X(a, STATIC, SINGULAR, UINT32, handle, 1) \
1377
- X(a, STATIC, OPTIONAL, MESSAGE, uuid, 2)
1378
- #define sd_types_BleGattcAttrInfo16_CALLBACK NULL
1379
- #define sd_types_BleGattcAttrInfo16_DEFAULT NULL
1380
- #define sd_types_BleGattcAttrInfo16_uuid_MSGTYPE sd_types_BleUuid
1381
-
1382
- #define sd_types_BleGattcAttrInfo128_FIELDLIST(X, a) \
1383
- X(a, STATIC, SINGULAR, UINT32, handle, 1) \
1384
- X(a, STATIC, OPTIONAL, MESSAGE, uuid, 2)
1385
- #define sd_types_BleGattcAttrInfo128_CALLBACK NULL
1386
- #define sd_types_BleGattcAttrInfo128_DEFAULT NULL
1387
- #define sd_types_BleGattcAttrInfo128_uuid_MSGTYPE sd_types_BleUuid128
1388
-
1389
- #define sd_types_BleGattcHandleValue_FIELDLIST(X, a) \
1390
- X(a, STATIC, SINGULAR, UINT32, handle, 1) \
1391
- X(a, STATIC, SINGULAR, BYTES, p_value, 2)
1392
- #define sd_types_BleGattcHandleValue_CALLBACK NULL
1393
- #define sd_types_BleGattcHandleValue_DEFAULT NULL
1394
-
1395
- #define sd_types_BleGattsAttrMd_FIELDLIST(X, a) \
1396
- X(a, STATIC, OPTIONAL, MESSAGE, read_perm, 1) \
1397
- X(a, STATIC, OPTIONAL, MESSAGE, write_perm, 2) \
1398
- X(a, STATIC, SINGULAR, BOOL, vlen, 3) \
1399
- X(a, STATIC, SINGULAR, UENUM, vloc, 4) \
1400
- X(a, STATIC, SINGULAR, BOOL, rd_auth, 5) \
1401
- X(a, STATIC, SINGULAR, BOOL, wr_auth, 6)
1402
- #define sd_types_BleGattsAttrMd_CALLBACK NULL
1403
- #define sd_types_BleGattsAttrMd_DEFAULT NULL
1404
- #define sd_types_BleGattsAttrMd_read_perm_MSGTYPE sd_types_BleGapConnSecMode
1405
- #define sd_types_BleGattsAttrMd_write_perm_MSGTYPE sd_types_BleGapConnSecMode
1406
-
1407
- #define sd_types_BleGattsAttr_FIELDLIST(X, a) \
1408
- X(a, STATIC, OPTIONAL, MESSAGE, uuid, 1) \
1409
- X(a, STATIC, OPTIONAL, MESSAGE, attr_md, 2) \
1410
- X(a, STATIC, SINGULAR, UINT32, init_len, 3) \
1411
- X(a, STATIC, SINGULAR, UINT32, init_offs, 4) \
1412
- X(a, STATIC, SINGULAR, UINT32, max_len, 5) \
1413
- X(a, STATIC, SINGULAR, BYTES, p_value, 6)
1414
- #define sd_types_BleGattsAttr_CALLBACK NULL
1415
- #define sd_types_BleGattsAttr_DEFAULT NULL
1416
- #define sd_types_BleGattsAttr_uuid_MSGTYPE sd_types_BleUuid
1417
- #define sd_types_BleGattsAttr_attr_md_MSGTYPE sd_types_BleGattsAttrMd
1418
-
1419
- #define sd_types_BleGattsValue_FIELDLIST(X, a) \
1420
- X(a, STATIC, SINGULAR, UINT32, len, 1) \
1421
- X(a, STATIC, SINGULAR, UINT32, offset, 2) \
1422
- X(a, STATIC, SINGULAR, BYTES, p_value, 3)
1423
- #define sd_types_BleGattsValue_CALLBACK NULL
1424
- #define sd_types_BleGattsValue_DEFAULT NULL
1425
-
1426
- #define sd_types_BleGattsCharPf_FIELDLIST(X, a) \
1427
- X(a, STATIC, SINGULAR, UINT32, format, 1) \
1428
- X(a, STATIC, SINGULAR, SINT32, exponent, 2) \
1429
- X(a, STATIC, SINGULAR, UINT32, unit, 3) \
1430
- X(a, STATIC, SINGULAR, UINT32, name_space, 4) \
1431
- X(a, STATIC, SINGULAR, UINT32, desc, 5)
1432
- #define sd_types_BleGattsCharPf_CALLBACK NULL
1433
- #define sd_types_BleGattsCharPf_DEFAULT NULL
1434
-
1435
- #define sd_types_BleGattCharExtProps_FIELDLIST(X, a) \
1436
- X(a, STATIC, SINGULAR, BOOL, reliable_wr, 1) \
1437
- X(a, STATIC, SINGULAR, BOOL, wr_aux, 2)
1438
- #define sd_types_BleGattCharExtProps_CALLBACK NULL
1439
- #define sd_types_BleGattCharExtProps_DEFAULT NULL
1440
-
1441
- #define sd_types_BleGattsCharMd_FIELDLIST(X, a) \
1442
- X(a, STATIC, OPTIONAL, MESSAGE, char_props, 1) \
1443
- X(a, STATIC, OPTIONAL, MESSAGE, char_ext_props, 2) \
1444
- X(a, STATIC, SINGULAR, BYTES, p_char_user_desc, 3) \
1445
- X(a, STATIC, SINGULAR, UINT32, char_user_desc_max_size, 4) \
1446
- X(a, STATIC, SINGULAR, UINT32, char_user_desc_size, 5) \
1447
- X(a, STATIC, OPTIONAL, MESSAGE, char_pf, 6) \
1448
- X(a, STATIC, OPTIONAL, MESSAGE, user_desc_md, 7) \
1449
- X(a, STATIC, OPTIONAL, MESSAGE, cccd_md, 8) \
1450
- X(a, STATIC, OPTIONAL, MESSAGE, sccd_md, 9)
1451
- #define sd_types_BleGattsCharMd_CALLBACK NULL
1452
- #define sd_types_BleGattsCharMd_DEFAULT NULL
1453
- #define sd_types_BleGattsCharMd_char_props_MSGTYPE sd_types_BleGattCharProps
1454
- #define sd_types_BleGattsCharMd_char_ext_props_MSGTYPE sd_types_BleGattCharExtProps
1455
- #define sd_types_BleGattsCharMd_char_pf_MSGTYPE sd_types_BleGattsCharPf
1456
- #define sd_types_BleGattsCharMd_user_desc_md_MSGTYPE sd_types_BleGattsAttrMd
1457
- #define sd_types_BleGattsCharMd_cccd_md_MSGTYPE sd_types_BleGattsAttrMd
1458
- #define sd_types_BleGattsCharMd_sccd_md_MSGTYPE sd_types_BleGattsAttrMd
1459
-
1460
- #define sd_types_BleGattsCharHandles_FIELDLIST(X, a) \
1461
- X(a, STATIC, SINGULAR, UINT32, value_handle, 1) \
1462
- X(a, STATIC, SINGULAR, UINT32, user_desc_handle, 2) \
1463
- X(a, STATIC, SINGULAR, UINT32, cccd_handle, 3) \
1464
- X(a, STATIC, SINGULAR, UINT32, sccd_handle, 4)
1465
- #define sd_types_BleGattsCharHandles_CALLBACK NULL
1466
- #define sd_types_BleGattsCharHandles_DEFAULT NULL
1467
-
1468
- #define sd_types_BleGattsHvxParams_FIELDLIST(X, a) \
1469
- X(a, STATIC, SINGULAR, UINT32, handle, 1) \
1470
- X(a, STATIC, SINGULAR, UINT32, type, 2) \
1471
- X(a, STATIC, SINGULAR, UINT32, offset, 3) \
1472
- X(a, STATIC, SINGULAR, UINT32, len, 4) \
1473
- X(a, STATIC, SINGULAR, BYTES, p_data, 5)
1474
- #define sd_types_BleGattsHvxParams_CALLBACK NULL
1475
- #define sd_types_BleGattsHvxParams_DEFAULT NULL
1476
-
1477
- #define sd_types_BleGapSecLevelsT_FIELDLIST(X, a) \
1478
- X(a, STATIC, SINGULAR, BOOL, lv1, 1) \
1479
- X(a, STATIC, SINGULAR, BOOL, lv2, 2) \
1480
- X(a, STATIC, SINGULAR, BOOL, lv3, 3) \
1481
- X(a, STATIC, SINGULAR, BOOL, lv4, 4)
1482
- #define sd_types_BleGapSecLevelsT_CALLBACK NULL
1483
- #define sd_types_BleGapSecLevelsT_DEFAULT NULL
1484
-
1485
- #define sd_types_BleGapAdvReportTypeT_FIELDLIST(X, a) \
1486
- X(a, STATIC, SINGULAR, BOOL, connectable, 1) \
1487
- X(a, STATIC, SINGULAR, BOOL, scannable, 2) \
1488
- X(a, STATIC, SINGULAR, BOOL, directed, 3) \
1489
- X(a, STATIC, SINGULAR, BOOL, scan_response, 4) \
1490
- X(a, STATIC, SINGULAR, BOOL, extended_pdu, 5) \
1491
- X(a, STATIC, SINGULAR, UENUM, status, 6) \
1492
- X(a, STATIC, SINGULAR, UINT32, reserved, 7)
1493
- #define sd_types_BleGapAdvReportTypeT_CALLBACK NULL
1494
- #define sd_types_BleGapAdvReportTypeT_DEFAULT NULL
1495
-
1496
- #define sd_types_BleGapAuxPointer_FIELDLIST(X, a) \
1497
- X(a, STATIC, SINGULAR, UINT32, aux_offset, 1) \
1498
- X(a, STATIC, SINGULAR, UENUM, aux_phy, 2)
1499
- #define sd_types_BleGapAuxPointer_CALLBACK NULL
1500
- #define sd_types_BleGapAuxPointer_DEFAULT NULL
1501
-
1502
- #define sd_types_BleGattsAuthorizeParams_FIELDLIST(X, a) \
1503
- X(a, STATIC, SINGULAR, UINT32, gatt_status, 1) \
1504
- X(a, STATIC, SINGULAR, BOOL, update, 2) \
1505
- X(a, STATIC, SINGULAR, UINT32, offset, 3) \
1506
- X(a, STATIC, SINGULAR, UINT32, len, 4) \
1507
- X(a, STATIC, SINGULAR, BYTES, p_data, 5)
1508
- #define sd_types_BleGattsAuthorizeParams_CALLBACK NULL
1509
- #define sd_types_BleGattsAuthorizeParams_DEFAULT NULL
1510
-
1511
- #define sd_types_BleGattsRwAuthorizeReplyParams_FIELDLIST(X, a) \
1512
- X(a, STATIC, SINGULAR, UINT32, type, 1) \
1513
- X(a, STATIC, OPTIONAL, MESSAGE, read, 2) \
1514
- X(a, STATIC, OPTIONAL, MESSAGE, write, 3)
1515
- #define sd_types_BleGattsRwAuthorizeReplyParams_CALLBACK NULL
1516
- #define sd_types_BleGattsRwAuthorizeReplyParams_DEFAULT NULL
1517
- #define sd_types_BleGattsRwAuthorizeReplyParams_read_MSGTYPE sd_types_BleGattsAuthorizeParams
1518
- #define sd_types_BleGattsRwAuthorizeReplyParams_write_MSGTYPE sd_types_BleGattsAuthorizeParams
1519
-
1520
- extern const pb_msgdesc_t sd_types_BleGapAddr_msg;
1521
- extern const pb_msgdesc_t sd_types_BleGapConnParams_msg;
1522
- extern const pb_msgdesc_t sd_types_BleGapConnSecMode_msg;
1523
- extern const pb_msgdesc_t sd_types_BleGapIrk_msg;
1524
- extern const pb_msgdesc_t sd_types_BleGapChMask_msg;
1525
- extern const pb_msgdesc_t sd_types_BleGapAdvProperties_msg;
1526
- extern const pb_msgdesc_t sd_types_BleGapAdvParams_msg;
1527
- extern const pb_msgdesc_t sd_types_BleData_msg;
1528
- extern const pb_msgdesc_t sd_types_BleGapAdvData_msg;
1529
- extern const pb_msgdesc_t sd_types_BleGapScanParams_msg;
1530
- extern const pb_msgdesc_t sd_types_BleGapPrivacyParams_msg;
1531
- extern const pb_msgdesc_t sd_types_BleGapSecKdist_msg;
1532
- extern const pb_msgdesc_t sd_types_BleGapSecParams_msg;
1533
- extern const pb_msgdesc_t sd_types_BleGapEncInfo_msg;
1534
- extern const pb_msgdesc_t sd_types_BleGapMasterId_msg;
1535
- extern const pb_msgdesc_t sd_types_BleGapSignInfo_msg;
1536
- extern const pb_msgdesc_t sd_types_BleGapLescP256Pk_msg;
1537
- extern const pb_msgdesc_t sd_types_BleGapLescDhkey_msg;
1538
- extern const pb_msgdesc_t sd_types_BleGapLescOobData_msg;
1539
- extern const pb_msgdesc_t sd_types_BleGapConnSec_msg;
1540
- extern const pb_msgdesc_t sd_types_BleGapEncKey_msg;
1541
- extern const pb_msgdesc_t sd_types_BleGapIdKey_msg;
1542
- extern const pb_msgdesc_t sd_types_BleGapSecKeys_msg;
1543
- extern const pb_msgdesc_t sd_types_BleGapSecKeyset_msg;
1544
- extern const pb_msgdesc_t sd_types_BleGapDataLengthParams_msg;
1545
- extern const pb_msgdesc_t sd_types_BleGapDataLengthLimitation_msg;
1546
- extern const pb_msgdesc_t sd_types_BleGapConnEventTrigger_msg;
1547
- extern const pb_msgdesc_t sd_types_BleUuid_msg;
1548
- extern const pb_msgdesc_t sd_types_BleUuid128_msg;
1549
- extern const pb_msgdesc_t sd_types_BleGattCharProps_msg;
1550
- extern const pb_msgdesc_t sd_types_BleGattcHandleRange_msg;
1551
- extern const pb_msgdesc_t sd_types_BleGattcWriteParams_msg;
1552
- extern const pb_msgdesc_t sd_types_BleGattcService_msg;
1553
- extern const pb_msgdesc_t sd_types_BleGattcInclude_msg;
1554
- extern const pb_msgdesc_t sd_types_BleGattcChar_msg;
1555
- extern const pb_msgdesc_t sd_types_BleGattcDesc_msg;
1556
- extern const pb_msgdesc_t sd_types_BleGattcAttrInfo16_msg;
1557
- extern const pb_msgdesc_t sd_types_BleGattcAttrInfo128_msg;
1558
- extern const pb_msgdesc_t sd_types_BleGattcHandleValue_msg;
1559
- extern const pb_msgdesc_t sd_types_BleGattsAttrMd_msg;
1560
- extern const pb_msgdesc_t sd_types_BleGattsAttr_msg;
1561
- extern const pb_msgdesc_t sd_types_BleGattsValue_msg;
1562
- extern const pb_msgdesc_t sd_types_BleGattsCharPf_msg;
1563
- extern const pb_msgdesc_t sd_types_BleGattCharExtProps_msg;
1564
- extern const pb_msgdesc_t sd_types_BleGattsCharMd_msg;
1565
- extern const pb_msgdesc_t sd_types_BleGattsCharHandles_msg;
1566
- extern const pb_msgdesc_t sd_types_BleGattsHvxParams_msg;
1567
- extern const pb_msgdesc_t sd_types_BleGapSecLevelsT_msg;
1568
- extern const pb_msgdesc_t sd_types_BleGapAdvReportTypeT_msg;
1569
- extern const pb_msgdesc_t sd_types_BleGapAuxPointer_msg;
1570
- extern const pb_msgdesc_t sd_types_BleGattsAuthorizeParams_msg;
1571
- extern const pb_msgdesc_t sd_types_BleGattsRwAuthorizeReplyParams_msg;
1572
-
1573
- /* Defines for backwards compatibility with code written before nanopb-0.4.0 */
1574
- #define sd_types_BleGapAddr_fields &sd_types_BleGapAddr_msg
1575
- #define sd_types_BleGapConnParams_fields &sd_types_BleGapConnParams_msg
1576
- #define sd_types_BleGapConnSecMode_fields &sd_types_BleGapConnSecMode_msg
1577
- #define sd_types_BleGapIrk_fields &sd_types_BleGapIrk_msg
1578
- #define sd_types_BleGapChMask_fields &sd_types_BleGapChMask_msg
1579
- #define sd_types_BleGapAdvProperties_fields &sd_types_BleGapAdvProperties_msg
1580
- #define sd_types_BleGapAdvParams_fields &sd_types_BleGapAdvParams_msg
1581
- #define sd_types_BleData_fields &sd_types_BleData_msg
1582
- #define sd_types_BleGapAdvData_fields &sd_types_BleGapAdvData_msg
1583
- #define sd_types_BleGapScanParams_fields &sd_types_BleGapScanParams_msg
1584
- #define sd_types_BleGapPrivacyParams_fields &sd_types_BleGapPrivacyParams_msg
1585
- #define sd_types_BleGapSecKdist_fields &sd_types_BleGapSecKdist_msg
1586
- #define sd_types_BleGapSecParams_fields &sd_types_BleGapSecParams_msg
1587
- #define sd_types_BleGapEncInfo_fields &sd_types_BleGapEncInfo_msg
1588
- #define sd_types_BleGapMasterId_fields &sd_types_BleGapMasterId_msg
1589
- #define sd_types_BleGapSignInfo_fields &sd_types_BleGapSignInfo_msg
1590
- #define sd_types_BleGapLescP256Pk_fields &sd_types_BleGapLescP256Pk_msg
1591
- #define sd_types_BleGapLescDhkey_fields &sd_types_BleGapLescDhkey_msg
1592
- #define sd_types_BleGapLescOobData_fields &sd_types_BleGapLescOobData_msg
1593
- #define sd_types_BleGapConnSec_fields &sd_types_BleGapConnSec_msg
1594
- #define sd_types_BleGapEncKey_fields &sd_types_BleGapEncKey_msg
1595
- #define sd_types_BleGapIdKey_fields &sd_types_BleGapIdKey_msg
1596
- #define sd_types_BleGapSecKeys_fields &sd_types_BleGapSecKeys_msg
1597
- #define sd_types_BleGapSecKeyset_fields &sd_types_BleGapSecKeyset_msg
1598
- #define sd_types_BleGapDataLengthParams_fields &sd_types_BleGapDataLengthParams_msg
1599
- #define sd_types_BleGapDataLengthLimitation_fields &sd_types_BleGapDataLengthLimitation_msg
1600
- #define sd_types_BleGapConnEventTrigger_fields &sd_types_BleGapConnEventTrigger_msg
1601
- #define sd_types_BleUuid_fields &sd_types_BleUuid_msg
1602
- #define sd_types_BleUuid128_fields &sd_types_BleUuid128_msg
1603
- #define sd_types_BleGattCharProps_fields &sd_types_BleGattCharProps_msg
1604
- #define sd_types_BleGattcHandleRange_fields &sd_types_BleGattcHandleRange_msg
1605
- #define sd_types_BleGattcWriteParams_fields &sd_types_BleGattcWriteParams_msg
1606
- #define sd_types_BleGattcService_fields &sd_types_BleGattcService_msg
1607
- #define sd_types_BleGattcInclude_fields &sd_types_BleGattcInclude_msg
1608
- #define sd_types_BleGattcChar_fields &sd_types_BleGattcChar_msg
1609
- #define sd_types_BleGattcDesc_fields &sd_types_BleGattcDesc_msg
1610
- #define sd_types_BleGattcAttrInfo16_fields &sd_types_BleGattcAttrInfo16_msg
1611
- #define sd_types_BleGattcAttrInfo128_fields &sd_types_BleGattcAttrInfo128_msg
1612
- #define sd_types_BleGattcHandleValue_fields &sd_types_BleGattcHandleValue_msg
1613
- #define sd_types_BleGattsAttrMd_fields &sd_types_BleGattsAttrMd_msg
1614
- #define sd_types_BleGattsAttr_fields &sd_types_BleGattsAttr_msg
1615
- #define sd_types_BleGattsValue_fields &sd_types_BleGattsValue_msg
1616
- #define sd_types_BleGattsCharPf_fields &sd_types_BleGattsCharPf_msg
1617
- #define sd_types_BleGattCharExtProps_fields &sd_types_BleGattCharExtProps_msg
1618
- #define sd_types_BleGattsCharMd_fields &sd_types_BleGattsCharMd_msg
1619
- #define sd_types_BleGattsCharHandles_fields &sd_types_BleGattsCharHandles_msg
1620
- #define sd_types_BleGattsHvxParams_fields &sd_types_BleGattsHvxParams_msg
1621
- #define sd_types_BleGapSecLevelsT_fields &sd_types_BleGapSecLevelsT_msg
1622
- #define sd_types_BleGapAdvReportTypeT_fields &sd_types_BleGapAdvReportTypeT_msg
1623
- #define sd_types_BleGapAuxPointer_fields &sd_types_BleGapAuxPointer_msg
1624
- #define sd_types_BleGattsAuthorizeParams_fields &sd_types_BleGattsAuthorizeParams_msg
1625
- #define sd_types_BleGattsRwAuthorizeReplyParams_fields &sd_types_BleGattsRwAuthorizeReplyParams_msg
1626
-
1627
- /* Maximum encoded size of messages (where known) */
1628
- #define SD_TYPES_SOFTDEVICE_TYPES_PB_H_MAX_SIZE sd_types_BleGattsRwAuthorizeReplyParams_size
1629
- #define sd_types_BleData_size 262
1630
- #define sd_types_BleGapAddr_size 12
1631
- #define sd_types_BleGapAdvData_size 530
1632
- #define sd_types_BleGapAdvParams_size 57
1633
- #define sd_types_BleGapAdvProperties_size 6
1634
- #define sd_types_BleGapAdvReportTypeT_size 16
1635
- #define sd_types_BleGapAuxPointer_size 7
1636
- #define sd_types_BleGapChMask_size 7
1637
- #define sd_types_BleGapConnEventTrigger_size 17
1638
- #define sd_types_BleGapConnParams_size 16
1639
- #define sd_types_BleGapConnSecMode_size 6
1640
- #define sd_types_BleGapConnSec_size 11
1641
- #define sd_types_BleGapDataLengthLimitation_size 12
1642
- #define sd_types_BleGapDataLengthParams_size 16
1643
- #define sd_types_BleGapEncInfo_size 25
1644
- #define sd_types_BleGapEncKey_size 43
1645
- #define sd_types_BleGapIdKey_size 34
1646
- #define sd_types_BleGapIrk_size 18
1647
- #define sd_types_BleGapLescDhkey_size 34
1648
- #define sd_types_BleGapLescOobData_size 50
1649
- #define sd_types_BleGapLescP256Pk_size 66
1650
- #define sd_types_BleGapMasterId_size 14
1651
- #define sd_types_BleGapPrivacyParams_size 28
1652
- #define sd_types_BleGapScanParams_size 33
1653
- #define sd_types_BleGapSecKdist_size 8
1654
- #define sd_types_BleGapSecKeys_size 169
1655
- #define sd_types_BleGapSecKeyset_size 344
1656
- #define sd_types_BleGapSecLevelsT_size 8
1657
- #define sd_types_BleGapSecParams_size 38
1658
- #define sd_types_BleGapSignInfo_size 18
1659
- #define sd_types_BleGattCharExtProps_size 4
1660
- #define sd_types_BleGattCharProps_size 14
1661
- #define sd_types_BleGattcAttrInfo128_size 24
1662
- #define sd_types_BleGattcAttrInfo16_size 13
1663
- #define sd_types_BleGattcChar_size 36
1664
- #define sd_types_BleGattcDesc_size 13
1665
- #define sd_types_BleGattcHandleRange_size 8
1666
- #define sd_types_BleGattcHandleValue_size 519
1667
- #define sd_types_BleGattcInclude_size 25
1668
- #define sd_types_BleGattcService_size 19
1669
- #define sd_types_BleGattcWriteParams_size 533
1670
- #define sd_types_BleGattsAttrMd_size 24
1671
- #define sd_types_BleGattsAttr_size 562
1672
- #define sd_types_BleGattsAuthorizeParams_size 529
1673
- #define sd_types_BleGattsCharHandles_size 16
1674
- #define sd_types_BleGattsCharMd_size 642
1675
- #define sd_types_BleGattsCharPf_size 17
1676
- #define sd_types_BleGattsHvxParams_size 530
1677
- #define sd_types_BleGattsRwAuthorizeReplyParams_size 1067
1678
- #define sd_types_BleGattsValue_size 523
1679
- #define sd_types_BleUuid128_size 18
1680
- #define sd_types_BleUuid_size 7
1681
-
1682
- #ifdef __cplusplus
1683
- } /* extern "C" */
1684
- #endif
1685
-
1686
- #endif