simplejsble 0.0.29 → 0.0.30
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/NitroSimplejsble.podspec +1 -0
- package/VERSION +1 -1
- package/dependencies/external/kvn/kvn_bytearray.h +7 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +2 -0
- package/lib/specs/Adapter.nitro.d.ts +10 -0
- package/lib/specs/Adapter.nitro.d.ts.map +1 -0
- package/lib/specs/Adapter.nitro.js +1 -0
- package/package.json +2 -2
- package/simpleble/CMakeLists.txt +1 -6
- package/simpleble/src/backends/dongl/AdapterDongl.cpp +10 -143
- package/simpleble/src/backends/dongl/AdapterDongl.h +0 -1
- package/simpleble/src/backends/dongl/PeripheralDongl.cpp +120 -118
- package/simpleble/src/backends/dongl/PeripheralDongl.h +9 -2
- package/simpleble/src/backends/dongl/protocol/d2h.pb.h +9 -26
- package/simpleble/src/backends/dongl/protocol/h2d.pb.h +2 -12
- package/simpleble/src/backends/dongl/serial/Protocol.cpp +1 -755
- package/simpleble/src/backends/dongl/serial/Protocol.h +0 -75
- package/simpleble/test/src/test_bytearray.cpp +7 -0
- package/simpleble/src/backends/dongl/protocol/softdevice.pb.c +0 -18
- package/simpleble/src/backends/dongl/protocol/softdevice.pb.h +0 -815
- package/simpleble/src/backends/dongl/protocol/softdevice_gap.pb.c +0 -339
- package/simpleble/src/backends/dongl/protocol/softdevice_gap.pb.h +0 -2086
- package/simpleble/src/backends/dongl/protocol/softdevice_gattc.pb.c +0 -114
- package/simpleble/src/backends/dongl/protocol/softdevice_gattc.pb.h +0 -772
- package/simpleble/src/backends/dongl/protocol/softdevice_gatts.pb.c +0 -117
- package/simpleble/src/backends/dongl/protocol/softdevice_gatts.pb.h +0 -766
- package/simpleble/src/backends/dongl/protocol/softdevice_types.pb.c +0 -207
- package/simpleble/src/backends/dongl/protocol/softdevice_types.pb.h +0 -1686
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
/* Automatically generated nanopb constant definitions */
|
|
2
|
-
/* Generated by nanopb-0.4.9.1 */
|
|
3
|
-
|
|
4
|
-
#include "protocol/softdevice_types.pb.h"
|
|
5
|
-
#if PB_PROTO_HEADER_VERSION != 40
|
|
6
|
-
#error Regenerate this file with the current version of nanopb generator.
|
|
7
|
-
#endif
|
|
8
|
-
|
|
9
|
-
PB_BIND(sd_types_BleGapAddr, sd_types_BleGapAddr, AUTO)
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
PB_BIND(sd_types_BleGapConnParams, sd_types_BleGapConnParams, AUTO)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
PB_BIND(sd_types_BleGapConnSecMode, sd_types_BleGapConnSecMode, AUTO)
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
PB_BIND(sd_types_BleGapIrk, sd_types_BleGapIrk, AUTO)
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
PB_BIND(sd_types_BleGapChMask, sd_types_BleGapChMask, AUTO)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
PB_BIND(sd_types_BleGapAdvProperties, sd_types_BleGapAdvProperties, AUTO)
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
PB_BIND(sd_types_BleGapAdvParams, sd_types_BleGapAdvParams, AUTO)
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
PB_BIND(sd_types_BleData, sd_types_BleData, 2)
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
PB_BIND(sd_types_BleGapAdvData, sd_types_BleGapAdvData, 2)
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
PB_BIND(sd_types_BleGapScanParams, sd_types_BleGapScanParams, AUTO)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
PB_BIND(sd_types_BleGapPrivacyParams, sd_types_BleGapPrivacyParams, AUTO)
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
PB_BIND(sd_types_BleGapSecKdist, sd_types_BleGapSecKdist, AUTO)
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
PB_BIND(sd_types_BleGapSecParams, sd_types_BleGapSecParams, AUTO)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
PB_BIND(sd_types_BleGapEncInfo, sd_types_BleGapEncInfo, AUTO)
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
PB_BIND(sd_types_BleGapMasterId, sd_types_BleGapMasterId, AUTO)
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
PB_BIND(sd_types_BleGapSignInfo, sd_types_BleGapSignInfo, AUTO)
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
PB_BIND(sd_types_BleGapLescP256Pk, sd_types_BleGapLescP256Pk, AUTO)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
PB_BIND(sd_types_BleGapLescDhkey, sd_types_BleGapLescDhkey, AUTO)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
PB_BIND(sd_types_BleGapLescOobData, sd_types_BleGapLescOobData, AUTO)
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
PB_BIND(sd_types_BleGapConnSec, sd_types_BleGapConnSec, AUTO)
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
PB_BIND(sd_types_BleGapEncKey, sd_types_BleGapEncKey, AUTO)
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
PB_BIND(sd_types_BleGapIdKey, sd_types_BleGapIdKey, AUTO)
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
PB_BIND(sd_types_BleGapSecKeys, sd_types_BleGapSecKeys, AUTO)
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
PB_BIND(sd_types_BleGapSecKeyset, sd_types_BleGapSecKeyset, 2)
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
PB_BIND(sd_types_BleGapDataLengthParams, sd_types_BleGapDataLengthParams, AUTO)
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
PB_BIND(sd_types_BleGapDataLengthLimitation, sd_types_BleGapDataLengthLimitation, AUTO)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
PB_BIND(sd_types_BleGapConnEventTrigger, sd_types_BleGapConnEventTrigger, AUTO)
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
PB_BIND(sd_types_BleUuid, sd_types_BleUuid, AUTO)
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
PB_BIND(sd_types_BleUuid128, sd_types_BleUuid128, AUTO)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
PB_BIND(sd_types_BleGattCharProps, sd_types_BleGattCharProps, AUTO)
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
PB_BIND(sd_types_BleGattcHandleRange, sd_types_BleGattcHandleRange, AUTO)
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
PB_BIND(sd_types_BleGattcWriteParams, sd_types_BleGattcWriteParams, 2)
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
PB_BIND(sd_types_BleGattcService, sd_types_BleGattcService, AUTO)
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
PB_BIND(sd_types_BleGattcInclude, sd_types_BleGattcInclude, AUTO)
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
PB_BIND(sd_types_BleGattcChar, sd_types_BleGattcChar, AUTO)
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
PB_BIND(sd_types_BleGattcDesc, sd_types_BleGattcDesc, AUTO)
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
PB_BIND(sd_types_BleGattcAttrInfo16, sd_types_BleGattcAttrInfo16, AUTO)
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
PB_BIND(sd_types_BleGattcAttrInfo128, sd_types_BleGattcAttrInfo128, AUTO)
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
PB_BIND(sd_types_BleGattcHandleValue, sd_types_BleGattcHandleValue, 2)
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
PB_BIND(sd_types_BleGattsAttrMd, sd_types_BleGattsAttrMd, AUTO)
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
PB_BIND(sd_types_BleGattsAttr, sd_types_BleGattsAttr, 2)
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
PB_BIND(sd_types_BleGattsValue, sd_types_BleGattsValue, 2)
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
PB_BIND(sd_types_BleGattsCharPf, sd_types_BleGattsCharPf, AUTO)
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
PB_BIND(sd_types_BleGattCharExtProps, sd_types_BleGattCharExtProps, AUTO)
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
PB_BIND(sd_types_BleGattsCharMd, sd_types_BleGattsCharMd, 2)
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
PB_BIND(sd_types_BleGattsCharHandles, sd_types_BleGattsCharHandles, AUTO)
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
PB_BIND(sd_types_BleGattsHvxParams, sd_types_BleGattsHvxParams, 2)
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
PB_BIND(sd_types_BleGapSecLevelsT, sd_types_BleGapSecLevelsT, AUTO)
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
PB_BIND(sd_types_BleGapAdvReportTypeT, sd_types_BleGapAdvReportTypeT, AUTO)
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
PB_BIND(sd_types_BleGapAuxPointer, sd_types_BleGapAuxPointer, AUTO)
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
PB_BIND(sd_types_BleGattsAuthorizeParams, sd_types_BleGattsAuthorizeParams, 2)
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
PB_BIND(sd_types_BleGattsRwAuthorizeReplyParams, sd_types_BleGattsRwAuthorizeReplyParams, 2)
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|