simplejsble 0.0.3 → 0.0.5

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 (273) hide show
  1. package/NitroSimplejsble.podspec +9 -4
  2. package/VERSION +1 -0
  3. package/android/CMakeLists.txt +62 -20
  4. package/cmake/epilogue.cmake +81 -0
  5. package/cmake/find/FindDBus1.cmake +20 -0
  6. package/cmake/find/Findfmt.cmake +41 -0
  7. package/cmake/find/Findgoogletest.cmake +18 -0
  8. package/cmake/parse_version.cmake +45 -0
  9. package/cmake/prelude.cmake +8 -0
  10. package/dependencies/README +4 -0
  11. package/dependencies/external/kvn/kvn_bytearray.h +297 -0
  12. package/dependencies/external/kvn/kvn_safe_callback.hpp +66 -0
  13. package/dependencies/external/kvn/logfwd.hpp +35 -0
  14. package/dependencies/internal/include/fmt/LICENSE +27 -0
  15. package/dependencies/internal/include/fmt/args.h +220 -0
  16. package/dependencies/internal/include/fmt/base.h +2962 -0
  17. package/dependencies/internal/include/fmt/chrono.h +2338 -0
  18. package/dependencies/internal/include/fmt/color.h +610 -0
  19. package/dependencies/internal/include/fmt/compile.h +539 -0
  20. package/dependencies/internal/include/fmt/core.h +5 -0
  21. package/dependencies/internal/include/fmt/format-inl.h +1949 -0
  22. package/dependencies/internal/include/fmt/format.h +4244 -0
  23. package/dependencies/internal/include/fmt/os.h +427 -0
  24. package/dependencies/internal/include/fmt/ostream.h +166 -0
  25. package/dependencies/internal/include/fmt/printf.h +633 -0
  26. package/dependencies/internal/include/fmt/ranges.h +850 -0
  27. package/dependencies/internal/include/fmt/std.h +726 -0
  28. package/dependencies/internal/include/fmt/xchar.h +373 -0
  29. package/dependencies/internal/include/nanopb/pb.h +948 -0
  30. package/dependencies/internal/include/nanopb/pb_common.h +49 -0
  31. package/dependencies/internal/include/nanopb/pb_decode.h +204 -0
  32. package/dependencies/internal/include/nanopb/pb_encode.h +195 -0
  33. package/dependencies/internal/include/simplejni/Common.hpp +598 -0
  34. package/dependencies/internal/include/simplejni/References.hpp +151 -0
  35. package/dependencies/internal/include/simplejni/Registry.hpp +249 -0
  36. package/dependencies/internal/include/simplejni/VM.hpp +93 -0
  37. package/dependencies/internal/src/nanopb/pb_common.c +388 -0
  38. package/dependencies/internal/src/nanopb/pb_decode.c +1763 -0
  39. package/dependencies/internal/src/nanopb/pb_encode.c +1009 -0
  40. package/dependencies/internal/src/simplejni/Common.cpp +4 -0
  41. package/package.json +5 -1
  42. package/simpleble/CMakeLists.txt +519 -0
  43. package/simpleble/include/simpleble/Adapter.h +102 -0
  44. package/simpleble/include/simpleble/AdapterSafe.h +58 -0
  45. package/simpleble/include/simpleble/Advanced.h +50 -0
  46. package/simpleble/include/simpleble/Characteristic.h +39 -0
  47. package/simpleble/include/simpleble/Config.h +64 -0
  48. package/simpleble/include/simpleble/Descriptor.h +30 -0
  49. package/simpleble/include/simpleble/Exceptions.h +72 -0
  50. package/simpleble/include/simpleble/Logging.h +73 -0
  51. package/simpleble/include/simpleble/Peripheral.h +82 -0
  52. package/simpleble/include/simpleble/PeripheralSafe.h +64 -0
  53. package/simpleble/include/simpleble/Service.h +34 -0
  54. package/simpleble/include/simpleble/SimpleBLE.h +8 -0
  55. package/simpleble/include/simpleble/Types.h +49 -0
  56. package/simpleble/include/simpleble/Utils.h +13 -0
  57. package/simpleble/include/simpleble_c/DEPRECATED +2 -0
  58. package/simpleble/include/simpleble_c/adapter.h +188 -0
  59. package/simpleble/include/simpleble_c/logging.h +37 -0
  60. package/simpleble/include/simpleble_c/peripheral.h +304 -0
  61. package/simpleble/include/simpleble_c/simpleble.h +21 -0
  62. package/simpleble/include/simpleble_c/types.h +73 -0
  63. package/simpleble/include/simpleble_c/utils.h +27 -0
  64. package/simpleble/src/CommonUtils.h +63 -0
  65. package/simpleble/src/Config.cpp +25 -0
  66. package/simpleble/src/Exceptions.cpp +31 -0
  67. package/simpleble/src/Logging.cpp +136 -0
  68. package/simpleble/src/LoggingInternal.h +85 -0
  69. package/simpleble/src/Utils.cpp +24 -0
  70. package/simpleble/src/backends/android/AdapterAndroid.cpp +101 -0
  71. package/simpleble/src/backends/android/AdapterAndroid.h +67 -0
  72. package/simpleble/src/backends/android/BackendAndroid.cpp +41 -0
  73. package/simpleble/src/backends/android/BackendAndroid.h +26 -0
  74. package/simpleble/src/backends/android/PeripheralAndroid.cpp +365 -0
  75. package/simpleble/src/backends/android/PeripheralAndroid.h +90 -0
  76. package/simpleble/src/backends/android/bridge/BluetoothGattCallback.cpp +432 -0
  77. package/simpleble/src/backends/android/bridge/BluetoothGattCallback.h +102 -0
  78. package/simpleble/src/backends/android/bridge/ScanCallback.cpp +142 -0
  79. package/simpleble/src/backends/android/bridge/ScanCallback.h +55 -0
  80. package/simpleble/src/backends/android/types/android/bluetooth/BluetoothAdapter.cpp +107 -0
  81. package/simpleble/src/backends/android/types/android/bluetooth/BluetoothAdapter.h +55 -0
  82. package/simpleble/src/backends/android/types/android/bluetooth/BluetoothDevice.cpp +68 -0
  83. package/simpleble/src/backends/android/types/android/bluetooth/BluetoothDevice.h +54 -0
  84. package/simpleble/src/backends/android/types/android/bluetooth/BluetoothGatt.cpp +115 -0
  85. package/simpleble/src/backends/android/types/android/bluetooth/BluetoothGatt.h +75 -0
  86. package/simpleble/src/backends/android/types/android/bluetooth/BluetoothGattCharacteristic.cpp +142 -0
  87. package/simpleble/src/backends/android/types/android/bluetooth/BluetoothGattCharacteristic.h +66 -0
  88. package/simpleble/src/backends/android/types/android/bluetooth/BluetoothGattDescriptor.cpp +67 -0
  89. package/simpleble/src/backends/android/types/android/bluetooth/BluetoothGattDescriptor.h +46 -0
  90. package/simpleble/src/backends/android/types/android/bluetooth/BluetoothGattService.cpp +106 -0
  91. package/simpleble/src/backends/android/types/android/bluetooth/BluetoothGattService.h +47 -0
  92. package/simpleble/src/backends/android/types/android/bluetooth/le/BluetoothScanner.cpp +47 -0
  93. package/simpleble/src/backends/android/types/android/bluetooth/le/BluetoothScanner.h +37 -0
  94. package/simpleble/src/backends/android/types/android/bluetooth/le/ScanRecord.cpp +69 -0
  95. package/simpleble/src/backends/android/types/android/bluetooth/le/ScanRecord.h +41 -0
  96. package/simpleble/src/backends/android/types/android/bluetooth/le/ScanResult.cpp +63 -0
  97. package/simpleble/src/backends/android/types/android/bluetooth/le/ScanResult.h +42 -0
  98. package/simpleble/src/backends/android/types/android/os/ParcelUUID.cpp +32 -0
  99. package/simpleble/src/backends/android/types/android/os/ParcelUUID.h +30 -0
  100. package/simpleble/src/backends/android/types/android/util/SparseArray.cpp +54 -0
  101. package/simpleble/src/backends/android/types/android/util/SparseArray.h +37 -0
  102. package/simpleble/src/backends/android/types/java/util/Iterator.cpp +36 -0
  103. package/simpleble/src/backends/android/types/java/util/Iterator.h +28 -0
  104. package/simpleble/src/backends/android/types/java/util/List.cpp +29 -0
  105. package/simpleble/src/backends/android/types/java/util/List.h +27 -0
  106. package/simpleble/src/backends/android/types/java/util/Set.cpp +33 -0
  107. package/simpleble/src/backends/android/types/java/util/Set.h +28 -0
  108. package/simpleble/src/backends/android/types/java/util/UUID.cpp +26 -0
  109. package/simpleble/src/backends/android/types/java/util/UUID.h +29 -0
  110. package/simpleble/src/backends/common/AdapterBase.cpp +53 -0
  111. package/simpleble/src/backends/common/AdapterBase.h +81 -0
  112. package/simpleble/src/backends/common/AdapterBaseTypes.h +22 -0
  113. package/simpleble/src/backends/common/BackendBase.h +20 -0
  114. package/simpleble/src/backends/common/BackendUtils.h +33 -0
  115. package/simpleble/src/backends/common/CharacteristicBase.cpp +28 -0
  116. package/simpleble/src/backends/common/CharacteristicBase.h +38 -0
  117. package/simpleble/src/backends/common/DescriptorBase.cpp +7 -0
  118. package/simpleble/src/backends/common/DescriptorBase.h +19 -0
  119. package/simpleble/src/backends/common/PeripheralBase.h +82 -0
  120. package/simpleble/src/backends/common/ServiceBase.cpp +18 -0
  121. package/simpleble/src/backends/common/ServiceBase.h +28 -0
  122. package/simpleble/src/backends/dongl/AdapterBaseTypes.h +22 -0
  123. package/simpleble/src/backends/dongl/AdapterDongl.cpp +369 -0
  124. package/simpleble/src/backends/dongl/AdapterDongl.h +60 -0
  125. package/simpleble/src/backends/dongl/BackendDongl.cpp +35 -0
  126. package/simpleble/src/backends/dongl/PeripheralDongl.cpp +562 -0
  127. package/simpleble/src/backends/dongl/PeripheralDongl.h +136 -0
  128. package/simpleble/src/backends/dongl/protocol/basic.pb.c +33 -0
  129. package/simpleble/src/backends/dongl/protocol/basic.pb.h +172 -0
  130. package/simpleble/src/backends/dongl/protocol/d2h.pb.c +18 -0
  131. package/simpleble/src/backends/dongl/protocol/d2h.pb.h +118 -0
  132. package/simpleble/src/backends/dongl/protocol/h2d.pb.c +12 -0
  133. package/simpleble/src/backends/dongl/protocol/h2d.pb.h +69 -0
  134. package/simpleble/src/backends/dongl/protocol/simpleble.pb.c +123 -0
  135. package/simpleble/src/backends/dongl/protocol/simpleble.pb.h +908 -0
  136. package/simpleble/src/backends/dongl/protocol/softdevice.pb.c +18 -0
  137. package/simpleble/src/backends/dongl/protocol/softdevice.pb.h +815 -0
  138. package/simpleble/src/backends/dongl/protocol/softdevice_gap.pb.c +339 -0
  139. package/simpleble/src/backends/dongl/protocol/softdevice_gap.pb.h +2086 -0
  140. package/simpleble/src/backends/dongl/protocol/softdevice_gattc.pb.c +114 -0
  141. package/simpleble/src/backends/dongl/protocol/softdevice_gattc.pb.h +772 -0
  142. package/simpleble/src/backends/dongl/protocol/softdevice_gatts.pb.c +117 -0
  143. package/simpleble/src/backends/dongl/protocol/softdevice_gatts.pb.h +766 -0
  144. package/simpleble/src/backends/dongl/protocol/softdevice_types.pb.c +207 -0
  145. package/simpleble/src/backends/dongl/protocol/softdevice_types.pb.h +1686 -0
  146. package/simpleble/src/backends/dongl/serial/Protocol.cpp +887 -0
  147. package/simpleble/src/backends/dongl/serial/Protocol.h +117 -0
  148. package/simpleble/src/backends/dongl/serial/ProtocolBase.cpp +95 -0
  149. package/simpleble/src/backends/dongl/serial/ProtocolBase.h +54 -0
  150. package/simpleble/src/backends/dongl/serial/Wire.cpp +133 -0
  151. package/simpleble/src/backends/dongl/serial/Wire.h +116 -0
  152. package/simpleble/src/backends/dongl/usb/UsbHelper.cpp +53 -0
  153. package/simpleble/src/backends/dongl/usb/UsbHelper.h +32 -0
  154. package/simpleble/src/backends/dongl/usb/UsbHelperApple.cpp +266 -0
  155. package/simpleble/src/backends/dongl/usb/UsbHelperApple.h +34 -0
  156. package/simpleble/src/backends/dongl/usb/UsbHelperImpl.h +29 -0
  157. package/simpleble/src/backends/dongl/usb/UsbHelperLinux.cpp +21 -0
  158. package/simpleble/src/backends/dongl/usb/UsbHelperLinux.h +22 -0
  159. package/simpleble/src/backends/dongl/usb/UsbHelperNull.cpp +21 -0
  160. package/simpleble/src/backends/dongl/usb/UsbHelperNull.h +22 -0
  161. package/simpleble/src/backends/dongl/usb/UsbHelperWindows.cpp +21 -0
  162. package/simpleble/src/backends/dongl/usb/UsbHelperWindows.h +22 -0
  163. package/simpleble/src/backends/linux/AdapterLinux.cpp +102 -0
  164. package/simpleble/src/backends/linux/AdapterLinux.h +55 -0
  165. package/simpleble/src/backends/linux/BackendBluez.cpp +90 -0
  166. package/simpleble/src/backends/linux/PeripheralLinux.cpp +394 -0
  167. package/simpleble/src/backends/linux/PeripheralLinux.h +90 -0
  168. package/simpleble/src/backends/linux_legacy/AdapterLinuxLegacy.cpp +102 -0
  169. package/simpleble/src/backends/linux_legacy/AdapterLinuxLegacy.h +55 -0
  170. package/simpleble/src/backends/linux_legacy/BackendBluezLegacy.cpp +87 -0
  171. package/simpleble/src/backends/linux_legacy/PeripheralLinuxLegacy.cpp +376 -0
  172. package/simpleble/src/backends/linux_legacy/PeripheralLinuxLegacy.h +90 -0
  173. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/Adapter.h +46 -0
  174. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/Agent.h +52 -0
  175. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/Bluez.h +37 -0
  176. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/BluezOrg.h +22 -0
  177. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/BluezOrgBluez.h +26 -0
  178. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/BluezRoot.h +32 -0
  179. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/Characteristic.h +47 -0
  180. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/Descriptor.h +33 -0
  181. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/Device.h +64 -0
  182. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/Exceptions.h +43 -0
  183. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/Service.h +27 -0
  184. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/Types.h +9 -0
  185. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/interfaces/Adapter1.h +49 -0
  186. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/interfaces/Agent1.h +100 -0
  187. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/interfaces/AgentManager1.h +24 -0
  188. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/interfaces/Battery1.h +32 -0
  189. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/interfaces/Device1.h +62 -0
  190. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/interfaces/GattCharacteristic1.h +48 -0
  191. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/interfaces/GattDescriptor1.h +41 -0
  192. package/simpleble/src/backends/linux_legacy/include/simplebluezlegacy/interfaces/GattService1.h +28 -0
  193. package/simpleble/src/backends/linux_legacy/include/simpledbuslegacy/advanced/Interface.h +67 -0
  194. package/simpleble/src/backends/linux_legacy/include/simpledbuslegacy/advanced/InterfaceRegistry.h +62 -0
  195. package/simpleble/src/backends/linux_legacy/include/simpledbuslegacy/advanced/Proxy.h +117 -0
  196. package/simpleble/src/backends/linux_legacy/include/simpledbuslegacy/base/Connection.h +50 -0
  197. package/simpleble/src/backends/linux_legacy/include/simpledbuslegacy/base/Exceptions.h +56 -0
  198. package/simpleble/src/backends/linux_legacy/include/simpledbuslegacy/base/Holder.h +147 -0
  199. package/simpleble/src/backends/linux_legacy/include/simpledbuslegacy/base/Logging.h +57 -0
  200. package/simpleble/src/backends/linux_legacy/include/simpledbuslegacy/base/Message.h +89 -0
  201. package/simpleble/src/backends/linux_legacy/include/simpledbuslegacy/base/Path.h +24 -0
  202. package/simpleble/src/backends/linux_legacy/include/simpledbuslegacy/interfaces/ObjectManager.h +26 -0
  203. package/simpleble/src/backends/linux_legacy/src/Adapter.cpp +78 -0
  204. package/simpleble/src/backends/linux_legacy/src/Agent.cpp +72 -0
  205. package/simpleble/src/backends/linux_legacy/src/Bluez.cpp +45 -0
  206. package/simpleble/src/backends/linux_legacy/src/BluezOrg.cpp +20 -0
  207. package/simpleble/src/backends/linux_legacy/src/BluezOrgBluez.cpp +23 -0
  208. package/simpleble/src/backends/linux_legacy/src/BluezRoot.cpp +44 -0
  209. package/simpleble/src/backends/linux_legacy/src/Characteristic.cpp +64 -0
  210. package/simpleble/src/backends/linux_legacy/src/Descriptor.cpp +27 -0
  211. package/simpleble/src/backends/linux_legacy/src/Device.cpp +104 -0
  212. package/simpleble/src/backends/linux_legacy/src/Exceptions.cpp +29 -0
  213. package/simpleble/src/backends/linux_legacy/src/Service.cpp +33 -0
  214. package/simpleble/src/backends/linux_legacy/src/advanced/Interface.cpp +155 -0
  215. package/simpleble/src/backends/linux_legacy/src/advanced/Proxy.cpp +374 -0
  216. package/simpleble/src/backends/linux_legacy/src/base/Connection.cpp +219 -0
  217. package/simpleble/src/backends/linux_legacy/src/base/Exceptions.cpp +39 -0
  218. package/simpleble/src/backends/linux_legacy/src/base/Holder.cpp +739 -0
  219. package/simpleble/src/backends/linux_legacy/src/base/Message.cpp +622 -0
  220. package/simpleble/src/backends/linux_legacy/src/base/Path.cpp +129 -0
  221. package/simpleble/src/backends/linux_legacy/src/interfaces/Adapter1.cpp +123 -0
  222. package/simpleble/src/backends/linux_legacy/src/interfaces/Agent1.cpp +143 -0
  223. package/simpleble/src/backends/linux_legacy/src/interfaces/AgentManager1.cpp +34 -0
  224. package/simpleble/src/backends/linux_legacy/src/interfaces/Battery1.cpp +30 -0
  225. package/simpleble/src/backends/linux_legacy/src/interfaces/Device1.cpp +170 -0
  226. package/simpleble/src/backends/linux_legacy/src/interfaces/GattCharacteristic1.cpp +118 -0
  227. package/simpleble/src/backends/linux_legacy/src/interfaces/GattDescriptor1.cpp +78 -0
  228. package/simpleble/src/backends/linux_legacy/src/interfaces/GattService1.cpp +28 -0
  229. package/simpleble/src/backends/linux_legacy/src/interfaces/ObjectManager.cpp +58 -0
  230. package/simpleble/src/backends/macos/AdapterBaseMacOS.h +29 -0
  231. package/simpleble/src/backends/macos/AdapterBaseMacOS.mm +235 -0
  232. package/simpleble/src/backends/macos/AdapterMac.h +78 -0
  233. package/simpleble/src/backends/macos/AdapterMac.mm +156 -0
  234. package/simpleble/src/backends/macos/BackendCoreBluetooth.mm +45 -0
  235. package/simpleble/src/backends/macos/PeripheralBaseMacOS.h +49 -0
  236. package/simpleble/src/backends/macos/PeripheralBaseMacOS.mm +714 -0
  237. package/simpleble/src/backends/macos/PeripheralMac.h +81 -0
  238. package/simpleble/src/backends/macos/PeripheralMac.mm +229 -0
  239. package/simpleble/src/backends/macos/Utils.h +9 -0
  240. package/simpleble/src/backends/macos/Utils.mm +23 -0
  241. package/simpleble/src/backends/plain/AdapterPlain.cpp +65 -0
  242. package/simpleble/src/backends/plain/AdapterPlain.h +49 -0
  243. package/simpleble/src/backends/plain/BackendPlain.cpp +30 -0
  244. package/simpleble/src/backends/plain/PeripheralPlain.cpp +159 -0
  245. package/simpleble/src/backends/plain/PeripheralPlain.h +72 -0
  246. package/simpleble/src/backends/windows/AdapterWindows.cpp +338 -0
  247. package/simpleble/src/backends/windows/AdapterWindows.h +89 -0
  248. package/simpleble/src/backends/windows/BackendWinRT.cpp +67 -0
  249. package/simpleble/src/backends/windows/BackendWinRT.h +18 -0
  250. package/simpleble/src/backends/windows/MtaManager.cpp +49 -0
  251. package/simpleble/src/backends/windows/MtaManager.h +90 -0
  252. package/simpleble/src/backends/windows/PeripheralWindows.cpp +487 -0
  253. package/simpleble/src/backends/windows/PeripheralWindows.h +129 -0
  254. package/simpleble/src/backends/windows/Utils.cpp +146 -0
  255. package/simpleble/src/backends/windows/Utils.h +47 -0
  256. package/simpleble/src/builders/BuildVec.h +32 -0
  257. package/simpleble/src/builders/BuilderBase.h +87 -0
  258. package/simpleble/src/external/TaskRunner.hpp +99 -0
  259. package/simpleble/src/external/ThreadRunner.h +52 -0
  260. package/simpleble/src/external/kvn_safe_callback.hpp +66 -0
  261. package/simpleble/src/external/kvn_safe_map.hpp +94 -0
  262. package/simpleble/src/external/kvn_threadrunner.hpp +70 -0
  263. package/simpleble/src/external/logfwd.hpp +35 -0
  264. package/simpleble/src/frontends/base/Adapter.cpp +111 -0
  265. package/simpleble/src/frontends/base/Advanced.cpp +34 -0
  266. package/simpleble/src/frontends/base/Backend.cpp +95 -0
  267. package/simpleble/src/frontends/base/Backend.h +76 -0
  268. package/simpleble/src/frontends/base/Characteristic.cpp +56 -0
  269. package/simpleble/src/frontends/base/Descriptor.cpp +21 -0
  270. package/simpleble/src/frontends/base/Peripheral.cpp +113 -0
  271. package/simpleble/src/frontends/base/Service.cpp +26 -0
  272. package/simpleble/src/frontends/safe/AdapterSafe.cpp +158 -0
  273. package/simpleble/src/frontends/safe/PeripheralSafe.cpp +219 -0
