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,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
-