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.
- package/NitroSimplejsble.podspec +1 -1
- 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,114 +0,0 @@
|
|
|
1
|
-
/* Automatically generated nanopb constant definitions */
|
|
2
|
-
/* Generated by nanopb-0.4.9.1 */
|
|
3
|
-
|
|
4
|
-
#include "protocol/softdevice_gattc.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_GattcPrimaryServicesDiscoverCmd, sd_GattcPrimaryServicesDiscoverCmd, AUTO)
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
PB_BIND(sd_GattcRelationshipsDiscoverCmd, sd_GattcRelationshipsDiscoverCmd, AUTO)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
PB_BIND(sd_GattcCharacteristicsDiscoverCmd, sd_GattcCharacteristicsDiscoverCmd, AUTO)
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
PB_BIND(sd_GattcDescriptorsDiscoverCmd, sd_GattcDescriptorsDiscoverCmd, AUTO)
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
PB_BIND(sd_GattcAttrInfoDiscoverCmd, sd_GattcAttrInfoDiscoverCmd, AUTO)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
PB_BIND(sd_GattcCharValueByUuidReadCmd, sd_GattcCharValueByUuidReadCmd, AUTO)
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
PB_BIND(sd_GattcReadCmd, sd_GattcReadCmd, AUTO)
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
PB_BIND(sd_GattcCharValuesReadCmd, sd_GattcCharValuesReadCmd, AUTO)
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
PB_BIND(sd_GattcWriteCmd, sd_GattcWriteCmd, 2)
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
PB_BIND(sd_GattcHvConfirmCmd, sd_GattcHvConfirmCmd, AUTO)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
PB_BIND(sd_GattcExchangeMtuRequestCmd, sd_GattcExchangeMtuRequestCmd, AUTO)
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
PB_BIND(sd_GattcPrimaryServicesDiscoverRsp, sd_GattcPrimaryServicesDiscoverRsp, AUTO)
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
PB_BIND(sd_GattcRelationshipsDiscoverRsp, sd_GattcRelationshipsDiscoverRsp, AUTO)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
PB_BIND(sd_GattcCharacteristicsDiscoverRsp, sd_GattcCharacteristicsDiscoverRsp, AUTO)
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
PB_BIND(sd_GattcDescriptorsDiscoverRsp, sd_GattcDescriptorsDiscoverRsp, AUTO)
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
PB_BIND(sd_GattcAttrInfoDiscoverRsp, sd_GattcAttrInfoDiscoverRsp, AUTO)
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
PB_BIND(sd_GattcCharValueByUuidReadRsp, sd_GattcCharValueByUuidReadRsp, AUTO)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
PB_BIND(sd_GattcReadRsp, sd_GattcReadRsp, AUTO)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
PB_BIND(sd_GattcCharValuesReadRsp, sd_GattcCharValuesReadRsp, AUTO)
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
PB_BIND(sd_GattcWriteRsp, sd_GattcWriteRsp, AUTO)
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
PB_BIND(sd_GattcHvConfirmRsp, sd_GattcHvConfirmRsp, AUTO)
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
PB_BIND(sd_GattcExchangeMtuRequestRsp, sd_GattcExchangeMtuRequestRsp, AUTO)
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
PB_BIND(sd_GattcEvtPrimSrvcDiscRsp, sd_GattcEvtPrimSrvcDiscRsp, AUTO)
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
PB_BIND(sd_GattcEvtRelDiscRsp, sd_GattcEvtRelDiscRsp, AUTO)
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
PB_BIND(sd_GattcEvtCharDiscRsp, sd_GattcEvtCharDiscRsp, AUTO)
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
PB_BIND(sd_GattcEvtDescDiscRsp, sd_GattcEvtDescDiscRsp, AUTO)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
PB_BIND(sd_GattcEvtAttrInfoDiscRsp, sd_GattcEvtAttrInfoDiscRsp, AUTO)
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
PB_BIND(sd_GattcEvtCharValByUuidReadRsp, sd_GattcEvtCharValByUuidReadRsp, 2)
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
PB_BIND(sd_GattcEvtReadRsp, sd_GattcEvtReadRsp, 2)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
PB_BIND(sd_GattcEvtCharValsReadRsp, sd_GattcEvtCharValsReadRsp, 2)
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
PB_BIND(sd_GattcEvtWriteRsp, sd_GattcEvtWriteRsp, 2)
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
PB_BIND(sd_GattcEvtHvx, sd_GattcEvtHvx, 2)
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
PB_BIND(sd_GattcEvtExchangeMtuRsp, sd_GattcEvtExchangeMtuRsp, AUTO)
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
PB_BIND(sd_GattcEvtTimeout, sd_GattcEvtTimeout, AUTO)
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
PB_BIND(sd_GattcEvtWriteCmdTxComplete, sd_GattcEvtWriteCmdTxComplete, AUTO)
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|