@@ -0,0 +1,772 @@
1
+ /* Automatically generated nanopb header */
2
+ /* Generated by nanopb-0.4.9.1 */
3
+
4
+ #ifndef PB_SD_SOFTDEVICE_GATTC_PB_H_INCLUDED
5
+ #define PB_SD_SOFTDEVICE_GATTC_PB_H_INCLUDED
6
+ #include "nanopb/pb.h"
7
+ #include "protocol/softdevice_types.pb.h"
8
+
9
+ #if PB_PROTO_HEADER_VERSION != 40
10
+ #error Regenerate this file with the current version of nanopb generator.
11
+ #endif
12
+
13
+ /* Struct definitions */
14
+ /* SoftDevice GATTC command messages */
15
+ typedef struct _sd_GattcPrimaryServicesDiscoverCmd {
16
+ uint16_t conn_handle;
17
+ uint16_t start_handle;
18
+ bool has_srvc_uuid;
19
+ sd_types_BleUuid srvc_uuid; /* Optional */
20
+ } sd_GattcPrimaryServicesDiscoverCmd;
21
+
22
+ typedef struct _sd_GattcRelationshipsDiscoverCmd {
23
+ uint16_t conn_handle;
24
+ bool has_handle_range;
25
+ sd_types_BleGattcHandleRange handle_range;
26
+ } sd_GattcRelationshipsDiscoverCmd;
27
+
28
+ typedef struct _sd_GattcCharacteristicsDiscoverCmd {
29
+ uint16_t conn_handle;
30
+ bool has_handle_range;
31
+ sd_types_BleGattcHandleRange handle_range;
32
+ } sd_GattcCharacteristicsDiscoverCmd;
33
+
34
+ typedef struct _sd_GattcDescriptorsDiscoverCmd {
35
+ uint16_t conn_handle;
36
+ bool has_handle_range;
37
+ sd_types_BleGattcHandleRange handle_range;
38
+ } sd_GattcDescriptorsDiscoverCmd;
39
+
40
+ typedef struct _sd_GattcAttrInfoDiscoverCmd {
41
+ uint16_t conn_handle;
42
+ bool has_handle_range;
43
+ sd_types_BleGattcHandleRange handle_range;
44
+ } sd_GattcAttrInfoDiscoverCmd;
45
+
46
+ typedef struct _sd_GattcCharValueByUuidReadCmd {
47
+ uint16_t conn_handle;
48
+ bool has_uuid;
49
+ sd_types_BleUuid uuid; /* Optional */
50
+ bool has_handle_range;
51
+ sd_types_BleGattcHandleRange handle_range;
52
+ } sd_GattcCharValueByUuidReadCmd;
53
+
54
+ typedef struct _sd_GattcReadCmd {
55
+ uint16_t conn_handle;
56
+ uint16_t handle;
57
+ uint16_t offset;
58
+ } sd_GattcReadCmd;
59
+
60
+ typedef struct _sd_GattcCharValuesReadCmd {
61
+ uint16_t conn_handle;
62
+ pb_callback_t handles; /* BLE_GATTC_READ_MAX_HANDLES = 8 */
63
+ uint8_t handle_count;
64
+ } sd_GattcCharValuesReadCmd;
65
+
66
+ typedef struct _sd_GattcWriteCmd {
67
+ uint16_t conn_handle;
68
+ bool has_write_params;
69
+ sd_types_BleGattcWriteParams write_params;
70
+ } sd_GattcWriteCmd;
71
+
72
+ typedef struct _sd_GattcHvConfirmCmd {
73
+ uint16_t conn_handle;
74
+ uint16_t handle;
75
+ } sd_GattcHvConfirmCmd;
76
+
77
+ typedef struct _sd_GattcExchangeMtuRequestCmd {
78
+ uint16_t conn_handle;
79
+ uint16_t client_rx_mtu;
80
+ } sd_GattcExchangeMtuRequestCmd;
81
+
82
+ /* SoftDevice GATTC response messages */
83
+ typedef struct _sd_GattcPrimaryServicesDiscoverRsp {
84
+ uint32_t ret_code;
85
+ } sd_GattcPrimaryServicesDiscoverRsp;
86
+
87
+ typedef struct _sd_GattcRelationshipsDiscoverRsp {
88
+ uint32_t ret_code;
89
+ } sd_GattcRelationshipsDiscoverRsp;
90
+
91
+ typedef struct _sd_GattcCharacteristicsDiscoverRsp {
92
+ uint32_t ret_code;
93
+ } sd_GattcCharacteristicsDiscoverRsp;
94
+
95
+ typedef struct _sd_GattcDescriptorsDiscoverRsp {
96
+ uint32_t ret_code;
97
+ } sd_GattcDescriptorsDiscoverRsp;
98
+
99
+ typedef struct _sd_GattcAttrInfoDiscoverRsp {
100
+ uint32_t ret_code;
101
+ } sd_GattcAttrInfoDiscoverRsp;
102
+
103
+ typedef struct _sd_GattcCharValueByUuidReadRsp {
104
+ uint32_t ret_code;
105
+ } sd_GattcCharValueByUuidReadRsp;
106
+
107
+ typedef struct _sd_GattcReadRsp {
108
+ uint32_t ret_code;
109
+ } sd_GattcReadRsp;
110
+
111
+ typedef struct _sd_GattcCharValuesReadRsp {
112
+ uint32_t ret_code;
113
+ } sd_GattcCharValuesReadRsp;
114
+
115
+ typedef struct _sd_GattcWriteRsp {
116
+ uint32_t ret_code;
117
+ } sd_GattcWriteRsp;
118
+
119
+ typedef struct _sd_GattcHvConfirmRsp {
120
+ uint32_t ret_code;
121
+ } sd_GattcHvConfirmRsp;
122
+
123
+ typedef struct _sd_GattcExchangeMtuRequestRsp {
124
+ uint32_t ret_code;
125
+ } sd_GattcExchangeMtuRequestRsp;
126
+
127
+ /* SoftDevice GATTC event messages */
128
+ typedef struct _sd_GattcEvtPrimSrvcDiscRsp {
129
+ uint16_t gatt_status;
130
+ uint16_t error_handle;
131
+ uint16_t count;
132
+ pb_callback_t services; /* Variable length */
133
+ } sd_GattcEvtPrimSrvcDiscRsp;
134
+
135
+ typedef struct _sd_GattcEvtRelDiscRsp {
136
+ uint16_t gatt_status;
137
+ uint16_t error_handle;
138
+ uint16_t count;
139
+ pb_callback_t includes; /* Variable length */
140
+ } sd_GattcEvtRelDiscRsp;
141
+
142
+ typedef struct _sd_GattcEvtCharDiscRsp {
143
+ uint16_t gatt_status;
144
+ uint16_t error_handle;
145
+ uint16_t count;
146
+ pb_callback_t chars; /* Variable length */
147
+ } sd_GattcEvtCharDiscRsp;
148
+
149
+ typedef struct _sd_GattcEvtDescDiscRsp {
150
+ uint16_t gatt_status;
151
+ uint16_t error_handle;
152
+ uint16_t count;
153
+ pb_callback_t descs; /* Variable length */
154
+ } sd_GattcEvtDescDiscRsp;
155
+
156
+ typedef struct _sd_GattcEvtAttrInfoDiscRsp {
157
+ uint16_t gatt_status;
158
+ uint16_t error_handle;
159
+ uint16_t count;
160
+ sd_types_BleGattcAttrInfoFormat format;
161
+ pb_callback_t attr_info16; /* Variable length */
162
+ pb_callback_t attr_info128; /* Variable length */
163
+ } sd_GattcEvtAttrInfoDiscRsp;
164
+
165
+ typedef PB_BYTES_ARRAY_T(512) sd_GattcEvtCharValByUuidReadRsp_handle_value_t;
166
+ typedef struct _sd_GattcEvtCharValByUuidReadRsp {
167
+ uint16_t gatt_status;
168
+ uint16_t error_handle;
169
+ uint16_t count;
170
+ uint16_t value_len;
171
+ sd_GattcEvtCharValByUuidReadRsp_handle_value_t handle_value; /* Variable length data */
172
+ } sd_GattcEvtCharValByUuidReadRsp;
173
+
174
+ typedef PB_BYTES_ARRAY_T(512) sd_GattcEvtReadRsp_data_t;
175
+ typedef struct _sd_GattcEvtReadRsp {
176
+ uint16_t gatt_status;
177
+ uint16_t error_handle;
178
+ uint16_t handle;
179
+ uint16_t offset;
180
+ uint16_t len;
181
+ sd_GattcEvtReadRsp_data_t data; /* Variable length */
182
+ } sd_GattcEvtReadRsp;
183
+
184
+ typedef PB_BYTES_ARRAY_T(512) sd_GattcEvtCharValsReadRsp_values_t;
185
+ typedef struct _sd_GattcEvtCharValsReadRsp {
186
+ uint16_t gatt_status;
187
+ uint16_t error_handle;
188
+ uint16_t len;
189
+ sd_GattcEvtCharValsReadRsp_values_t values; /* Variable length */
190
+ } sd_GattcEvtCharValsReadRsp;
191
+
192
+ typedef PB_BYTES_ARRAY_T(512) sd_GattcEvtWriteRsp_data_t;
193
+ typedef struct _sd_GattcEvtWriteRsp {
194
+ uint16_t gatt_status;
195
+ uint16_t error_handle;
196
+ uint16_t handle;
197
+ sd_types_BleGattWriteOp write_op;
198
+ uint16_t offset;
199
+ uint16_t len;
200
+ sd_GattcEvtWriteRsp_data_t data; /* Variable length */
201
+ } sd_GattcEvtWriteRsp;
202
+
203
+ typedef PB_BYTES_ARRAY_T(512) sd_GattcEvtHvx_data_t;
204
+ typedef struct _sd_GattcEvtHvx {
205
+ uint16_t gatt_status;
206
+ uint16_t error_handle;
207
+ uint16_t handle;
208
+ sd_types_BleGattHvxType type;
209
+ uint16_t len;
210
+ sd_GattcEvtHvx_data_t data; /* Variable length */
211
+ } sd_GattcEvtHvx;
212
+
213
+ typedef struct _sd_GattcEvtExchangeMtuRsp {
214
+ uint16_t gatt_status;
215
+ uint16_t error_handle;
216
+ uint16_t server_rx_mtu;
217
+ } sd_GattcEvtExchangeMtuRsp;
218
+
219
+ typedef struct _sd_GattcEvtTimeout {
220
+ uint16_t gatt_status;
221
+ uint16_t error_handle;
222
+ sd_types_BleGattTimeoutSrc src;
223
+ } sd_GattcEvtTimeout;
224
+
225
+ typedef struct _sd_GattcEvtWriteCmdTxComplete {
226
+ uint16_t gatt_status;
227
+ uint16_t error_handle;
228
+ uint8_t count;
229
+ } sd_GattcEvtWriteCmdTxComplete;
230
+
231
+
232
+ #ifdef __cplusplus
233
+ extern "C" {
234
+ #endif
235
+
236
+ /* Initializer values for message structs */
237
+ #define sd_GattcPrimaryServicesDiscoverCmd_init_default {0, 0, false, sd_types_BleUuid_init_default}
238
+ #define sd_GattcRelationshipsDiscoverCmd_init_default {0, false, sd_types_BleGattcHandleRange_init_default}
239
+ #define sd_GattcCharacteristicsDiscoverCmd_init_default {0, false, sd_types_BleGattcHandleRange_init_default}
240
+ #define sd_GattcDescriptorsDiscoverCmd_init_default {0, false, sd_types_BleGattcHandleRange_init_default}
241
+ #define sd_GattcAttrInfoDiscoverCmd_init_default {0, false, sd_types_BleGattcHandleRange_init_default}
242
+ #define sd_GattcCharValueByUuidReadCmd_init_default {0, false, sd_types_BleUuid_init_default, false, sd_types_BleGattcHandleRange_init_default}
243
+ #define sd_GattcReadCmd_init_default {0, 0, 0}
244
+ #define sd_GattcCharValuesReadCmd_init_default {0, {{NULL}, NULL}, 0}
245
+ #define sd_GattcWriteCmd_init_default {0, false, sd_types_BleGattcWriteParams_init_default}
246
+ #define sd_GattcHvConfirmCmd_init_default {0, 0}
247
+ #define sd_GattcExchangeMtuRequestCmd_init_default {0, 0}
248
+ #define sd_GattcPrimaryServicesDiscoverRsp_init_default {0}
249
+ #define sd_GattcRelationshipsDiscoverRsp_init_default {0}
250
+ #define sd_GattcCharacteristicsDiscoverRsp_init_default {0}
251
+ #define sd_GattcDescriptorsDiscoverRsp_init_default {0}
252
+ #define sd_GattcAttrInfoDiscoverRsp_init_default {0}
253
+ #define sd_GattcCharValueByUuidReadRsp_init_default {0}
254
+ #define sd_GattcReadRsp_init_default {0}
255
+ #define sd_GattcCharValuesReadRsp_init_default {0}
256
+ #define sd_GattcWriteRsp_init_default {0}
257
+ #define sd_GattcHvConfirmRsp_init_default {0}
258
+ #define sd_GattcExchangeMtuRequestRsp_init_default {0}
259
+ #define sd_GattcEvtPrimSrvcDiscRsp_init_default {0, 0, 0, {{NULL}, NULL}}
260
+ #define sd_GattcEvtRelDiscRsp_init_default {0, 0, 0, {{NULL}, NULL}}
261
+ #define sd_GattcEvtCharDiscRsp_init_default {0, 0, 0, {{NULL}, NULL}}
262
+ #define sd_GattcEvtDescDiscRsp_init_default {0, 0, 0, {{NULL}, NULL}}
263
+ #define sd_GattcEvtAttrInfoDiscRsp_init_default {0, 0, 0, _sd_types_BleGattcAttrInfoFormat_MIN, {{NULL}, NULL}, {{NULL}, NULL}}
264
+ #define sd_GattcEvtCharValByUuidReadRsp_init_default {0, 0, 0, 0, {0, {0}}}
265
+ #define sd_GattcEvtReadRsp_init_default {0, 0, 0, 0, 0, {0, {0}}}
266
+ #define sd_GattcEvtCharValsReadRsp_init_default {0, 0, 0, {0, {0}}}
267
+ #define sd_GattcEvtWriteRsp_init_default {0, 0, 0, _sd_types_BleGattWriteOp_MIN, 0, 0, {0, {0}}}
268
+ #define sd_GattcEvtHvx_init_default {0, 0, 0, _sd_types_BleGattHvxType_MIN, 0, {0, {0}}}
269
+ #define sd_GattcEvtExchangeMtuRsp_init_default {0, 0, 0}
270
+ #define sd_GattcEvtTimeout_init_default {0, 0, _sd_types_BleGattTimeoutSrc_MIN}
271
+ #define sd_GattcEvtWriteCmdTxComplete_init_default {0, 0, 0}
272
+ #define sd_GattcPrimaryServicesDiscoverCmd_init_zero {0, 0, false, sd_types_BleUuid_init_zero}
273
+ #define sd_GattcRelationshipsDiscoverCmd_init_zero {0, false, sd_types_BleGattcHandleRange_init_zero}
274
+ #define sd_GattcCharacteristicsDiscoverCmd_init_zero {0, false, sd_types_BleGattcHandleRange_init_zero}
275
+ #define sd_GattcDescriptorsDiscoverCmd_init_zero {0, false, sd_types_BleGattcHandleRange_init_zero}
276
+ #define sd_GattcAttrInfoDiscoverCmd_init_zero {0, false, sd_types_BleGattcHandleRange_init_zero}
277
+ #define sd_GattcCharValueByUuidReadCmd_init_zero {0, false, sd_types_BleUuid_init_zero, false, sd_types_BleGattcHandleRange_init_zero}
278
+ #define sd_GattcReadCmd_init_zero {0, 0, 0}
279
+ #define sd_GattcCharValuesReadCmd_init_zero {0, {{NULL}, NULL}, 0}
280
+ #define sd_GattcWriteCmd_init_zero {0, false, sd_types_BleGattcWriteParams_init_zero}
281
+ #define sd_GattcHvConfirmCmd_init_zero {0, 0}
282
+ #define sd_GattcExchangeMtuRequestCmd_init_zero {0, 0}
283
+ #define sd_GattcPrimaryServicesDiscoverRsp_init_zero {0}
284
+ #define sd_GattcRelationshipsDiscoverRsp_init_zero {0}
285
+ #define sd_GattcCharacteristicsDiscoverRsp_init_zero {0}
286
+ #define sd_GattcDescriptorsDiscoverRsp_init_zero {0}
287
+ #define sd_GattcAttrInfoDiscoverRsp_init_zero {0}
288
+ #define sd_GattcCharValueByUuidReadRsp_init_zero {0}
289
+ #define sd_GattcReadRsp_init_zero {0}
290
+ #define sd_GattcCharValuesReadRsp_init_zero {0}
291
+ #define sd_GattcWriteRsp_init_zero {0}
292
+ #define sd_GattcHvConfirmRsp_init_zero {0}
293
+ #define sd_GattcExchangeMtuRequestRsp_init_zero {0}
294
+ #define sd_GattcEvtPrimSrvcDiscRsp_init_zero {0, 0, 0, {{NULL}, NULL}}
295
+ #define sd_GattcEvtRelDiscRsp_init_zero {0, 0, 0, {{NULL}, NULL}}
296
+ #define sd_GattcEvtCharDiscRsp_init_zero {0, 0, 0, {{NULL}, NULL}}
297
+ #define sd_GattcEvtDescDiscRsp_init_zero {0, 0, 0, {{NULL}, NULL}}
298
+ #define sd_GattcEvtAttrInfoDiscRsp_init_zero {0, 0, 0, _sd_types_BleGattcAttrInfoFormat_MIN, {{NULL}, NULL}, {{NULL}, NULL}}
299
+ #define sd_GattcEvtCharValByUuidReadRsp_init_zero {0, 0, 0, 0, {0, {0}}}
300
+ #define sd_GattcEvtReadRsp_init_zero {0, 0, 0, 0, 0, {0, {0}}}
301
+ #define sd_GattcEvtCharValsReadRsp_init_zero {0, 0, 0, {0, {0}}}
302
+ #define sd_GattcEvtWriteRsp_init_zero {0, 0, 0, _sd_types_BleGattWriteOp_MIN, 0, 0, {0, {0}}}
303
+ #define sd_GattcEvtHvx_init_zero {0, 0, 0, _sd_types_BleGattHvxType_MIN, 0, {0, {0}}}
304
+ #define sd_GattcEvtExchangeMtuRsp_init_zero {0, 0, 0}
305
+ #define sd_GattcEvtTimeout_init_zero {0, 0, _sd_types_BleGattTimeoutSrc_MIN}
306
+ #define sd_GattcEvtWriteCmdTxComplete_init_zero {0, 0, 0}
307
+
308
+ /* Field tags (for use in manual encoding/decoding) */
309
+ #define sd_GattcPrimaryServicesDiscoverCmd_conn_handle_tag 1
310
+ #define sd_GattcPrimaryServicesDiscoverCmd_start_handle_tag 2
311
+ #define sd_GattcPrimaryServicesDiscoverCmd_srvc_uuid_tag 3
312
+ #define sd_GattcRelationshipsDiscoverCmd_conn_handle_tag 1
313
+ #define sd_GattcRelationshipsDiscoverCmd_handle_range_tag 2
314
+ #define sd_GattcCharacteristicsDiscoverCmd_conn_handle_tag 1
315
+ #define sd_GattcCharacteristicsDiscoverCmd_handle_range_tag 2
316
+ #define sd_GattcDescriptorsDiscoverCmd_conn_handle_tag 1
317
+ #define sd_GattcDescriptorsDiscoverCmd_handle_range_tag 2
318
+ #define sd_GattcAttrInfoDiscoverCmd_conn_handle_tag 1
319
+ #define sd_GattcAttrInfoDiscoverCmd_handle_range_tag 2
320
+ #define sd_GattcCharValueByUuidReadCmd_conn_handle_tag 1
321
+ #define sd_GattcCharValueByUuidReadCmd_uuid_tag 2
322
+ #define sd_GattcCharValueByUuidReadCmd_handle_range_tag 3
323
+ #define sd_GattcReadCmd_conn_handle_tag 1
324
+ #define sd_GattcReadCmd_handle_tag 2
325
+ #define sd_GattcReadCmd_offset_tag 3
326
+ #define sd_GattcCharValuesReadCmd_conn_handle_tag 1
327
+ #define sd_GattcCharValuesReadCmd_handles_tag 2
328
+ #define sd_GattcCharValuesReadCmd_handle_count_tag 3
329
+ #define sd_GattcWriteCmd_conn_handle_tag 1
330
+ #define sd_GattcWriteCmd_write_params_tag 2
331
+ #define sd_GattcHvConfirmCmd_conn_handle_tag 1
332
+ #define sd_GattcHvConfirmCmd_handle_tag 2
333
+ #define sd_GattcExchangeMtuRequestCmd_conn_handle_tag 1
334
+ #define sd_GattcExchangeMtuRequestCmd_client_rx_mtu_tag 2
335
+ #define sd_GattcPrimaryServicesDiscoverRsp_ret_code_tag 1
336
+ #define sd_GattcRelationshipsDiscoverRsp_ret_code_tag 1
337
+ #define sd_GattcCharacteristicsDiscoverRsp_ret_code_tag 1
338
+ #define sd_GattcDescriptorsDiscoverRsp_ret_code_tag 1
339
+ #define sd_GattcAttrInfoDiscoverRsp_ret_code_tag 1
340
+ #define sd_GattcCharValueByUuidReadRsp_ret_code_tag 1
341
+ #define sd_GattcReadRsp_ret_code_tag 1
342
+ #define sd_GattcCharValuesReadRsp_ret_code_tag 1
343
+ #define sd_GattcWriteRsp_ret_code_tag 1
344
+ #define sd_GattcHvConfirmRsp_ret_code_tag 1
345
+ #define sd_GattcExchangeMtuRequestRsp_ret_code_tag 1
346
+ #define sd_GattcEvtPrimSrvcDiscRsp_gatt_status_tag 1
347
+ #define sd_GattcEvtPrimSrvcDiscRsp_error_handle_tag 2
348
+ #define sd_GattcEvtPrimSrvcDiscRsp_count_tag 3
349
+ #define sd_GattcEvtPrimSrvcDiscRsp_services_tag 4
350
+ #define sd_GattcEvtRelDiscRsp_gatt_status_tag 1
351
+ #define sd_GattcEvtRelDiscRsp_error_handle_tag 2
352
+ #define sd_GattcEvtRelDiscRsp_count_tag 3
353
+ #define sd_GattcEvtRelDiscRsp_includes_tag 4
354
+ #define sd_GattcEvtCharDiscRsp_gatt_status_tag 1
355
+ #define sd_GattcEvtCharDiscRsp_error_handle_tag 2
356
+ #define sd_GattcEvtCharDiscRsp_count_tag 3
357
+ #define sd_GattcEvtCharDiscRsp_chars_tag 4
358
+ #define sd_GattcEvtDescDiscRsp_gatt_status_tag 1
359
+ #define sd_GattcEvtDescDiscRsp_error_handle_tag 2
360
+ #define sd_GattcEvtDescDiscRsp_count_tag 3
361
+ #define sd_GattcEvtDescDiscRsp_descs_tag 4
362
+ #define sd_GattcEvtAttrInfoDiscRsp_gatt_status_tag 1
363
+ #define sd_GattcEvtAttrInfoDiscRsp_error_handle_tag 2
364
+ #define sd_GattcEvtAttrInfoDiscRsp_count_tag 3
365
+ #define sd_GattcEvtAttrInfoDiscRsp_format_tag 4
366
+ #define sd_GattcEvtAttrInfoDiscRsp_attr_info16_tag 5
367
+ #define sd_GattcEvtAttrInfoDiscRsp_attr_info128_tag 6
368
+ #define sd_GattcEvtCharValByUuidReadRsp_gatt_status_tag 1
369
+ #define sd_GattcEvtCharValByUuidReadRsp_error_handle_tag 2
370
+ #define sd_GattcEvtCharValByUuidReadRsp_count_tag 3
371
+ #define sd_GattcEvtCharValByUuidReadRsp_value_len_tag 4
372
+ #define sd_GattcEvtCharValByUuidReadRsp_handle_value_tag 5
373
+ #define sd_GattcEvtReadRsp_gatt_status_tag 1
374
+ #define sd_GattcEvtReadRsp_error_handle_tag 2
375
+ #define sd_GattcEvtReadRsp_handle_tag 3
376
+ #define sd_GattcEvtReadRsp_offset_tag 4
377
+ #define sd_GattcEvtReadRsp_len_tag 5
378
+ #define sd_GattcEvtReadRsp_data_tag 6
379
+ #define sd_GattcEvtCharValsReadRsp_gatt_status_tag 1
380
+ #define sd_GattcEvtCharValsReadRsp_error_handle_tag 2
381
+ #define sd_GattcEvtCharValsReadRsp_len_tag 3
382
+ #define sd_GattcEvtCharValsReadRsp_values_tag 4
383
+ #define sd_GattcEvtWriteRsp_gatt_status_tag 1
384
+ #define sd_GattcEvtWriteRsp_error_handle_tag 2
385
+ #define sd_GattcEvtWriteRsp_handle_tag 3
386
+ #define sd_GattcEvtWriteRsp_write_op_tag 4
387
+ #define sd_GattcEvtWriteRsp_offset_tag 5
388
+ #define sd_GattcEvtWriteRsp_len_tag 6
389
+ #define sd_GattcEvtWriteRsp_data_tag 7
390
+ #define sd_GattcEvtHvx_gatt_status_tag 1
391
+ #define sd_GattcEvtHvx_error_handle_tag 2
392
+ #define sd_GattcEvtHvx_handle_tag 3
393
+ #define sd_GattcEvtHvx_type_tag 4
394
+ #define sd_GattcEvtHvx_len_tag 5
395
+ #define sd_GattcEvtHvx_data_tag 6
396
+ #define sd_GattcEvtExchangeMtuRsp_gatt_status_tag 1
397
+ #define sd_GattcEvtExchangeMtuRsp_error_handle_tag 2
398
+ #define sd_GattcEvtExchangeMtuRsp_server_rx_mtu_tag 3
399
+ #define sd_GattcEvtTimeout_gatt_status_tag 1
400
+ #define sd_GattcEvtTimeout_error_handle_tag 2
401
+ #define sd_GattcEvtTimeout_src_tag 3
402
+ #define sd_GattcEvtWriteCmdTxComplete_gatt_status_tag 1
403
+ #define sd_GattcEvtWriteCmdTxComplete_error_handle_tag 2
404
+ #define sd_GattcEvtWriteCmdTxComplete_count_tag 3
405
+
406
+ /* Struct field encoding specification for nanopb */
407
+ #define sd_GattcPrimaryServicesDiscoverCmd_FIELDLIST(X, a) \
408
+ X(a, STATIC, SINGULAR, UINT32, conn_handle, 1) \
409
+ X(a, STATIC, SINGULAR, UINT32, start_handle, 2) \
410
+ X(a, STATIC, OPTIONAL, MESSAGE, srvc_uuid, 3)
411
+ #define sd_GattcPrimaryServicesDiscoverCmd_CALLBACK NULL
412
+ #define sd_GattcPrimaryServicesDiscoverCmd_DEFAULT NULL
413
+ #define sd_GattcPrimaryServicesDiscoverCmd_srvc_uuid_MSGTYPE sd_types_BleUuid
414
+
415
+ #define sd_GattcRelationshipsDiscoverCmd_FIELDLIST(X, a) \
416
+ X(a, STATIC, SINGULAR, UINT32, conn_handle, 1) \
417
+ X(a, STATIC, OPTIONAL, MESSAGE, handle_range, 2)
418
+ #define sd_GattcRelationshipsDiscoverCmd_CALLBACK NULL
419
+ #define sd_GattcRelationshipsDiscoverCmd_DEFAULT NULL
420
+ #define sd_GattcRelationshipsDiscoverCmd_handle_range_MSGTYPE sd_types_BleGattcHandleRange
421
+
422
+ #define sd_GattcCharacteristicsDiscoverCmd_FIELDLIST(X, a) \
423
+ X(a, STATIC, SINGULAR, UINT32, conn_handle, 1) \
424
+ X(a, STATIC, OPTIONAL, MESSAGE, handle_range, 2)
425
+ #define sd_GattcCharacteristicsDiscoverCmd_CALLBACK NULL
426
+ #define sd_GattcCharacteristicsDiscoverCmd_DEFAULT NULL
427
+ #define sd_GattcCharacteristicsDiscoverCmd_handle_range_MSGTYPE sd_types_BleGattcHandleRange
428
+
429
+ #define sd_GattcDescriptorsDiscoverCmd_FIELDLIST(X, a) \
430
+ X(a, STATIC, SINGULAR, UINT32, conn_handle, 1) \
431
+ X(a, STATIC, OPTIONAL, MESSAGE, handle_range, 2)
432
+ #define sd_GattcDescriptorsDiscoverCmd_CALLBACK NULL
433
+ #define sd_GattcDescriptorsDiscoverCmd_DEFAULT NULL
434
+ #define sd_GattcDescriptorsDiscoverCmd_handle_range_MSGTYPE sd_types_BleGattcHandleRange
435
+
436
+ #define sd_GattcAttrInfoDiscoverCmd_FIELDLIST(X, a) \
437
+ X(a, STATIC, SINGULAR, UINT32, conn_handle, 1) \
438
+ X(a, STATIC, OPTIONAL, MESSAGE, handle_range, 2)
439
+ #define sd_GattcAttrInfoDiscoverCmd_CALLBACK NULL
440
+ #define sd_GattcAttrInfoDiscoverCmd_DEFAULT NULL
441
+ #define sd_GattcAttrInfoDiscoverCmd_handle_range_MSGTYPE sd_types_BleGattcHandleRange
442
+
443
+ #define sd_GattcCharValueByUuidReadCmd_FIELDLIST(X, a) \
444
+ X(a, STATIC, SINGULAR, UINT32, conn_handle, 1) \
445
+ X(a, STATIC, OPTIONAL, MESSAGE, uuid, 2) \
446
+ X(a, STATIC, OPTIONAL, MESSAGE, handle_range, 3)
447
+ #define sd_GattcCharValueByUuidReadCmd_CALLBACK NULL
448
+ #define sd_GattcCharValueByUuidReadCmd_DEFAULT NULL
449
+ #define sd_GattcCharValueByUuidReadCmd_uuid_MSGTYPE sd_types_BleUuid
450
+ #define sd_GattcCharValueByUuidReadCmd_handle_range_MSGTYPE sd_types_BleGattcHandleRange
451
+
452
+ #define sd_GattcReadCmd_FIELDLIST(X, a) \
453
+ X(a, STATIC, SINGULAR, UINT32, conn_handle, 1) \
454
+ X(a, STATIC, SINGULAR, UINT32, handle, 2) \
455
+ X(a, STATIC, SINGULAR, UINT32, offset, 3)
456
+ #define sd_GattcReadCmd_CALLBACK NULL
457
+ #define sd_GattcReadCmd_DEFAULT NULL
458
+
459
+ #define sd_GattcCharValuesReadCmd_FIELDLIST(X, a) \
460
+ X(a, STATIC, SINGULAR, UINT32, conn_handle, 1) \
461
+ X(a, CALLBACK, REPEATED, UINT32, handles, 2) \
462
+ X(a, STATIC, SINGULAR, UINT32, handle_count, 3)
463
+ #define sd_GattcCharValuesReadCmd_CALLBACK pb_default_field_callback
464
+ #define sd_GattcCharValuesReadCmd_DEFAULT NULL
465
+
466
+ #define sd_GattcWriteCmd_FIELDLIST(X, a) \
467
+ X(a, STATIC, SINGULAR, UINT32, conn_handle, 1) \
468
+ X(a, STATIC, OPTIONAL, MESSAGE, write_params, 2)
469
+ #define sd_GattcWriteCmd_CALLBACK NULL
470
+ #define sd_GattcWriteCmd_DEFAULT NULL
471
+ #define sd_GattcWriteCmd_write_params_MSGTYPE sd_types_BleGattcWriteParams
472
+
473
+ #define sd_GattcHvConfirmCmd_FIELDLIST(X, a) \
474
+ X(a, STATIC, SINGULAR, UINT32, conn_handle, 1) \
475
+ X(a, STATIC, SINGULAR, UINT32, handle, 2)
476
+ #define sd_GattcHvConfirmCmd_CALLBACK NULL
477
+ #define sd_GattcHvConfirmCmd_DEFAULT NULL
478
+
479
+ #define sd_GattcExchangeMtuRequestCmd_FIELDLIST(X, a) \
480
+ X(a, STATIC, SINGULAR, UINT32, conn_handle, 1) \
481
+ X(a, STATIC, SINGULAR, UINT32, client_rx_mtu, 2)
482
+ #define sd_GattcExchangeMtuRequestCmd_CALLBACK NULL
483
+ #define sd_GattcExchangeMtuRequestCmd_DEFAULT NULL
484
+
485
+ #define sd_GattcPrimaryServicesDiscoverRsp_FIELDLIST(X, a) \
486
+ X(a, STATIC, SINGULAR, UINT32, ret_code, 1)
487
+ #define sd_GattcPrimaryServicesDiscoverRsp_CALLBACK NULL
488
+ #define sd_GattcPrimaryServicesDiscoverRsp_DEFAULT NULL
489
+
490
+ #define sd_GattcRelationshipsDiscoverRsp_FIELDLIST(X, a) \
491
+ X(a, STATIC, SINGULAR, UINT32, ret_code, 1)
492
+ #define sd_GattcRelationshipsDiscoverRsp_CALLBACK NULL
493
+ #define sd_GattcRelationshipsDiscoverRsp_DEFAULT NULL
494
+
495
+ #define sd_GattcCharacteristicsDiscoverRsp_FIELDLIST(X, a) \
496
+ X(a, STATIC, SINGULAR, UINT32, ret_code, 1)
497
+ #define sd_GattcCharacteristicsDiscoverRsp_CALLBACK NULL
498
+ #define sd_GattcCharacteristicsDiscoverRsp_DEFAULT NULL
499
+
500
+ #define sd_GattcDescriptorsDiscoverRsp_FIELDLIST(X, a) \
501
+ X(a, STATIC, SINGULAR, UINT32, ret_code, 1)
502
+ #define sd_GattcDescriptorsDiscoverRsp_CALLBACK NULL
503
+ #define sd_GattcDescriptorsDiscoverRsp_DEFAULT NULL
504
+
505
+ #define sd_GattcAttrInfoDiscoverRsp_FIELDLIST(X, a) \
506
+ X(a, STATIC, SINGULAR, UINT32, ret_code, 1)
507
+ #define sd_GattcAttrInfoDiscoverRsp_CALLBACK NULL
508
+ #define sd_GattcAttrInfoDiscoverRsp_DEFAULT NULL
509
+
510
+ #define sd_GattcCharValueByUuidReadRsp_FIELDLIST(X, a) \
511
+ X(a, STATIC, SINGULAR, UINT32, ret_code, 1)
512
+ #define sd_GattcCharValueByUuidReadRsp_CALLBACK NULL
513
+ #define sd_GattcCharValueByUuidReadRsp_DEFAULT NULL
514
+
515
+ #define sd_GattcReadRsp_FIELDLIST(X, a) \
516
+ X(a, STATIC, SINGULAR, UINT32, ret_code, 1)
517
+ #define sd_GattcReadRsp_CALLBACK NULL
518
+ #define sd_GattcReadRsp_DEFAULT NULL
519
+
520
+ #define sd_GattcCharValuesReadRsp_FIELDLIST(X, a) \
521
+ X(a, STATIC, SINGULAR, UINT32, ret_code, 1)
522
+ #define sd_GattcCharValuesReadRsp_CALLBACK NULL
523
+ #define sd_GattcCharValuesReadRsp_DEFAULT NULL
524
+
525
+ #define sd_GattcWriteRsp_FIELDLIST(X, a) \
526
+ X(a, STATIC, SINGULAR, UINT32, ret_code, 1)
527
+ #define sd_GattcWriteRsp_CALLBACK NULL
528
+ #define sd_GattcWriteRsp_DEFAULT NULL
529
+
530
+ #define sd_GattcHvConfirmRsp_FIELDLIST(X, a) \
531
+ X(a, STATIC, SINGULAR, UINT32, ret_code, 1)
532
+ #define sd_GattcHvConfirmRsp_CALLBACK NULL
533
+ #define sd_GattcHvConfirmRsp_DEFAULT NULL
534
+
535
+ #define sd_GattcExchangeMtuRequestRsp_FIELDLIST(X, a) \
536
+ X(a, STATIC, SINGULAR, UINT32, ret_code, 1)
537
+ #define sd_GattcExchangeMtuRequestRsp_CALLBACK NULL
538
+ #define sd_GattcExchangeMtuRequestRsp_DEFAULT NULL
539
+
540
+ #define sd_GattcEvtPrimSrvcDiscRsp_FIELDLIST(X, a) \
541
+ X(a, STATIC, SINGULAR, UINT32, gatt_status, 1) \
542
+ X(a, STATIC, SINGULAR, UINT32, error_handle, 2) \
543
+ X(a, STATIC, SINGULAR, UINT32, count, 3) \
544
+ X(a, CALLBACK, REPEATED, MESSAGE, services, 4)
545
+ #define sd_GattcEvtPrimSrvcDiscRsp_CALLBACK pb_default_field_callback
546
+ #define sd_GattcEvtPrimSrvcDiscRsp_DEFAULT NULL
547
+ #define sd_GattcEvtPrimSrvcDiscRsp_services_MSGTYPE sd_types_BleGattcService
548
+
549
+ #define sd_GattcEvtRelDiscRsp_FIELDLIST(X, a) \
550
+ X(a, STATIC, SINGULAR, UINT32, gatt_status, 1) \
551
+ X(a, STATIC, SINGULAR, UINT32, error_handle, 2) \
552
+ X(a, STATIC, SINGULAR, UINT32, count, 3) \
553
+ X(a, CALLBACK, REPEATED, MESSAGE, includes, 4)
554
+ #define sd_GattcEvtRelDiscRsp_CALLBACK pb_default_field_callback
555
+ #define sd_GattcEvtRelDiscRsp_DEFAULT NULL
556
+ #define sd_GattcEvtRelDiscRsp_includes_MSGTYPE sd_types_BleGattcInclude
557
+
558
+ #define sd_GattcEvtCharDiscRsp_FIELDLIST(X, a) \
559
+ X(a, STATIC, SINGULAR, UINT32, gatt_status, 1) \
560
+ X(a, STATIC, SINGULAR, UINT32, error_handle, 2) \
561
+ X(a, STATIC, SINGULAR, UINT32, count, 3) \
562
+ X(a, CALLBACK, REPEATED, MESSAGE, chars, 4)
563
+ #define sd_GattcEvtCharDiscRsp_CALLBACK pb_default_field_callback
564
+ #define sd_GattcEvtCharDiscRsp_DEFAULT NULL
565
+ #define sd_GattcEvtCharDiscRsp_chars_MSGTYPE sd_types_BleGattcChar
566
+
567
+ #define sd_GattcEvtDescDiscRsp_FIELDLIST(X, a) \
568
+ X(a, STATIC, SINGULAR, UINT32, gatt_status, 1) \
569
+ X(a, STATIC, SINGULAR, UINT32, error_handle, 2) \
570
+ X(a, STATIC, SINGULAR, UINT32, count, 3) \
571
+ X(a, CALLBACK, REPEATED, MESSAGE, descs, 4)
572
+ #define sd_GattcEvtDescDiscRsp_CALLBACK pb_default_field_callback
573
+ #define sd_GattcEvtDescDiscRsp_DEFAULT NULL
574
+ #define sd_GattcEvtDescDiscRsp_descs_MSGTYPE sd_types_BleGattcDesc
575
+
576
+ #define sd_GattcEvtAttrInfoDiscRsp_FIELDLIST(X, a) \
577
+ X(a, STATIC, SINGULAR, UINT32, gatt_status, 1) \
578
+ X(a, STATIC, SINGULAR, UINT32, error_handle, 2) \
579
+ X(a, STATIC, SINGULAR, UINT32, count, 3) \
580
+ X(a, STATIC, SINGULAR, UENUM, format, 4) \
581
+ X(a, CALLBACK, REPEATED, MESSAGE, attr_info16, 5) \
582
+ X(a, CALLBACK, REPEATED, MESSAGE, attr_info128, 6)
583
+ #define sd_GattcEvtAttrInfoDiscRsp_CALLBACK pb_default_field_callback
584
+ #define sd_GattcEvtAttrInfoDiscRsp_DEFAULT NULL
585
+ #define sd_GattcEvtAttrInfoDiscRsp_attr_info16_MSGTYPE sd_types_BleGattcAttrInfo16
586
+ #define sd_GattcEvtAttrInfoDiscRsp_attr_info128_MSGTYPE sd_types_BleGattcAttrInfo128
587
+
588
+ #define sd_GattcEvtCharValByUuidReadRsp_FIELDLIST(X, a) \
589
+ X(a, STATIC, SINGULAR, UINT32, gatt_status, 1) \
590
+ X(a, STATIC, SINGULAR, UINT32, error_handle, 2) \
591
+ X(a, STATIC, SINGULAR, UINT32, count, 3) \
592
+ X(a, STATIC, SINGULAR, UINT32, value_len, 4) \
593
+ X(a, STATIC, SINGULAR, BYTES, handle_value, 5)
594
+ #define sd_GattcEvtCharValByUuidReadRsp_CALLBACK NULL
595
+ #define sd_GattcEvtCharValByUuidReadRsp_DEFAULT NULL
596
+
597
+ #define sd_GattcEvtReadRsp_FIELDLIST(X, a) \
598
+ X(a, STATIC, SINGULAR, UINT32, gatt_status, 1) \
599
+ X(a, STATIC, SINGULAR, UINT32, error_handle, 2) \
600
+ X(a, STATIC, SINGULAR, UINT32, handle, 3) \
601
+ X(a, STATIC, SINGULAR, UINT32, offset, 4) \
602
+ X(a, STATIC, SINGULAR, UINT32, len, 5) \
603
+ X(a, STATIC, SINGULAR, BYTES, data, 6)
604
+ #define sd_GattcEvtReadRsp_CALLBACK NULL
605
+ #define sd_GattcEvtReadRsp_DEFAULT NULL
606
+
607
+ #define sd_GattcEvtCharValsReadRsp_FIELDLIST(X, a) \
608
+ X(a, STATIC, SINGULAR, UINT32, gatt_status, 1) \
609
+ X(a, STATIC, SINGULAR, UINT32, error_handle, 2) \
610
+ X(a, STATIC, SINGULAR, UINT32, len, 3) \
611
+ X(a, STATIC, SINGULAR, BYTES, values, 4)
612
+ #define sd_GattcEvtCharValsReadRsp_CALLBACK NULL
613
+ #define sd_GattcEvtCharValsReadRsp_DEFAULT NULL
614
+
615
+ #define sd_GattcEvtWriteRsp_FIELDLIST(X, a) \
616
+ X(a, STATIC, SINGULAR, UINT32, gatt_status, 1) \
617
+ X(a, STATIC, SINGULAR, UINT32, error_handle, 2) \
618
+ X(a, STATIC, SINGULAR, UINT32, handle, 3) \
619
+ X(a, STATIC, SINGULAR, UENUM, write_op, 4) \
620
+ X(a, STATIC, SINGULAR, UINT32, offset, 5) \
621
+ X(a, STATIC, SINGULAR, UINT32, len, 6) \
622
+ X(a, STATIC, SINGULAR, BYTES, data, 7)
623
+ #define sd_GattcEvtWriteRsp_CALLBACK NULL
624
+ #define sd_GattcEvtWriteRsp_DEFAULT NULL
625
+
626
+ #define sd_GattcEvtHvx_FIELDLIST(X, a) \
627
+ X(a, STATIC, SINGULAR, UINT32, gatt_status, 1) \
628
+ X(a, STATIC, SINGULAR, UINT32, error_handle, 2) \
629
+ X(a, STATIC, SINGULAR, UINT32, handle, 3) \
630
+ X(a, STATIC, SINGULAR, UENUM, type, 4) \
631
+ X(a, STATIC, SINGULAR, UINT32, len, 5) \
632
+ X(a, STATIC, SINGULAR, BYTES, data, 6)
633
+ #define sd_GattcEvtHvx_CALLBACK NULL
634
+ #define sd_GattcEvtHvx_DEFAULT NULL
635
+
636
+ #define sd_GattcEvtExchangeMtuRsp_FIELDLIST(X, a) \
637
+ X(a, STATIC, SINGULAR, UINT32, gatt_status, 1) \
638
+ X(a, STATIC, SINGULAR, UINT32, error_handle, 2) \
639
+ X(a, STATIC, SINGULAR, UINT32, server_rx_mtu, 3)
640
+ #define sd_GattcEvtExchangeMtuRsp_CALLBACK NULL
641
+ #define sd_GattcEvtExchangeMtuRsp_DEFAULT NULL
642
+
643
+ #define sd_GattcEvtTimeout_FIELDLIST(X, a) \
644
+ X(a, STATIC, SINGULAR, UINT32, gatt_status, 1) \
645
+ X(a, STATIC, SINGULAR, UINT32, error_handle, 2) \
646
+ X(a, STATIC, SINGULAR, UENUM, src, 3)
647
+ #define sd_GattcEvtTimeout_CALLBACK NULL
648
+ #define sd_GattcEvtTimeout_DEFAULT NULL
649
+
650
+ #define sd_GattcEvtWriteCmdTxComplete_FIELDLIST(X, a) \
651
+ X(a, STATIC, SINGULAR, UINT32, gatt_status, 1) \
652
+ X(a, STATIC, SINGULAR, UINT32, error_handle, 2) \
653
+ X(a, STATIC, SINGULAR, UINT32, count, 3)
654
+ #define sd_GattcEvtWriteCmdTxComplete_CALLBACK NULL
655
+ #define sd_GattcEvtWriteCmdTxComplete_DEFAULT NULL
656
+
657
+ extern const pb_msgdesc_t sd_GattcPrimaryServicesDiscoverCmd_msg;
658
+ extern const pb_msgdesc_t sd_GattcRelationshipsDiscoverCmd_msg;
659
+ extern const pb_msgdesc_t sd_GattcCharacteristicsDiscoverCmd_msg;
660
+ extern const pb_msgdesc_t sd_GattcDescriptorsDiscoverCmd_msg;
661
+ extern const pb_msgdesc_t sd_GattcAttrInfoDiscoverCmd_msg;
662
+ extern const pb_msgdesc_t sd_GattcCharValueByUuidReadCmd_msg;
663
+ extern const pb_msgdesc_t sd_GattcReadCmd_msg;
664
+ extern const pb_msgdesc_t sd_GattcCharValuesReadCmd_msg;
665
+ extern const pb_msgdesc_t sd_GattcWriteCmd_msg;
666
+ extern const pb_msgdesc_t sd_GattcHvConfirmCmd_msg;
667
+ extern const pb_msgdesc_t sd_GattcExchangeMtuRequestCmd_msg;
668
+ extern const pb_msgdesc_t sd_GattcPrimaryServicesDiscoverRsp_msg;
669
+ extern const pb_msgdesc_t sd_GattcRelationshipsDiscoverRsp_msg;
670
+ extern const pb_msgdesc_t sd_GattcCharacteristicsDiscoverRsp_msg;
671
+ extern const pb_msgdesc_t sd_GattcDescriptorsDiscoverRsp_msg;
672
+ extern const pb_msgdesc_t sd_GattcAttrInfoDiscoverRsp_msg;
673
+ extern const pb_msgdesc_t sd_GattcCharValueByUuidReadRsp_msg;
674
+ extern const pb_msgdesc_t sd_GattcReadRsp_msg;
675
+ extern const pb_msgdesc_t sd_GattcCharValuesReadRsp_msg;
676
+ extern const pb_msgdesc_t sd_GattcWriteRsp_msg;
677
+ extern const pb_msgdesc_t sd_GattcHvConfirmRsp_msg;
678
+ extern const pb_msgdesc_t sd_GattcExchangeMtuRequestRsp_msg;
679
+ extern const pb_msgdesc_t sd_GattcEvtPrimSrvcDiscRsp_msg;
680
+ extern const pb_msgdesc_t sd_GattcEvtRelDiscRsp_msg;
681
+ extern const pb_msgdesc_t sd_GattcEvtCharDiscRsp_msg;
682
+ extern const pb_msgdesc_t sd_GattcEvtDescDiscRsp_msg;
683
+ extern const pb_msgdesc_t sd_GattcEvtAttrInfoDiscRsp_msg;
684
+ extern const pb_msgdesc_t sd_GattcEvtCharValByUuidReadRsp_msg;
685
+ extern const pb_msgdesc_t sd_GattcEvtReadRsp_msg;
686
+ extern const pb_msgdesc_t sd_GattcEvtCharValsReadRsp_msg;
687
+ extern const pb_msgdesc_t sd_GattcEvtWriteRsp_msg;
688
+ extern const pb_msgdesc_t sd_GattcEvtHvx_msg;
689
+ extern const pb_msgdesc_t sd_GattcEvtExchangeMtuRsp_msg;
690
+ extern const pb_msgdesc_t sd_GattcEvtTimeout_msg;
691
+ extern const pb_msgdesc_t sd_GattcEvtWriteCmdTxComplete_msg;
692
+
693
+ /* Defines for backwards compatibility with code written before nanopb-0.4.0 */
694
+ #define sd_GattcPrimaryServicesDiscoverCmd_fields &sd_GattcPrimaryServicesDiscoverCmd_msg
695
+ #define sd_GattcRelationshipsDiscoverCmd_fields &sd_GattcRelationshipsDiscoverCmd_msg
696
+ #define sd_GattcCharacteristicsDiscoverCmd_fields &sd_GattcCharacteristicsDiscoverCmd_msg
697
+ #define sd_GattcDescriptorsDiscoverCmd_fields &sd_GattcDescriptorsDiscoverCmd_msg
698
+ #define sd_GattcAttrInfoDiscoverCmd_fields &sd_GattcAttrInfoDiscoverCmd_msg
699
+ #define sd_GattcCharValueByUuidReadCmd_fields &sd_GattcCharValueByUuidReadCmd_msg
700
+ #define sd_GattcReadCmd_fields &sd_GattcReadCmd_msg
701
+ #define sd_GattcCharValuesReadCmd_fields &sd_GattcCharValuesReadCmd_msg
702
+ #define sd_GattcWriteCmd_fields &sd_GattcWriteCmd_msg
703
+ #define sd_GattcHvConfirmCmd_fields &sd_GattcHvConfirmCmd_msg
704
+ #define sd_GattcExchangeMtuRequestCmd_fields &sd_GattcExchangeMtuRequestCmd_msg
705
+ #define sd_GattcPrimaryServicesDiscoverRsp_fields &sd_GattcPrimaryServicesDiscoverRsp_msg
706
+ #define sd_GattcRelationshipsDiscoverRsp_fields &sd_GattcRelationshipsDiscoverRsp_msg
707
+ #define sd_GattcCharacteristicsDiscoverRsp_fields &sd_GattcCharacteristicsDiscoverRsp_msg
708
+ #define sd_GattcDescriptorsDiscoverRsp_fields &sd_GattcDescriptorsDiscoverRsp_msg
709
+ #define sd_GattcAttrInfoDiscoverRsp_fields &sd_GattcAttrInfoDiscoverRsp_msg
710
+ #define sd_GattcCharValueByUuidReadRsp_fields &sd_GattcCharValueByUuidReadRsp_msg
711
+ #define sd_GattcReadRsp_fields &sd_GattcReadRsp_msg
712
+ #define sd_GattcCharValuesReadRsp_fields &sd_GattcCharValuesReadRsp_msg
713
+ #define sd_GattcWriteRsp_fields &sd_GattcWriteRsp_msg
714
+ #define sd_GattcHvConfirmRsp_fields &sd_GattcHvConfirmRsp_msg
715
+ #define sd_GattcExchangeMtuRequestRsp_fields &sd_GattcExchangeMtuRequestRsp_msg
716
+ #define sd_GattcEvtPrimSrvcDiscRsp_fields &sd_GattcEvtPrimSrvcDiscRsp_msg
717
+ #define sd_GattcEvtRelDiscRsp_fields &sd_GattcEvtRelDiscRsp_msg
718
+ #define sd_GattcEvtCharDiscRsp_fields &sd_GattcEvtCharDiscRsp_msg
719
+ #define sd_GattcEvtDescDiscRsp_fields &sd_GattcEvtDescDiscRsp_msg
720
+ #define sd_GattcEvtAttrInfoDiscRsp_fields &sd_GattcEvtAttrInfoDiscRsp_msg
721
+ #define sd_GattcEvtCharValByUuidReadRsp_fields &sd_GattcEvtCharValByUuidReadRsp_msg
722
+ #define sd_GattcEvtReadRsp_fields &sd_GattcEvtReadRsp_msg
723
+ #define sd_GattcEvtCharValsReadRsp_fields &sd_GattcEvtCharValsReadRsp_msg
724
+ #define sd_GattcEvtWriteRsp_fields &sd_GattcEvtWriteRsp_msg
725
+ #define sd_GattcEvtHvx_fields &sd_GattcEvtHvx_msg
726
+ #define sd_GattcEvtExchangeMtuRsp_fields &sd_GattcEvtExchangeMtuRsp_msg
727
+ #define sd_GattcEvtTimeout_fields &sd_GattcEvtTimeout_msg
728
+ #define sd_GattcEvtWriteCmdTxComplete_fields &sd_GattcEvtWriteCmdTxComplete_msg
729
+
730
+ /* Maximum encoded size of messages (where known) */
731
+ /* sd_GattcCharValuesReadCmd_size depends on runtime parameters */
732
+ /* sd_GattcEvtPrimSrvcDiscRsp_size depends on runtime parameters */
733
+ /* sd_GattcEvtRelDiscRsp_size depends on runtime parameters */
734
+ /* sd_GattcEvtCharDiscRsp_size depends on runtime parameters */
735
+ /* sd_GattcEvtDescDiscRsp_size depends on runtime parameters */
736
+ /* sd_GattcEvtAttrInfoDiscRsp_size depends on runtime parameters */
737
+ #define SD_SOFTDEVICE_GATTC_PB_H_MAX_SIZE sd_GattcWriteCmd_size
738
+ #define sd_GattcAttrInfoDiscoverCmd_size 14
739
+ #define sd_GattcAttrInfoDiscoverRsp_size 6
740
+ #define sd_GattcCharValueByUuidReadCmd_size 23
741
+ #define sd_GattcCharValueByUuidReadRsp_size 6
742
+ #define sd_GattcCharValuesReadRsp_size 6
743
+ #define sd_GattcCharacteristicsDiscoverCmd_size 14
744
+ #define sd_GattcCharacteristicsDiscoverRsp_size 6
745
+ #define sd_GattcDescriptorsDiscoverCmd_size 14
746
+ #define sd_GattcDescriptorsDiscoverRsp_size 6
747
+ #define sd_GattcEvtCharValByUuidReadRsp_size 531
748
+ #define sd_GattcEvtCharValsReadRsp_size 527
749
+ #define sd_GattcEvtExchangeMtuRsp_size 12
750
+ #define sd_GattcEvtHvx_size 533
751
+ #define sd_GattcEvtReadRsp_size 535
752
+ #define sd_GattcEvtTimeout_size 10
753
+ #define sd_GattcEvtWriteCmdTxComplete_size 11
754
+ #define sd_GattcEvtWriteRsp_size 537
755
+ #define sd_GattcExchangeMtuRequestCmd_size 8
756
+ #define sd_GattcExchangeMtuRequestRsp_size 6
757
+ #define sd_GattcHvConfirmCmd_size 8
758
+ #define sd_GattcHvConfirmRsp_size 6
759
+ #define sd_GattcPrimaryServicesDiscoverCmd_size 17
760
+ #define sd_GattcPrimaryServicesDiscoverRsp_size 6
761
+ #define sd_GattcReadCmd_size 12
762
+ #define sd_GattcReadRsp_size 6
763
+ #define sd_GattcRelationshipsDiscoverCmd_size 14
764
+ #define sd_GattcRelationshipsDiscoverRsp_size 6
765
+ #define sd_GattcWriteCmd_size 540
766
+ #define sd_GattcWriteRsp_size 6
767
+
768
+ #ifdef __cplusplus
769
+ } /* extern "C" */
770
+ #endif
771
+
772
+ #endif