@ovok/native 1.10.9 → 1.10.11

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 (654) hide show
  1. package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js +34 -1
  2. package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
  3. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-and-medical-variants.js +47 -0
  4. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-and-medical-variants.js.map +1 -0
  5. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-aoj-variants.js +137 -0
  6. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-aoj-variants.js.map +1 -0
  7. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js +15 -1
  8. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -1
  9. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js +119 -0
  10. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js.map +1 -0
  11. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-entries.js +3 -2
  12. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -1
  13. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-famidoc-variants.js +227 -0
  14. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-famidoc-variants.js.map +1 -0
  15. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-joytech-variants.js +95 -0
  16. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-joytech-variants.js.map +1 -0
  17. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-jumper-variants.js +149 -0
  18. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-jumper-variants.js.map +1 -0
  19. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-standard-variants.js +1007 -0
  20. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-standard-variants.js.map +1 -0
  21. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js +173 -0
  22. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js.map +1 -0
  23. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-variants.js +1093 -0
  24. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-variants.js.map +1 -0
  25. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-variants.js +320 -0
  26. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-variants.js.map +1 -0
  27. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-yonker-variants.js +113 -0
  28. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-yonker-variants.js.map +1 -0
  29. package/lib/commonjs/modules/bt-device/constants/supported-devices.js +58 -27
  30. package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
  31. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js +2 -1
  32. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  33. package/lib/commonjs/modules/bt-management/constants/and-medical-device-variants.js +39 -0
  34. package/lib/commonjs/modules/bt-management/constants/and-medical-device-variants.js.map +1 -0
  35. package/lib/commonjs/modules/bt-management/constants/aoj-device-variants.js +112 -0
  36. package/lib/commonjs/modules/bt-management/constants/aoj-device-variants.js.map +1 -0
  37. package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js +84 -0
  38. package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js.map +1 -0
  39. package/lib/commonjs/modules/bt-management/constants/cofoe-device-variants.js +101 -0
  40. package/lib/commonjs/modules/bt-management/constants/cofoe-device-variants.js.map +1 -0
  41. package/lib/commonjs/modules/bt-management/constants/device-variants.js +256 -0
  42. package/lib/commonjs/modules/bt-management/constants/device-variants.js.map +1 -0
  43. package/lib/commonjs/modules/bt-management/constants/famidoc-device-variants.js +190 -0
  44. package/lib/commonjs/modules/bt-management/constants/famidoc-device-variants.js.map +1 -0
  45. package/lib/commonjs/modules/bt-management/constants/integrated-devices-map.js +9 -1
  46. package/lib/commonjs/modules/bt-management/constants/integrated-devices-map.js.map +1 -1
  47. package/lib/commonjs/modules/bt-management/constants/joytech-device-variants.js +80 -0
  48. package/lib/commonjs/modules/bt-management/constants/joytech-device-variants.js.map +1 -0
  49. package/lib/commonjs/modules/bt-management/constants/jumper-device-variants.js +115 -0
  50. package/lib/commonjs/modules/bt-management/constants/jumper-device-variants.js.map +1 -0
  51. package/lib/commonjs/modules/bt-management/constants/standard-device-variants.js +807 -0
  52. package/lib/commonjs/modules/bt-management/constants/standard-device-variants.js.map +1 -0
  53. package/lib/commonjs/modules/bt-management/constants/taidoc-device-variants.js +144 -0
  54. package/lib/commonjs/modules/bt-management/constants/taidoc-device-variants.js.map +1 -0
  55. package/lib/commonjs/modules/bt-management/constants/transtek-device-variants.js +890 -0
  56. package/lib/commonjs/modules/bt-management/constants/transtek-device-variants.js.map +1 -0
  57. package/lib/commonjs/modules/bt-management/constants/yonker-device-variants.js +93 -0
  58. package/lib/commonjs/modules/bt-management/constants/yonker-device-variants.js.map +1 -0
  59. package/lib/commonjs/modules/bt-management/index.js +20 -0
  60. package/lib/commonjs/modules/bt-management/index.js.map +1 -1
  61. package/lib/commonjs/modules/bt-management/services/background-sync/background-service-uuids.js +33 -0
  62. package/lib/commonjs/modules/bt-management/services/background-sync/background-service-uuids.js.map +1 -1
  63. package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js +7 -1
  64. package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
  65. package/lib/commonjs/modules/bt-management/services/device-classes.js +44 -1
  66. package/lib/commonjs/modules/bt-management/services/device-classes.js.map +1 -1
  67. package/lib/commonjs/modules/bt-management/services/device-secrets.js +68 -0
  68. package/lib/commonjs/modules/bt-management/services/device-secrets.js.map +1 -0
  69. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.device.js +61 -0
  70. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.device.js.map +1 -0
  71. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.protocol.js +113 -0
  72. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.protocol.js.map +1 -0
  73. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js +77 -0
  74. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js.map +1 -0
  75. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-70b.device.js +41 -0
  76. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-70b.device.js.map +1 -0
  77. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.device.js +45 -0
  78. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.device.js.map +1 -0
  79. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js +140 -0
  80. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js.map +1 -0
  81. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js +138 -0
  82. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js.map +1 -0
  83. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +12 -7
  84. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
  85. package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js +27 -1
  86. package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
  87. package/lib/commonjs/modules/bt-management/services/devices/bt-data-processor.js +4 -4
  88. package/lib/commonjs/modules/bt-management/services/devices/bt-data-processor.js.map +1 -1
  89. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js +19 -3
  90. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  91. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js +86 -0
  92. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js.map +1 -0
  93. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js +155 -0
  94. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js.map +1 -0
  95. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js +33 -0
  96. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js.map +1 -0
  97. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.device.js +87 -0
  98. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.device.js.map +1 -0
  99. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.protocol.js +185 -0
  100. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.protocol.js.map +1 -0
  101. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.records.js +86 -0
  102. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.records.js.map +1 -0
  103. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +12 -4
  104. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  105. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.device.js +49 -0
  106. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.device.js.map +1 -0
  107. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.protocol.js +163 -0
  108. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.protocol.js.map +1 -0
  109. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js +95 -0
  110. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js.map +1 -0
  111. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.device.js +40 -0
  112. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.device.js.map +1 -0
  113. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.protocol.js +162 -0
  114. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.protocol.js.map +1 -0
  115. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.sequencer.js +63 -0
  116. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.sequencer.js.map +1 -0
  117. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.device.js +56 -0
  118. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.device.js.map +1 -0
  119. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.protocol.js +67 -0
  120. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.protocol.js.map +1 -0
  121. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.sequencer.js +60 -0
  122. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.sequencer.js.map +1 -0
  123. package/lib/commonjs/modules/bt-management/services/devices/live-oximeter.sequencer.js +89 -0
  124. package/lib/commonjs/modules/bt-management/services/devices/live-oximeter.sequencer.js.map +1 -0
  125. package/lib/commonjs/modules/bt-management/services/devices/polling-command-sequencer.js +22 -8
  126. package/lib/commonjs/modules/bt-management/services/devices/polling-command-sequencer.js.map +1 -1
  127. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +13 -2
  128. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
  129. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +153 -0
  130. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -0
  131. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.device.js +50 -0
  132. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.device.js.map +1 -0
  133. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.protocol.js +127 -0
  134. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.protocol.js.map +1 -0
  135. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.records.js +181 -0
  136. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.records.js.map +1 -0
  137. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.sequencer.js +139 -0
  138. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.sequencer.js.map +1 -0
  139. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.device.js +71 -0
  140. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.device.js.map +1 -0
  141. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.protocol.js +112 -0
  142. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.protocol.js.map +1 -0
  143. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.records.js +132 -0
  144. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.records.js.map +1 -0
  145. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.sequencer.js +145 -0
  146. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.sequencer.js.map +1 -0
  147. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.session.js +91 -0
  148. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.session.js.map +1 -0
  149. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.device.js +90 -0
  150. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.device.js.map +1 -0
  151. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.protocol.js +202 -0
  152. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.protocol.js.map +1 -0
  153. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.sequencer.js +137 -0
  154. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.sequencer.js.map +1 -0
  155. package/lib/commonjs/modules/bt-management/types/integrated-devices.js +33 -0
  156. package/lib/commonjs/modules/bt-management/types/integrated-devices.js.map +1 -1
  157. package/lib/commonjs/modules/bt-management/utils/device-title.js +5 -1
  158. package/lib/commonjs/modules/bt-management/utils/device-title.js.map +1 -1
  159. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js +34 -1
  160. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
  161. package/lib/module/modules/bt-device/constants/supported-device-catalog-and-medical-variants.js +45 -0
  162. package/lib/module/modules/bt-device/constants/supported-device-catalog-and-medical-variants.js.map +1 -0
  163. package/lib/module/modules/bt-device/constants/supported-device-catalog-aoj-variants.js +135 -0
  164. package/lib/module/modules/bt-device/constants/supported-device-catalog-aoj-variants.js.map +1 -0
  165. package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js +15 -1
  166. package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -1
  167. package/lib/module/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js +117 -0
  168. package/lib/module/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js.map +1 -0
  169. package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js +3 -2
  170. package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -1
  171. package/lib/module/modules/bt-device/constants/supported-device-catalog-famidoc-variants.js +225 -0
  172. package/lib/module/modules/bt-device/constants/supported-device-catalog-famidoc-variants.js.map +1 -0
  173. package/lib/module/modules/bt-device/constants/supported-device-catalog-joytech-variants.js +93 -0
  174. package/lib/module/modules/bt-device/constants/supported-device-catalog-joytech-variants.js.map +1 -0
  175. package/lib/module/modules/bt-device/constants/supported-device-catalog-jumper-variants.js +147 -0
  176. package/lib/module/modules/bt-device/constants/supported-device-catalog-jumper-variants.js.map +1 -0
  177. package/lib/module/modules/bt-device/constants/supported-device-catalog-standard-variants.js +1005 -0
  178. package/lib/module/modules/bt-device/constants/supported-device-catalog-standard-variants.js.map +1 -0
  179. package/lib/module/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js +171 -0
  180. package/lib/module/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js.map +1 -0
  181. package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-variants.js +1091 -0
  182. package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-variants.js.map +1 -0
  183. package/lib/module/modules/bt-device/constants/supported-device-catalog-variants.js +317 -0
  184. package/lib/module/modules/bt-device/constants/supported-device-catalog-variants.js.map +1 -0
  185. package/lib/module/modules/bt-device/constants/supported-device-catalog-yonker-variants.js +111 -0
  186. package/lib/module/modules/bt-device/constants/supported-device-catalog-yonker-variants.js.map +1 -0
  187. package/lib/module/modules/bt-device/constants/supported-devices.js +59 -28
  188. package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
  189. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js +2 -1
  190. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  191. package/lib/module/modules/bt-management/constants/and-medical-device-variants.js +37 -0
  192. package/lib/module/modules/bt-management/constants/and-medical-device-variants.js.map +1 -0
  193. package/lib/module/modules/bt-management/constants/aoj-device-variants.js +110 -0
  194. package/lib/module/modules/bt-management/constants/aoj-device-variants.js.map +1 -0
  195. package/lib/module/modules/bt-management/constants/built-in-measurement-types.js +82 -0
  196. package/lib/module/modules/bt-management/constants/built-in-measurement-types.js.map +1 -0
  197. package/lib/module/modules/bt-management/constants/cofoe-device-variants.js +99 -0
  198. package/lib/module/modules/bt-management/constants/cofoe-device-variants.js.map +1 -0
  199. package/lib/module/modules/bt-management/constants/device-variants.js +253 -0
  200. package/lib/module/modules/bt-management/constants/device-variants.js.map +1 -0
  201. package/lib/module/modules/bt-management/constants/famidoc-device-variants.js +188 -0
  202. package/lib/module/modules/bt-management/constants/famidoc-device-variants.js.map +1 -0
  203. package/lib/module/modules/bt-management/constants/integrated-devices-map.js +9 -1
  204. package/lib/module/modules/bt-management/constants/integrated-devices-map.js.map +1 -1
  205. package/lib/module/modules/bt-management/constants/joytech-device-variants.js +78 -0
  206. package/lib/module/modules/bt-management/constants/joytech-device-variants.js.map +1 -0
  207. package/lib/module/modules/bt-management/constants/jumper-device-variants.js +113 -0
  208. package/lib/module/modules/bt-management/constants/jumper-device-variants.js.map +1 -0
  209. package/lib/module/modules/bt-management/constants/standard-device-variants.js +804 -0
  210. package/lib/module/modules/bt-management/constants/standard-device-variants.js.map +1 -0
  211. package/lib/module/modules/bt-management/constants/taidoc-device-variants.js +142 -0
  212. package/lib/module/modules/bt-management/constants/taidoc-device-variants.js.map +1 -0
  213. package/lib/module/modules/bt-management/constants/transtek-device-variants.js +888 -0
  214. package/lib/module/modules/bt-management/constants/transtek-device-variants.js.map +1 -0
  215. package/lib/module/modules/bt-management/constants/yonker-device-variants.js +91 -0
  216. package/lib/module/modules/bt-management/constants/yonker-device-variants.js.map +1 -0
  217. package/lib/module/modules/bt-management/index.js +2 -0
  218. package/lib/module/modules/bt-management/index.js.map +1 -1
  219. package/lib/module/modules/bt-management/services/background-sync/background-service-uuids.js +33 -0
  220. package/lib/module/modules/bt-management/services/background-sync/background-service-uuids.js.map +1 -1
  221. package/lib/module/modules/bt-management/services/custom/define-custom-device.js +7 -1
  222. package/lib/module/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
  223. package/lib/module/modules/bt-management/services/device-classes.js +44 -1
  224. package/lib/module/modules/bt-management/services/device-classes.js.map +1 -1
  225. package/lib/module/modules/bt-management/services/device-secrets.js +59 -0
  226. package/lib/module/modules/bt-management/services/device-secrets.js.map +1 -0
  227. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.device.js +57 -0
  228. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.device.js.map +1 -0
  229. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.protocol.js +106 -0
  230. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.protocol.js.map +1 -0
  231. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js +74 -0
  232. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js.map +1 -0
  233. package/lib/module/modules/bt-management/services/devices/aoj/aoj-70b.device.js +37 -0
  234. package/lib/module/modules/bt-management/services/devices/aoj/aoj-70b.device.js.map +1 -0
  235. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.device.js +41 -0
  236. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.device.js.map +1 -0
  237. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js +123 -0
  238. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js.map +1 -0
  239. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js +134 -0
  240. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js.map +1 -0
  241. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +12 -7
  242. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
  243. package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js +27 -1
  244. package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
  245. package/lib/module/modules/bt-management/services/devices/bt-data-processor.js +4 -4
  246. package/lib/module/modules/bt-management/services/devices/bt-data-processor.js.map +1 -1
  247. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js +19 -3
  248. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  249. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js +82 -0
  250. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js.map +1 -0
  251. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js +148 -0
  252. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js.map +1 -0
  253. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js +30 -0
  254. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js.map +1 -0
  255. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.device.js +83 -0
  256. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.device.js.map +1 -0
  257. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.protocol.js +173 -0
  258. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.protocol.js.map +1 -0
  259. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.records.js +78 -0
  260. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.records.js.map +1 -0
  261. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +12 -4
  262. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  263. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.device.js +45 -0
  264. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.device.js.map +1 -0
  265. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.protocol.js +149 -0
  266. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.protocol.js.map +1 -0
  267. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js +91 -0
  268. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js.map +1 -0
  269. package/lib/module/modules/bt-management/services/devices/joytech/joytech.device.js +36 -0
  270. package/lib/module/modules/bt-management/services/devices/joytech/joytech.device.js.map +1 -0
  271. package/lib/module/modules/bt-management/services/devices/joytech/joytech.protocol.js +150 -0
  272. package/lib/module/modules/bt-management/services/devices/joytech/joytech.protocol.js.map +1 -0
  273. package/lib/module/modules/bt-management/services/devices/joytech/joytech.sequencer.js +60 -0
  274. package/lib/module/modules/bt-management/services/devices/joytech/joytech.sequencer.js.map +1 -0
  275. package/lib/module/modules/bt-management/services/devices/jumper/jumper.device.js +52 -0
  276. package/lib/module/modules/bt-management/services/devices/jumper/jumper.device.js.map +1 -0
  277. package/lib/module/modules/bt-management/services/devices/jumper/jumper.protocol.js +62 -0
  278. package/lib/module/modules/bt-management/services/devices/jumper/jumper.protocol.js.map +1 -0
  279. package/lib/module/modules/bt-management/services/devices/jumper/jumper.sequencer.js +57 -0
  280. package/lib/module/modules/bt-management/services/devices/jumper/jumper.sequencer.js.map +1 -0
  281. package/lib/module/modules/bt-management/services/devices/live-oximeter.sequencer.js +83 -0
  282. package/lib/module/modules/bt-management/services/devices/live-oximeter.sequencer.js.map +1 -0
  283. package/lib/module/modules/bt-management/services/devices/polling-command-sequencer.js +22 -8
  284. package/lib/module/modules/bt-management/services/devices/polling-command-sequencer.js.map +1 -1
  285. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +6 -2
  286. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
  287. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +149 -0
  288. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -0
  289. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.device.js +46 -0
  290. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.device.js.map +1 -0
  291. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.protocol.js +114 -0
  292. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.protocol.js.map +1 -0
  293. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.records.js +168 -0
  294. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.records.js.map +1 -0
  295. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.sequencer.js +136 -0
  296. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.sequencer.js.map +1 -0
  297. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.device.js +67 -0
  298. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.device.js.map +1 -0
  299. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.protocol.js +94 -0
  300. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.protocol.js.map +1 -0
  301. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.records.js +125 -0
  302. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.records.js.map +1 -0
  303. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.sequencer.js +142 -0
  304. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.sequencer.js.map +1 -0
  305. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.session.js +85 -0
  306. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.session.js.map +1 -0
  307. package/lib/module/modules/bt-management/services/devices/yonker/yonker.device.js +86 -0
  308. package/lib/module/modules/bt-management/services/devices/yonker/yonker.device.js.map +1 -0
  309. package/lib/module/modules/bt-management/services/devices/yonker/yonker.protocol.js +186 -0
  310. package/lib/module/modules/bt-management/services/devices/yonker/yonker.protocol.js.map +1 -0
  311. package/lib/module/modules/bt-management/services/devices/yonker/yonker.sequencer.js +133 -0
  312. package/lib/module/modules/bt-management/services/devices/yonker/yonker.sequencer.js.map +1 -0
  313. package/lib/module/modules/bt-management/types/custom-device-definition.js +2 -0
  314. package/lib/module/modules/bt-management/types/custom-device-definition.js.map +1 -1
  315. package/lib/module/modules/bt-management/types/device-measurement-map.js.map +1 -1
  316. package/lib/module/modules/bt-management/types/integrated-devices.js +33 -0
  317. package/lib/module/modules/bt-management/types/integrated-devices.js.map +1 -1
  318. package/lib/module/modules/bt-management/utils/device-title.js +5 -1
  319. package/lib/module/modules/bt-management/utils/device-title.js.map +1 -1
  320. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  321. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.d.ts +5 -0
  322. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.d.ts.map +1 -0
  323. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-aoj-variants.d.ts +5 -0
  324. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-aoj-variants.d.ts.map +1 -0
  325. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +15 -1
  326. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -1
  327. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts +5 -0
  328. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts.map +1 -0
  329. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -1
  330. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-famidoc-variants.d.ts +5 -0
  331. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-famidoc-variants.d.ts.map +1 -0
  332. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-joytech-variants.d.ts +5 -0
  333. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-joytech-variants.d.ts.map +1 -0
  334. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-jumper-variants.d.ts +5 -0
  335. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-jumper-variants.d.ts.map +1 -0
  336. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-standard-variants.d.ts +9 -0
  337. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-standard-variants.d.ts.map +1 -0
  338. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts +5 -0
  339. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts.map +1 -0
  340. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-variants.d.ts +5 -0
  341. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-variants.d.ts.map +1 -0
  342. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-variants.d.ts +15 -0
  343. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-variants.d.ts.map +1 -0
  344. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts +5 -0
  345. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts.map +1 -0
  346. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts +8 -0
  347. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  348. package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  349. package/lib/typescript/commonjs/src/modules/bt-management/constants/and-medical-device-variants.d.ts +5 -0
  350. package/lib/typescript/commonjs/src/modules/bt-management/constants/and-medical-device-variants.d.ts.map +1 -0
  351. package/lib/typescript/commonjs/src/modules/bt-management/constants/aoj-device-variants.d.ts +5 -0
  352. package/lib/typescript/commonjs/src/modules/bt-management/constants/aoj-device-variants.d.ts.map +1 -0
  353. package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts +9 -0
  354. package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -0
  355. package/lib/typescript/commonjs/src/modules/bt-management/constants/cofoe-device-variants.d.ts +5 -0
  356. package/lib/typescript/commonjs/src/modules/bt-management/constants/cofoe-device-variants.d.ts.map +1 -0
  357. package/lib/typescript/commonjs/src/modules/bt-management/constants/device-variants.d.ts +23 -0
  358. package/lib/typescript/commonjs/src/modules/bt-management/constants/device-variants.d.ts.map +1 -0
  359. package/lib/typescript/commonjs/src/modules/bt-management/constants/famidoc-device-variants.d.ts +5 -0
  360. package/lib/typescript/commonjs/src/modules/bt-management/constants/famidoc-device-variants.d.ts.map +1 -0
  361. package/lib/typescript/commonjs/src/modules/bt-management/constants/integrated-devices-map.d.ts.map +1 -1
  362. package/lib/typescript/commonjs/src/modules/bt-management/constants/joytech-device-variants.d.ts +5 -0
  363. package/lib/typescript/commonjs/src/modules/bt-management/constants/joytech-device-variants.d.ts.map +1 -0
  364. package/lib/typescript/commonjs/src/modules/bt-management/constants/jumper-device-variants.d.ts +5 -0
  365. package/lib/typescript/commonjs/src/modules/bt-management/constants/jumper-device-variants.d.ts.map +1 -0
  366. package/lib/typescript/commonjs/src/modules/bt-management/constants/standard-device-variants.d.ts +10 -0
  367. package/lib/typescript/commonjs/src/modules/bt-management/constants/standard-device-variants.d.ts.map +1 -0
  368. package/lib/typescript/commonjs/src/modules/bt-management/constants/taidoc-device-variants.d.ts +5 -0
  369. package/lib/typescript/commonjs/src/modules/bt-management/constants/taidoc-device-variants.d.ts.map +1 -0
  370. package/lib/typescript/commonjs/src/modules/bt-management/constants/transtek-device-variants.d.ts +10 -0
  371. package/lib/typescript/commonjs/src/modules/bt-management/constants/transtek-device-variants.d.ts.map +1 -0
  372. package/lib/typescript/commonjs/src/modules/bt-management/constants/yonker-device-variants.d.ts +5 -0
  373. package/lib/typescript/commonjs/src/modules/bt-management/constants/yonker-device-variants.d.ts.map +1 -0
  374. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts +3 -0
  375. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
  376. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts.map +1 -1
  377. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
  378. package/lib/typescript/commonjs/src/modules/bt-management/services/device-classes.d.ts +43 -0
  379. package/lib/typescript/commonjs/src/modules/bt-management/services/device-classes.d.ts.map +1 -1
  380. package/lib/typescript/commonjs/src/modules/bt-management/services/device-secrets.d.ts +22 -0
  381. package/lib/typescript/commonjs/src/modules/bt-management/services/device-secrets.d.ts.map +1 -0
  382. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts +18 -0
  383. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts.map +1 -0
  384. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts +30 -0
  385. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts.map +1 -0
  386. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.sequencer.d.ts +26 -0
  387. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.sequencer.d.ts.map +1 -0
  388. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-70b.device.d.ts +17 -0
  389. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-70b.device.d.ts.map +1 -0
  390. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.device.d.ts +16 -0
  391. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.device.d.ts.map +1 -0
  392. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.protocol.d.ts +54 -0
  393. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.protocol.d.ts.map +1 -0
  394. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.d.ts +36 -0
  395. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.d.ts.map +1 -0
  396. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +1 -1
  397. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -1
  398. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-connection-handler.d.ts +3 -0
  399. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-connection-handler.d.ts.map +1 -1
  400. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts +1 -1
  401. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
  402. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts +4 -1
  403. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  404. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.d.ts +32 -0
  405. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.d.ts.map +1 -0
  406. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.d.ts +46 -0
  407. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.d.ts.map +1 -0
  408. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.d.ts +15 -0
  409. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.d.ts.map +1 -0
  410. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts +18 -0
  411. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts.map +1 -0
  412. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts +75 -0
  413. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts.map +1 -0
  414. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.records.d.ts +22 -0
  415. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.records.d.ts.map +1 -0
  416. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts +3 -2
  417. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  418. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.device.d.ts +16 -0
  419. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.device.d.ts.map +1 -0
  420. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.protocol.d.ts +56 -0
  421. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.protocol.d.ts.map +1 -0
  422. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.sequencer.d.ts +34 -0
  423. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.sequencer.d.ts.map +1 -0
  424. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.device.d.ts +16 -0
  425. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.device.d.ts.map +1 -0
  426. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.protocol.d.ts +43 -0
  427. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.protocol.d.ts.map +1 -0
  428. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.sequencer.d.ts +23 -0
  429. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.sequencer.d.ts.map +1 -0
  430. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts +18 -0
  431. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts.map +1 -0
  432. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.protocol.d.ts +32 -0
  433. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.protocol.d.ts.map +1 -0
  434. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.sequencer.d.ts +22 -0
  435. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.sequencer.d.ts.map +1 -0
  436. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/live-oximeter.sequencer.d.ts +37 -0
  437. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/live-oximeter.sequencer.d.ts.map +1 -0
  438. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/polling-command-sequencer.d.ts +4 -2
  439. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/polling-command-sequencer.d.ts.map +1 -1
  440. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.d.ts +2 -1
  441. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.d.ts.map +1 -1
  442. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.d.ts +7 -0
  443. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.d.ts.map +1 -0
  444. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts +16 -0
  445. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts.map +1 -0
  446. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts +50 -0
  447. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts.map +1 -0
  448. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.records.d.ts +40 -0
  449. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.records.d.ts.map +1 -0
  450. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.sequencer.d.ts +38 -0
  451. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.sequencer.d.ts.map +1 -0
  452. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.device.d.ts +21 -0
  453. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.device.d.ts.map +1 -0
  454. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.protocol.d.ts +51 -0
  455. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.protocol.d.ts.map +1 -0
  456. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.records.d.ts +33 -0
  457. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.records.d.ts.map +1 -0
  458. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.sequencer.d.ts +49 -0
  459. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.sequencer.d.ts.map +1 -0
  460. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.session.d.ts +39 -0
  461. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.session.d.ts.map +1 -0
  462. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts +21 -0
  463. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts.map +1 -0
  464. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts +62 -0
  465. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts.map +1 -0
  466. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.sequencer.d.ts +46 -0
  467. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.sequencer.d.ts.map +1 -0
  468. package/lib/typescript/commonjs/src/modules/bt-management/types/command-sequencer.d.ts +4 -2
  469. package/lib/typescript/commonjs/src/modules/bt-management/types/command-sequencer.d.ts.map +1 -1
  470. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts +2 -1
  471. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  472. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-service-spec.d.ts +6 -0
  473. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-service-spec.d.ts.map +1 -1
  474. package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts +6 -0
  475. package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts.map +1 -1
  476. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +33 -0
  477. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  478. package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts +34 -1
  479. package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
  480. package/lib/typescript/commonjs/src/modules/bt-management/types/service.type.d.ts +6 -0
  481. package/lib/typescript/commonjs/src/modules/bt-management/types/service.type.d.ts.map +1 -1
  482. package/lib/typescript/commonjs/src/modules/bt-management/types/write-characteristic.d.ts +2 -0
  483. package/lib/typescript/commonjs/src/modules/bt-management/types/write-characteristic.d.ts.map +1 -1
  484. package/lib/typescript/commonjs/src/modules/bt-management/utils/device-title.d.ts +2 -1
  485. package/lib/typescript/commonjs/src/modules/bt-management/utils/device-title.d.ts.map +1 -1
  486. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts +2 -2
  487. package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  488. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.d.ts +5 -0
  489. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.d.ts.map +1 -0
  490. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-aoj-variants.d.ts +5 -0
  491. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-aoj-variants.d.ts.map +1 -0
  492. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +15 -1
  493. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -1
  494. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts +5 -0
  495. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts.map +1 -0
  496. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -1
  497. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-famidoc-variants.d.ts +5 -0
  498. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-famidoc-variants.d.ts.map +1 -0
  499. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-joytech-variants.d.ts +5 -0
  500. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-joytech-variants.d.ts.map +1 -0
  501. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-jumper-variants.d.ts +5 -0
  502. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-jumper-variants.d.ts.map +1 -0
  503. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-standard-variants.d.ts +9 -0
  504. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-standard-variants.d.ts.map +1 -0
  505. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts +5 -0
  506. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts.map +1 -0
  507. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-variants.d.ts +5 -0
  508. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-variants.d.ts.map +1 -0
  509. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-variants.d.ts +15 -0
  510. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-variants.d.ts.map +1 -0
  511. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts +5 -0
  512. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts.map +1 -0
  513. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts +8 -0
  514. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  515. package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  516. package/lib/typescript/module/src/modules/bt-management/constants/and-medical-device-variants.d.ts +5 -0
  517. package/lib/typescript/module/src/modules/bt-management/constants/and-medical-device-variants.d.ts.map +1 -0
  518. package/lib/typescript/module/src/modules/bt-management/constants/aoj-device-variants.d.ts +5 -0
  519. package/lib/typescript/module/src/modules/bt-management/constants/aoj-device-variants.d.ts.map +1 -0
  520. package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts +9 -0
  521. package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -0
  522. package/lib/typescript/module/src/modules/bt-management/constants/cofoe-device-variants.d.ts +5 -0
  523. package/lib/typescript/module/src/modules/bt-management/constants/cofoe-device-variants.d.ts.map +1 -0
  524. package/lib/typescript/module/src/modules/bt-management/constants/device-variants.d.ts +23 -0
  525. package/lib/typescript/module/src/modules/bt-management/constants/device-variants.d.ts.map +1 -0
  526. package/lib/typescript/module/src/modules/bt-management/constants/famidoc-device-variants.d.ts +5 -0
  527. package/lib/typescript/module/src/modules/bt-management/constants/famidoc-device-variants.d.ts.map +1 -0
  528. package/lib/typescript/module/src/modules/bt-management/constants/integrated-devices-map.d.ts.map +1 -1
  529. package/lib/typescript/module/src/modules/bt-management/constants/joytech-device-variants.d.ts +5 -0
  530. package/lib/typescript/module/src/modules/bt-management/constants/joytech-device-variants.d.ts.map +1 -0
  531. package/lib/typescript/module/src/modules/bt-management/constants/jumper-device-variants.d.ts +5 -0
  532. package/lib/typescript/module/src/modules/bt-management/constants/jumper-device-variants.d.ts.map +1 -0
  533. package/lib/typescript/module/src/modules/bt-management/constants/standard-device-variants.d.ts +10 -0
  534. package/lib/typescript/module/src/modules/bt-management/constants/standard-device-variants.d.ts.map +1 -0
  535. package/lib/typescript/module/src/modules/bt-management/constants/taidoc-device-variants.d.ts +5 -0
  536. package/lib/typescript/module/src/modules/bt-management/constants/taidoc-device-variants.d.ts.map +1 -0
  537. package/lib/typescript/module/src/modules/bt-management/constants/transtek-device-variants.d.ts +10 -0
  538. package/lib/typescript/module/src/modules/bt-management/constants/transtek-device-variants.d.ts.map +1 -0
  539. package/lib/typescript/module/src/modules/bt-management/constants/yonker-device-variants.d.ts +5 -0
  540. package/lib/typescript/module/src/modules/bt-management/constants/yonker-device-variants.d.ts.map +1 -0
  541. package/lib/typescript/module/src/modules/bt-management/index.d.ts +3 -0
  542. package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
  543. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts.map +1 -1
  544. package/lib/typescript/module/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
  545. package/lib/typescript/module/src/modules/bt-management/services/device-classes.d.ts +43 -0
  546. package/lib/typescript/module/src/modules/bt-management/services/device-classes.d.ts.map +1 -1
  547. package/lib/typescript/module/src/modules/bt-management/services/device-secrets.d.ts +22 -0
  548. package/lib/typescript/module/src/modules/bt-management/services/device-secrets.d.ts.map +1 -0
  549. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts +18 -0
  550. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts.map +1 -0
  551. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts +30 -0
  552. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts.map +1 -0
  553. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.sequencer.d.ts +26 -0
  554. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.sequencer.d.ts.map +1 -0
  555. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-70b.device.d.ts +17 -0
  556. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-70b.device.d.ts.map +1 -0
  557. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.device.d.ts +16 -0
  558. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.device.d.ts.map +1 -0
  559. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.protocol.d.ts +54 -0
  560. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.protocol.d.ts.map +1 -0
  561. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.d.ts +36 -0
  562. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.d.ts.map +1 -0
  563. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +1 -1
  564. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -1
  565. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-connection-handler.d.ts +3 -0
  566. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-connection-handler.d.ts.map +1 -1
  567. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts +1 -1
  568. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
  569. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts +4 -1
  570. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  571. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.d.ts +32 -0
  572. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.d.ts.map +1 -0
  573. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.d.ts +46 -0
  574. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.d.ts.map +1 -0
  575. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.d.ts +15 -0
  576. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.d.ts.map +1 -0
  577. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts +18 -0
  578. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts.map +1 -0
  579. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts +75 -0
  580. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts.map +1 -0
  581. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.records.d.ts +22 -0
  582. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.records.d.ts.map +1 -0
  583. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts +3 -2
  584. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  585. package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.device.d.ts +16 -0
  586. package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.device.d.ts.map +1 -0
  587. package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.protocol.d.ts +56 -0
  588. package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.protocol.d.ts.map +1 -0
  589. package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.sequencer.d.ts +34 -0
  590. package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.sequencer.d.ts.map +1 -0
  591. package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.device.d.ts +16 -0
  592. package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.device.d.ts.map +1 -0
  593. package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.protocol.d.ts +43 -0
  594. package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.protocol.d.ts.map +1 -0
  595. package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.sequencer.d.ts +23 -0
  596. package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.sequencer.d.ts.map +1 -0
  597. package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts +18 -0
  598. package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts.map +1 -0
  599. package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.protocol.d.ts +32 -0
  600. package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.protocol.d.ts.map +1 -0
  601. package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.sequencer.d.ts +22 -0
  602. package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.sequencer.d.ts.map +1 -0
  603. package/lib/typescript/module/src/modules/bt-management/services/devices/live-oximeter.sequencer.d.ts +37 -0
  604. package/lib/typescript/module/src/modules/bt-management/services/devices/live-oximeter.sequencer.d.ts.map +1 -0
  605. package/lib/typescript/module/src/modules/bt-management/services/devices/polling-command-sequencer.d.ts +4 -2
  606. package/lib/typescript/module/src/modules/bt-management/services/devices/polling-command-sequencer.d.ts.map +1 -1
  607. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.d.ts +2 -1
  608. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.d.ts.map +1 -1
  609. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.d.ts +7 -0
  610. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.d.ts.map +1 -0
  611. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts +16 -0
  612. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts.map +1 -0
  613. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts +50 -0
  614. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts.map +1 -0
  615. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.records.d.ts +40 -0
  616. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.records.d.ts.map +1 -0
  617. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.sequencer.d.ts +38 -0
  618. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.sequencer.d.ts.map +1 -0
  619. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.device.d.ts +21 -0
  620. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.device.d.ts.map +1 -0
  621. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.protocol.d.ts +51 -0
  622. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.protocol.d.ts.map +1 -0
  623. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.records.d.ts +33 -0
  624. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.records.d.ts.map +1 -0
  625. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.sequencer.d.ts +49 -0
  626. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.sequencer.d.ts.map +1 -0
  627. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.session.d.ts +39 -0
  628. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.session.d.ts.map +1 -0
  629. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts +21 -0
  630. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts.map +1 -0
  631. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts +62 -0
  632. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts.map +1 -0
  633. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.sequencer.d.ts +46 -0
  634. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.sequencer.d.ts.map +1 -0
  635. package/lib/typescript/module/src/modules/bt-management/types/command-sequencer.d.ts +4 -2
  636. package/lib/typescript/module/src/modules/bt-management/types/command-sequencer.d.ts.map +1 -1
  637. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts +2 -1
  638. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  639. package/lib/typescript/module/src/modules/bt-management/types/custom-service-spec.d.ts +6 -0
  640. package/lib/typescript/module/src/modules/bt-management/types/custom-service-spec.d.ts.map +1 -1
  641. package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts +6 -0
  642. package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts.map +1 -1
  643. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +33 -0
  644. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  645. package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts +34 -1
  646. package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
  647. package/lib/typescript/module/src/modules/bt-management/types/service.type.d.ts +6 -0
  648. package/lib/typescript/module/src/modules/bt-management/types/service.type.d.ts.map +1 -1
  649. package/lib/typescript/module/src/modules/bt-management/types/write-characteristic.d.ts +2 -0
  650. package/lib/typescript/module/src/modules/bt-management/types/write-characteristic.d.ts.map +1 -1
  651. package/lib/typescript/module/src/modules/bt-management/utils/device-title.d.ts +2 -1
  652. package/lib/typescript/module/src/modules/bt-management/utils/device-title.d.ts.map +1 -1
  653. package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts +2 -2
  654. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_caseType","require","_deviceSecrets","_transtekCommandProtocol","_transtekCommandRecords","_transtekCommandSession","TranstekCommandSequencer","a3","pairing","receiving","ended","recorded","constructor","params","serviceUuid","SERVICES","kind","a2","onServicesDiscovered","serviceUuids","undefined","includes","initialCommands","isNormalDisconnect","commandTimeoutMs","pendingRandom","SECRET_WAIT_MS","END_AFTER_MS","onCommandTimeout","random","commands","verify","command","endSessionCommand","commandProgress","frame","opcode","ANSWER","peekDeviceSecret","secretKey","nextCommand","characteristicUuid","toLowerCase","TRANSTEK_CHARACTERISTICS","answer","record","password","saveDeviceSecret","String","readPassword","then","stored","onError","Error","accountIdCommand","USER","readRandom","userCount","bindUser","userInfo","scaleProfileCommand","heightInCentimetres","endCommand","retried","Number","isFinite","verificationCommand","stepsAfterVerification","now","stepsToBindUser","steps","map","step","endsSession","delayMs","reading","decodeTranstekRecord","shiftUser","onResult","caseType","CaseType","RESULT","Date","delayBeforeWriteMs","exports"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/transtek/transtek-command.sequencer.ts"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAGA,IAAAC,cAAA,GAAAD,OAAA;AAEA,IAAAE,wBAAA,GAAAF,OAAA;AAWA,IAAAG,uBAAA,GAAAH,OAAA;AACA,IAAAI,uBAAA,GAAAJ,OAAA;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMK,wBAAwB,CAA6B;EAEjDC,EAAE,GAAG,KAAK;EACVC,OAAO,GAAG,KAAK;EACfC,SAAS,GAAG,KAAK;EACjBC,KAAK,GAAG,KAAK;EACbC,QAAQ,GAAG,KAAK;EAGjBC,WAAWA,CAAkBC,MAA+B,EAAE;IAAA,KAAjCA,MAA+B,GAA/BA,MAA+B;IACjE,IAAI,CAACC,WAAW,GAAGC,gCAAQ,CAACF,MAAM,CAACG,IAAI,CAAC,CAACC,EAAE;EAC7C;EAEOC,oBAAoB,GAAIC,YAA+B,IAAW;IACvE,MAAMZ,EAAE,GAAGQ,gCAAQ,CAAC,IAAI,CAACF,MAAM,CAACG,IAAI,CAAC,CAACT,EAAE;IAExC,IAAI,CAACA,EAAE,GAAGA,EAAE,KAAKa,SAAS,IAAID,YAAY,CAACE,QAAQ,CAACd,EAAE,CAAC;IACvD,IAAI,CAACO,WAAW,GAAG,IAAI,CAACP,EAAE,IAAIA,EAAE,GAAGA,EAAE,GAAGQ,gCAAQ,CAAC,IAAI,CAACF,MAAM,CAACG,IAAI,CAAC,CAACC,EAAE;EACvE,CAAC;EAEMK,eAAe,GAAGA,CAAA,KAAgC,EAAE;;EAE3D;EACOC,kBAAkB,GA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AO,IAAI,CAACzC,OAAO,CAACwC,IAAI,CAACrC,KAAK,EAAEqC,IAAI,CAACE,OAAO,CAAC;EAC/C,CAAC,CAAC;EAEI7B,MAAM,GAAGA,CAACV,KAAwB,EAAEM,kBAA2B,KAAW;IAChF,MAAMkC,OAAO,GAAG,IAAAC,4CAAoB,EAClCzC,KAAK,EACLM,kBAAkB,EAClB,IAAI,CAAC5B,MAAM,CAACgE,SAAS,KAAK,KAC5B,CAAC;IAED,IAAI,CAACF,OAAO,EAAE;MACZ;IACF;IAEA,IAAI,CAAChE,QAAQ,GAAG,IAAI;IACpB,IAAI,CAACE,MAAM,CAACiE,QAAQ,CAAC;MAAEC,QAAQ,EAAEC,kBAAQ,CAACC,MAAM;MAAE,GAAGN;IAAQ,CAAC,CAAC;EACjE,CAAC;EAEOP,GAAG,GAAGA,CAAA,KAAY,IAAI,CAACvD,MAAM,CAACuD,GAAG,GAAG,CAAC,IAAI,IAAIc,IAAI,CAAC,CAAC;EAEnDpB,UAAU,GAAGA,CAAA,KAAqB;IACxC,IAAI,CAACpD,KAAK,GAAG,IAAI;IAEjB,OAAO,IAAI,CAACsB,OAAO,CAAC,IAAAC,0CAAiB,EAAC,CAAC,CAAC;EAC1C,CAAC;EAEOD,OAAO,GAAGA,CAACG,KAAe,EAAEgD,kBAA2B,MAAqB;IAClFrE,WAAW,EAAE,IAAI,CAACA,WAAW;IAC7B2B,kBAAkB,EAAEE,iDAAwB,CAACX,OAAO;IACpDG,KAAK;IACL,IAAIgD,kBAAkB,GAAG;MAAEA;IAAmB,CAAC,GAAG,CAAC,CAAC;EACtD,CAAC,CAAC;AACJ;AAACC,OAAA,CAAA9E,wBAAA,GAAAA,wBAAA","ignoreList":[]}
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.stepsToBindUser = exports.stepsAfterVerification = exports.USER = exports.SERVICES = exports.SECRET_WAIT_MS = exports.END_AFTER_MS = exports.BOUND_NAME = void 0;
7
+ var _transtekCommandProtocol = require("./transtek-command.protocol.js");
8
+ /* eslint-disable import/group-exports */
9
+
10
+ /** The only user slot the SDK binds; the protocol allows more, the SDK has one patient per phone. */
11
+ const USER = exports.USER = 1;
12
+
13
+ /** How long an unanswered random number waits for the stored password to load. */
14
+ const SECRET_WAIT_MS = exports.SECRET_WAIT_MS = 1_000;
15
+
16
+ /** The name bound into an A3 device's user slot. */
17
+ const BOUND_NAME = exports.BOUND_NAME = "OVOK";
18
+
19
+ /** Quiet time after the last record before the app ends the session, per MedM. */
20
+ const END_AFTER_MS = exports.END_AFTER_MS = {
21
+ "blood-pressure": 1_000,
22
+ scale: 30_000,
23
+ tracker: 1_000
24
+ };
25
+ const SERVICES = exports.SERVICES = {
26
+ "blood-pressure": {
27
+ a2: _transtekCommandProtocol.TRANSTEK_SERVICES.bloodPressureA2,
28
+ a3: _transtekCommandProtocol.TRANSTEK_SERVICES.bloodPressureA3
29
+ },
30
+ scale: {
31
+ a2: _transtekCommandProtocol.TRANSTEK_SERVICES.scaleA2,
32
+ a3: _transtekCommandProtocol.TRANSTEK_SERVICES.scaleA3
33
+ },
34
+ tracker: {
35
+ a2: _transtekCommandProtocol.TRANSTEK_SERVICES.tracker
36
+ }
37
+ };
38
+
39
+ /** One write, and the pause MedM leaves before it. */
40
+
41
+ const end = delayMs => ({
42
+ frame: (0, _transtekCommandProtocol.endSessionCommand)(),
43
+ delayMs,
44
+ endsSession: true
45
+ });
46
+
47
+ /**
48
+ * What follows a correct verification code. An A3 device that is pairing binds a user slot
49
+ * first, so for it nothing follows until its user count (83) arrives.
50
+ */
51
+ const stepsAfterVerification = (kind, a3, pairing, now) => {
52
+ if (pairing && a3 && kind !== "tracker") {
53
+ return [];
54
+ }
55
+ if (kind === "tracker") {
56
+ return [...(pairing ? [{
57
+ frame: (0, _transtekCommandProtocol.trackerConfigurationCommand)(),
58
+ delayMs: 500
59
+ }] : []), {
60
+ frame: (0, _transtekCommandProtocol.setTimeCommand)(now),
61
+ delayMs: 500
62
+ }, {
63
+ frame: (0, _transtekCommandProtocol.trackerUserDataCommand)(),
64
+ delayMs: 500
65
+ }, ...(pairing ? [end(500)] : [])];
66
+ }
67
+ return [{
68
+ frame: (0, _transtekCommandProtocol.setTimeCommand)(now),
69
+ delayMs: a3 && kind === "scale" ? 1500 : 500
70
+ }, ...(pairing ? [end(1500)] : [])];
71
+ };
72
+
73
+ /** An A3 device's pairing, once it has sent its user count: bind, profile (scales), time, end. */
74
+ exports.stepsAfterVerification = stepsAfterVerification;
75
+ const stepsToBindUser = (kind, heightInCentimetres, now) => kind === "scale" ? [{
76
+ frame: (0, _transtekCommandProtocol.bindUserCommand)(USER, BOUND_NAME),
77
+ delayMs: 1000
78
+ }, {
79
+ frame: (0, _transtekCommandProtocol.scaleProfileCommand)(USER, heightInCentimetres),
80
+ delayMs: 500
81
+ }, {
82
+ frame: (0, _transtekCommandProtocol.setTimeCommand)(now),
83
+ delayMs: 500
84
+ }, end(1500)] : [{
85
+ frame: (0, _transtekCommandProtocol.bindUserCommand)(USER, BOUND_NAME)
86
+ }, {
87
+ frame: (0, _transtekCommandProtocol.setTimeCommand)(now),
88
+ delayMs: 500
89
+ }, end(1500)];
90
+ exports.stepsToBindUser = stepsToBindUser;
91
+ //# sourceMappingURL=transtek-command.session.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_transtekCommandProtocol","require","USER","exports","SECRET_WAIT_MS","BOUND_NAME","END_AFTER_MS","scale","tracker","SERVICES","a2","TRANSTEK_SERVICES","bloodPressureA2","a3","bloodPressureA3","scaleA2","scaleA3","end","delayMs","frame","endSessionCommand","endsSession","stepsAfterVerification","kind","pairing","now","trackerConfigurationCommand","setTimeCommand","trackerUserDataCommand","stepsToBindUser","heightInCentimetres","bindUserCommand","scaleProfileCommand"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/transtek/transtek-command.session.ts"],"mappings":";;;;;;AAEA,IAAAA,wBAAA,GAAAC,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AAA","ignoreList":[]}
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.YonkerDevice = void 0;
7
+ var _integratedDevices = require("../../../types/integrated-devices.js");
8
+ var _btManagedDevice = require("../bt-managed-device.js");
9
+ var _liveOximeterSequencer = require("../live-oximeter.sequencer.js");
10
+ var _yonkerProtocol = require("./yonker.protocol.js");
11
+ var _yonkerSequencer = require("./yonker.sequencer.js");
12
+ const passThrough = {
13
+ caseValuePosition: [],
14
+ cases: []
15
+ };
16
+ const service = (uuid, notify, optional = false) => ({
17
+ uuid,
18
+ optional,
19
+ monitorUuids: notify.map(monitor => ({
20
+ uuid: monitor,
21
+ parsingModel: passThrough
22
+ }))
23
+ });
24
+
25
+ /** MedM subscribes to all three; the type byte, not the characteristic, says what a frame is. */
26
+ const YONKER_SERVICES = [service(_yonkerProtocol.YONKER_GATT.service, [_yonkerProtocol.YONKER_GATT.notify, _yonkerProtocol.YONKER_GATT.notifyAlternate], true), service(_yonkerProtocol.YONKER_GATT.uartService, [_yonkerProtocol.YONKER_GATT.uartNotify], true)];
27
+ const SERVICES = {
28
+ [_integratedDevices.IntegratedDevices.YONKER_OXIMETER]: YONKER_SERVICES,
29
+ [_integratedDevices.IntegratedDevices.YONKER_BPM]: YONKER_SERVICES,
30
+ [_integratedDevices.IntegratedDevices.YONKER_THERMOMETER]: YONKER_SERVICES,
31
+ [_integratedDevices.IntegratedDevices.YONKER_SCALE]: [service(_yonkerProtocol.AILINK_GATT.service, [_yonkerProtocol.AILINK_GATT.notify])],
32
+ [_integratedDevices.IntegratedDevices.YONKER_80B]: [service(_yonkerProtocol.AILINK_GATT.service, [_yonkerProtocol.AILINK_GATT.notify])]
33
+ };
34
+
35
+ /** The YK-80B: MedM asks for the firmware version on connect, then reads the stream. */
36
+ class Yonker80bSequencer extends _liveOximeterSequencer.LiveOximeterSequencer {
37
+ initialCommands = () => [{
38
+ serviceUuid: _yonkerProtocol.AILINK_GATT.service,
39
+ characteristicUuid: _yonkerProtocol.AILINK_GATT.writeShort,
40
+ frame: _yonkerProtocol.FIRMWARE_REQUEST
41
+ }];
42
+ }
43
+ const SEQUENCERS = {
44
+ [_integratedDevices.IntegratedDevices.YONKER_OXIMETER]: onResult => new _liveOximeterSequencer.LiveOximeterSequencer({
45
+ readValues: frame => (0, _liveOximeterSequencer.readOximeterData)(frame, _liveOximeterSequencer.AOJ_VALUES, "spo2-pulse"),
46
+ onResult
47
+ }),
48
+ [_integratedDevices.IntegratedDevices.YONKER_BPM]: onResult => new _yonkerSequencer.YonkerSequencer({
49
+ kind: "blood-pressure",
50
+ onResult
51
+ }),
52
+ [_integratedDevices.IntegratedDevices.YONKER_THERMOMETER]: onResult => new _yonkerSequencer.YonkerSequencer({
53
+ kind: "thermometer",
54
+ onResult
55
+ }),
56
+ [_integratedDevices.IntegratedDevices.YONKER_SCALE]: onResult => new _yonkerSequencer.YonkerScaleSequencer({
57
+ onResult
58
+ }),
59
+ [_integratedDevices.IntegratedDevices.YONKER_80B]: onResult => new Yonker80bSequencer({
60
+ readValues: _yonkerProtocol.read80bMeasurement,
61
+ onResult
62
+ })
63
+ };
64
+
65
+ /**
66
+ * Yonker YK-81C oximeters, YK-BPA blood-pressure monitors, YK-IRT4 thermometers, the AiLink
67
+ * weight scale and the YK-80B oximeter, with their rebrands.
68
+ */
69
+ class YonkerDeviceClass extends _btManagedDevice.BTManagedDevice {
70
+ stuckDataTimeout = 120_000;
71
+ onStreamStart = undefined;
72
+ constructor(device, params) {
73
+ super(device, params);
74
+ this.mainServices = SERVICES[params.deviceName];
75
+ if (params.deviceName === _integratedDevices.IntegratedDevices.YONKER_SCALE) {
76
+ this.frameReader = new _yonkerProtocol.AilinkFrameReader([0xa7]);
77
+ } else if (params.deviceName === _integratedDevices.IntegratedDevices.YONKER_80B) {
78
+ this.frameReader = new _yonkerProtocol.AilinkFrameReader([0xa6, 0xa7]);
79
+ }
80
+ this.createCommandSequencer = () => SEQUENCERS[params.deviceName](result => this.onResult?.(result));
81
+ }
82
+
83
+ /** The oximeter, monitor and thermometer send one frame per notification. */
84
+ validatePackage = () => true;
85
+ handleSuccessResult() {
86
+ return;
87
+ }
88
+ }
89
+ exports.YonkerDevice = YonkerDeviceClass;
90
+ //# sourceMappingURL=yonker.device.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_integratedDevices","require","_btManagedDevice","_liveOximeterSequencer","_yonkerProtocol","_yonkerSequencer","passThrough","caseValuePosition","cases","service","uuid","notify","optional","monitorUuids","map","monitor","parsingModel","YONKER_SERVICES","YONKER_GATT","notifyAlternate","uartService","uartNotify","SERVICES","IntegratedDevices","YONKER_OXIMETER","YONKER_BPM","YONKER_THERMOMETER","YONKER_SCALE","AILINK_GATT","YONKER_80B","Yonker80bSequencer","LiveOximeterSequencer","initialCommands","serviceUuid","characteristicUuid","writeShort","frame","FIRMWARE_REQUEST","SEQUENCERS","onResult","readValues","readOximeterData","AOJ_VALUES","YonkerSequencer","kind","YonkerScaleSequencer","read80bMeasurement","YonkerDeviceClass","BTManagedDevice","stuckDataTimeout","onStreamStart","undefined","constructor","device","params","mainServices","deviceName","frameReader","AilinkFrameReader","createCommandSequencer","result","validatePackage","handleSuccessResult","exports","YonkerDevice"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/yonker/yonker.device.ts"],"mappings":";;;;;;AAKA,IAAAA,kBAAA,GAAAC,OAAA;AAGA,IAAAC,gBAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAF,OAAA;AAEA,IAAAG,eAAA,GAAAH,OAAA;AAOA,IAAAI,gBAAA,GAAAJ,OAAA;AAWA,MAAMK,WAAW,GAAG;EAAEC,iBAAiB,EAAE,EAAE;EAAEC,KAAK,EAAE;AAAG,CAAC;AAExD,MAAMC,OAAO,GAAGA,CAACC,IAAY,EAAEC,MAAyB,EAAEC,QAAQ,GAAG,KAAK,MAAgB;EACxFF,IAAI;EACJE,QAAQ;EACR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QAAQ,GACXqB,MACF,CACF,CAAC;EACL;;EAEA;EACUC,eAAe,GAAGA,CAAA,KAAe,IAAI;EAErCC,mBAAmBA,CAAA,EAAS;IACpC;EACF;AACF;AAACC,OAAA,CAAAC,YAAA,GAAAjB,iBAAA","ignoreList":[]}
@@ -0,0 +1,202 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.shortFrame = exports.scaleSetTimeCommand = exports.readYonkerTemperature = exports.readYonkerBloodPressure = exports.readScaleWeight = exports.read80bMeasurement = exports.longFrame = exports.idOf = exports.commandOf = exports.bpmSetTimeCommand = exports.bodyOf = exports.YONKER_GATT = exports.FIRMWARE_REQUEST = exports.AilinkFrameReader = exports.AILINK_GATT = void 0;
7
+ var _frameReadStatus = require("../../../types/frame-read-status.js");
8
+ var _hexToByte = require("../../../utils/hex-to-byte.js");
9
+ /* eslint-disable import/group-exports */
10
+
11
+ /**
12
+ * Yonker devices and their rebrands, from MedM Health Diary 3.12.11's `CYonker_*` classes.
13
+ *
14
+ * The oximeter, blood-pressure monitor and thermometer share one GATT map and send one frame
15
+ * per notification: a type byte (`80` live, `81` result) and its values, no length, no
16
+ * checksum. The scale (an AiLink module, MedM's `CConmo_WeightScale`) and the YK-80B oximeter
17
+ * frame everything as `A6|A7 xx xx LL CMD body CS 7A`.
18
+ */
19
+ const sig16 = assigned => `0000${assigned}-0000-1000-8000-00805f9b34fb`;
20
+ const YONKER_GATT = exports.YONKER_GATT = {
21
+ service: "cdeacd80-5235-4c07-8846-93a37ee6b86d",
22
+ notify: "cdeacd81-5235-4c07-8846-93a37ee6b86d",
23
+ notifyAlternate: "cdeacd82-5235-4c07-8846-93a37ee6b86d",
24
+ /** Nordic UART; MedM subscribes to its `…0002` characteristic. */
25
+ uartService: "6e400001-b5a3-f393-e0a9-e50e24dcca9e",
26
+ uartNotify: "6e400002-b5a3-f393-e0a9-e50e24dcca9e",
27
+ /** Where the blood-pressure monitor takes its clock. */
28
+ timeService: sig16("1804"),
29
+ timeWrite: sig16("2a07")
30
+ };
31
+
32
+ /** The scale and the YK-80B: notify on `ffe2`, long frames to `ffe1`, short ones to `ffe3`. */
33
+ const AILINK_GATT = exports.AILINK_GATT = {
34
+ service: sig16("ffe0"),
35
+ writeLong: sig16("ffe1"),
36
+ notify: sig16("ffe2"),
37
+ writeShort: sig16("ffe3")
38
+ };
39
+ const bytes = frame => frame.map(byte => (0, _hexToByte.hexToByte)(byte));
40
+ const toHex = values => values.map(value => (value & 0xff).toString(16).padStart(2, "0"));
41
+ const sum = values => values.reduce((total, value) => total + value, 0) & 0xff;
42
+
43
+ /** `8F YY MM DD hh mm` and nine zero bytes, local time. */
44
+ const bpmSetTimeCommand = now => toHex([0x8f, now.getFullYear() - 2000, now.getMonth() + 1, now.getDate(), now.getHours(), now.getMinutes(), ...new Array(9).fill(0)]);
45
+
46
+ /**
47
+ * `81 SYS DIA PULSE USER RECORD YY MM DD hh mm`, mmHg, local time. A zero year means the clock
48
+ * was never set, and the phone's time is used, as MedM does.
49
+ */
50
+ exports.bpmSetTimeCommand = bpmSetTimeCommand;
51
+ const readYonkerBloodPressure = (frame, now) => {
52
+ const b = bytes(frame);
53
+ if (b.length < 11 || b[0] !== 0x81 || !b[1] || !b[2]) {
54
+ return undefined;
55
+ }
56
+ const year = b[6] ?? 0;
57
+ const user = b[4] ?? 0;
58
+ return {
59
+ systolic: b[1],
60
+ diastolic: b[2],
61
+ ...(b[3] ? {
62
+ heartRate: b[3]
63
+ } : {}),
64
+ recordedAt: year === 0 ? now : new Date(2000 + year, (b[7] ?? 1) - 1, b[8] ?? 1, b[9] ?? 0, b[10] ?? 0),
65
+ ...(user > 0 ? {
66
+ memorySlot: user
67
+ } : {})
68
+ };
69
+ };
70
+
71
+ /**
72
+ * `80 hi lo FLAGS X`: hundredths of a degree; flags bit 1 marks Fahrenheit, which MedM ignores
73
+ * and the SDK converts.
74
+ */
75
+ exports.readYonkerBloodPressure = readYonkerBloodPressure;
76
+ const readYonkerTemperature = frame => {
77
+ const b = bytes(frame);
78
+ if (b.length < 5 || b[0] !== 0x80) {
79
+ return undefined;
80
+ }
81
+ const value = ((b[1] ?? 0) << 8 | (b[2] ?? 0)) / 100;
82
+ if (value === 0) {
83
+ return undefined;
84
+ }
85
+ return ((b[3] ?? 0) & 0x02) !== 0 ? Math.round((value - 32) * 5 / 9 * 100) / 100 : value;
86
+ };
87
+
88
+ /** `A7 ID ID (n+1) CMD payload CS 7A`, the checksum covering everything but the first byte. */
89
+ exports.readYonkerTemperature = readYonkerTemperature;
90
+ const longFrame = (id, command, payload = []) => {
91
+ const covered = [id >> 8, id & 0xff, payload.length + 1, command, ...payload];
92
+ return toHex([0xa7, ...covered, sum(covered), 0x7a]);
93
+ };
94
+
95
+ /** `A6 (n+1) CMD payload CS 6A`. */
96
+ exports.longFrame = longFrame;
97
+ const shortFrame = (command, payload = []) => {
98
+ const covered = [payload.length + 1, command, ...payload];
99
+ return toHex([0xa6, ...covered, sum(covered), 0x6a]);
100
+ };
101
+
102
+ /** Scale set time, command `37`: `YY MM DD hh mm ss weekday` (Sunday 1), local time. */
103
+ exports.shortFrame = shortFrame;
104
+ const scaleSetTimeCommand = now => shortFrame(0x37, [now.getFullYear() - 2000, now.getMonth() + 1, now.getDate(), now.getHours(), now.getMinutes(), now.getSeconds(), now.getDay() + 1]);
105
+ exports.scaleSetTimeCommand = scaleSetTimeCommand;
106
+ const idOf = frame => (0, _hexToByte.hexToByte)(frame[1] ?? "00") << 8 | (0, _hexToByte.hexToByte)(frame[2] ?? "00");
107
+ exports.idOf = idOf;
108
+ const commandOf = frame => (0, _hexToByte.hexToByte)(frame[4] ?? "00");
109
+ exports.commandOf = commandOf;
110
+ const bodyOf = frame => bytes(frame.slice(5, -2));
111
+
112
+ /**
113
+ * Scale weight, command `02`: a u24 big-endian raw value, then precision (high nibble, decimal
114
+ * places) and unit (low nibble). Only kilograms (unit 0) are accepted - the SDK sets the scale to
115
+ * kilograms, and the other unit codes are not documented.
116
+ */
117
+ exports.bodyOf = bodyOf;
118
+ const readScaleWeight = body => {
119
+ const raw = (body[0] ?? 0) << 16 | (body[1] ?? 0) << 8 | (body[2] ?? 0);
120
+ const format = body[3] ?? 0;
121
+ if (body.length < 4 || raw === 0 || (format & 0x0f) !== 0) {
122
+ return undefined;
123
+ }
124
+ return raw / 10 ** (format >> 4);
125
+ };
126
+
127
+ /**
128
+ * YK-80B measurement, command `03`: status, SpO2, pulse, PI×10, battery, RR×10, waveform, bar,
129
+ * worn. Dropped when the status or worn flag is zero or the SpO2 is `FF`, as MedM does.
130
+ */
131
+ exports.readScaleWeight = readScaleWeight;
132
+ const read80bMeasurement = frame => {
133
+ const body = bodyOf(frame);
134
+ if (commandOf(frame) !== 0x03 || body.length < 9) {
135
+ return undefined;
136
+ }
137
+ const [status = 0, bloodOxygen = 0, pulseRate = 0, perfusionIndex = 0] = body;
138
+ if (status === 0 || body[8] === 0 || bloodOxygen === 0 || bloodOxygen > 100 || pulseRate === 0 || pulseRate === 0xff) {
139
+ return undefined;
140
+ }
141
+ return {
142
+ bloodOxygen,
143
+ pulseRate,
144
+ ...(perfusionIndex > 0 && perfusionIndex !== 0xff ? {
145
+ perfusionIndex: perfusionIndex / 10
146
+ } : {})
147
+ };
148
+ };
149
+
150
+ /** YK-80B firmware request, the one command MedM writes to it. */
151
+ exports.read80bMeasurement = read80bMeasurement;
152
+ const FIRMWARE_REQUEST = exports.FIRMWARE_REQUEST = shortFrame(0x0e);
153
+
154
+ /** Isolates checked `A7 … 7A` frames (and `A6 … 7A` for the YK-80B) across notifications. */
155
+ class AilinkFrameReader {
156
+ constructor(starts) {
157
+ this.starts = starts;
158
+ }
159
+ readFrame(buffer) {
160
+ const values = bytes(buffer);
161
+ const start = values.findIndex(value => this.starts.includes(value));
162
+ if (start === -1) {
163
+ return {
164
+ status: _frameReadStatus.FrameReadStatus.INCOMPLETE,
165
+ consumedBytes: values.length
166
+ };
167
+ }
168
+ if (start + 4 > values.length) {
169
+ return {
170
+ status: _frameReadStatus.FrameReadStatus.INCOMPLETE,
171
+ consumedBytes: start
172
+ };
173
+ }
174
+ const length = (values[start + 3] ?? 0) + 6;
175
+ if (length < 7) {
176
+ return {
177
+ status: _frameReadStatus.FrameReadStatus.CORRUPT,
178
+ consumedBytes: start + 1
179
+ };
180
+ }
181
+ if (start + length > values.length) {
182
+ return {
183
+ status: _frameReadStatus.FrameReadStatus.INCOMPLETE,
184
+ consumedBytes: start
185
+ };
186
+ }
187
+ const received = values.slice(start, start + length);
188
+ if (received[length - 1] !== 0x7a || received[length - 2] !== sum(received.slice(1, -2))) {
189
+ return {
190
+ status: _frameReadStatus.FrameReadStatus.CORRUPT,
191
+ consumedBytes: start + 1
192
+ };
193
+ }
194
+ return {
195
+ status: _frameReadStatus.FrameReadStatus.COMPLETE,
196
+ consumedBytes: start + length,
197
+ frame: buffer.slice(start, start + length)
198
+ };
199
+ }
200
+ }
201
+ exports.AilinkFrameReader = AilinkFrameReader;
202
+ //# sourceMappingURL=yonker.protocol.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_frameReadStatus","require","_hexToByte","sig16","assigned","YONKER_GATT","exports","service","notify","notifyAlternate","uartService","uartNotify","timeService","timeWrite","AILINK_GATT","writeLong","writeShort","bytes","frame","map","byte","hexToByte","toHex","values","value","toString","padStart","sum","reduce","total","bpmSetTimeCommand","now","getFullYear","getMonth","getDate","getHours","getMinutes","Array","fill","readYonkerBloodPressure","b","length","undefined","year","user","systolic","diastolic","heartRate","recordedAt","Date","memorySlot","readYonkerTemperature","Math","round","longFrame","id","command","payload","covered","shortFrame","scaleSetTimeCommand","getSeconds","getDay","idOf","commandOf","bodyOf","slice","readScaleWeight","body","raw","format","read80bMeasurement","status","bloodOxygen","pulseRate","perfusionIndex","FIRMWARE_REQUEST","AilinkFrameReader","constructor","starts","readFrame","buffer","start","findIndex","includes","FrameReadStatus","INCOMPLETE","consumedBytes","CORRUPT","received","COMPLETE"],"sourceRoot":"../../../../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AK,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;IAE3C,IAAIzC,MAAM,GAAG,CAAC,EAAE;MACd,OAAO;QAAE+B,MAAM,EAAEa,gCAAe,CAACG,OAAO;QAAED,aAAa,EAAEL,KAAK,GAAG;MAAE,CAAC;IACtE;IAEA,IAAIA,KAAK,GAAGzC,MAAM,GAAGlB,MAAM,CAACkB,MAAM,EAAE;MAClC,OAAO;QAAE+B,MAAM,EAAEa,gCAAe,CAACC,UAAU;QAAEC,aAAa,EAAEL;MAAM,CAAC;IACrE;IAEA,MAAMO,QAAQ,GAAGlE,MAAM,CAAC2C,KAAK,CAACgB,KAAK,EAAEA,KAAK,GAAGzC,MAAM,CAAC;IAEpD,IAAIgD,QAAQ,CAAChD,MAAM,GAAG,CAAC,CAAC,KAAK,IAAI,IAAIgD,QAAQ,CAAChD,MAAM,GAAG,CAAC,CAAC,KAAKd,GAAG,CAAC8D,QAAQ,CAACvB,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE;MACxF,OAAO;QAAEM,MAAM,EAAEa,gCAAe,CAACG,OAAO;QAAED,aAAa,EAAEL,KAAK,GAAG;MAAE,CAAC;IACtE;IAEA,OAAO;MACLV,MAAM,EAAEa,gCAAe,CAACK,QAAQ;MAChCH,aAAa,EAAEL,KAAK,GAAGzC,MAAM;MAC7BvB,KAAK,EAAE+D,MAAM,CAACf,KAAK,CAACgB,KAAK,EAAEA,KAAK,GAAGzC,MAAM;IAC3C,CAAC;EACH;AACF;AAACnC,OAAA,CAAAuE,iBAAA,GAAAA,iBAAA","ignoreList":[]}
@@ -0,0 +1,137 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.YonkerSequencer = exports.YonkerScaleSequencer = void 0;
7
+ var _core = require("@ovok/core");
8
+ var _caseType = require("../../../types/case-type.js");
9
+ var _yonkerProtocol = require("./yonker.protocol.js");
10
+ /** A thermometer that repeats the same temperature within this window is reporting it again. */
11
+ const REPEAT_WINDOW_MS = 30_000;
12
+
13
+ /**
14
+ * The Yonker blood-pressure monitor and thermometer push one frame per reading. The monitor is
15
+ * sent the time on connect and then pushes its records by itself.
16
+ */
17
+ class YonkerSequencer {
18
+ recorded = false;
19
+ constructor(params) {
20
+ this.params = params;
21
+ }
22
+ initialCommands = () => this.params.kind === "blood-pressure" ? [{
23
+ serviceUuid: _yonkerProtocol.YONKER_GATT.timeService,
24
+ characteristicUuid: _yonkerProtocol.YONKER_GATT.timeWrite,
25
+ frame: (0, _yonkerProtocol.bpmSetTimeCommand)(this.now())
26
+ }] : [];
27
+ isNormalDisconnect = () => this.recorded;
28
+ nextCommand = frame => {
29
+ const reading = this.params.kind === "blood-pressure" ? this.bloodPressure(frame) : this.temperature(frame);
30
+ if (reading) {
31
+ this.recorded = true;
32
+ this.params.onResult({
33
+ caseType: _caseType.CaseType.RESULT,
34
+ ...reading
35
+ });
36
+ }
37
+ return undefined;
38
+ };
39
+ bloodPressure = frame => {
40
+ const reading = (0, _yonkerProtocol.readYonkerBloodPressure)(frame, this.now());
41
+ return reading && {
42
+ measurementTypeKey: _core.MeasurementTypeKey.bloodPressure,
43
+ ...reading
44
+ };
45
+ };
46
+ temperature = frame => {
47
+ const bodyTemp = (0, _yonkerProtocol.readYonkerTemperature)(frame);
48
+ const now = this.now();
49
+ if (bodyTemp === undefined || this.lastTemperature?.value === bodyTemp && now.getTime() - this.lastTemperature.at < REPEAT_WINDOW_MS) {
50
+ return undefined;
51
+ }
52
+ this.lastTemperature = {
53
+ value: bodyTemp,
54
+ at: now.getTime()
55
+ };
56
+ return {
57
+ measurementTypeKey: _core.MeasurementTypeKey.temperature,
58
+ bodyTemp,
59
+ recordedAt: now
60
+ };
61
+ };
62
+ now = () => this.params.now?.() ?? new Date();
63
+ }
64
+
65
+ /** What the scale's frames ask for. */
66
+ exports.YonkerSequencer = YonkerSequencer;
67
+ const SCALE = {
68
+ weight: 0x02,
69
+ completed: 0x0a,
70
+ completedAck: 0x0f,
71
+ timeRequest: 0x38
72
+ };
73
+
74
+ /** The id word long frames carry until the scale has sent its own. */
75
+ const DEFAULT_SCALE_ID = 0x0032;
76
+
77
+ /**
78
+ * The AiLink scale: disables its encryption, then two seconds later sets the time and kilograms
79
+ * and asks for its software info, as MedM does. Weight frames repeat while it settles; the last
80
+ * one is reported when the scale says the measurement is complete. Body composition is not read.
81
+ */
82
+ class YonkerScaleSequencer {
83
+ id = DEFAULT_SCALE_ID;
84
+ recorded = false;
85
+ constructor(params) {
86
+ this.params = params;
87
+ }
88
+ initialCommands = () => [this.short((0, _yonkerProtocol.shortFrame)(0x42, [0x01, 0x00])), this.short((0, _yonkerProtocol.scaleSetTimeCommand)(this.now()), 2_000), this.long(0x81, [0x01]), this.long(0x0e)];
89
+ isNormalDisconnect = () => this.recorded;
90
+ nextCommand = frame => {
91
+ this.id = (0, _yonkerProtocol.idOf)(frame) || this.id;
92
+ switch ((0, _yonkerProtocol.commandOf)(frame)) {
93
+ case SCALE.weight:
94
+ this.pendingWeight = (0, _yonkerProtocol.readScaleWeight)((0, _yonkerProtocol.bodyOf)(frame));
95
+ return undefined;
96
+ case SCALE.completedAck:
97
+ this.report();
98
+ return [this.long(0x84, [0x00])];
99
+ case SCALE.completed:
100
+ this.report();
101
+ return undefined;
102
+ case SCALE.timeRequest:
103
+ return [this.short((0, _yonkerProtocol.scaleSetTimeCommand)(this.now()))];
104
+ default:
105
+ return undefined;
106
+ }
107
+ };
108
+ report = () => {
109
+ const bodyWeight = this.pendingWeight;
110
+ this.pendingWeight = undefined;
111
+ if (bodyWeight !== undefined) {
112
+ this.recorded = true;
113
+ this.params.onResult({
114
+ caseType: _caseType.CaseType.RESULT,
115
+ measurementTypeKey: _core.MeasurementTypeKey.bodyWeight,
116
+ bodyWeight,
117
+ recordedAt: this.now()
118
+ });
119
+ }
120
+ };
121
+ now = () => this.params.now?.() ?? new Date();
122
+ long = (command, payload = []) => ({
123
+ serviceUuid: _yonkerProtocol.AILINK_GATT.service,
124
+ characteristicUuid: _yonkerProtocol.AILINK_GATT.writeLong,
125
+ frame: (0, _yonkerProtocol.longFrame)(this.id, command, payload)
126
+ });
127
+ short = (frame, delayBeforeWriteMs) => ({
128
+ serviceUuid: _yonkerProtocol.AILINK_GATT.service,
129
+ characteristicUuid: _yonkerProtocol.AILINK_GATT.writeShort,
130
+ frame,
131
+ ...(delayBeforeWriteMs ? {
132
+ delayBeforeWriteMs
133
+ } : {})
134
+ });
135
+ }
136
+ exports.YonkerScaleSequencer = YonkerScaleSequencer;
137
+ //# sourceMappingURL=yonker.sequencer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_core","require","_caseType","_yonkerProtocol","REPEAT_WINDOW_MS","YonkerSequencer","recorded","constructor","params","initialCommands","kind","serviceUuid","YONKER_GATT","timeService","characteristicUuid","timeWrite","frame","bpmSetTimeCommand","now","isNormalDisconnect","nextCommand","reading","bloodPressure","temperature","onResult","caseType","CaseType","RESULT","undefined","readYonkerBloodPressure","measurementTypeKey","MeasurementTypeKey","bodyTemp","readYonkerTemperature","lastTemperature","value","getTime","at","recordedAt","Date","exports","SCALE","weight","completed","completedAck","timeRequest","DEFAULT_SCALE_ID","YonkerScaleSequencer","id","short","shortFrame","scaleSetTimeCommand","long","idOf","commandOf","pendingWeight","readScaleWeight","bodyOf","report","bodyWeight","command","payload","AILINK_GATT","service","writeLong","longFrame","delayBeforeWriteMs","writeShort"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/yonker/yonker.sequencer.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,SAAA,GAAAD,OAAA;AAIA,IAAAE,eAAA,GAAAF,OAAA;AAeA;AACA,MAAMG,gBAAgB,GAAG,MAAM;;AAE/B;AACA;AACA;AACA;AACA,MAAMC,eAAe,CAA6B;EACxCC,QAAQ,GAAG,KAAK;EAGjBC,WAAWA,CACCC,MAIhB,EACD;IAAA,KALiBA,MA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AEOA,GAAG,GAAGA,CAAA,KAAY,IAAI,CAACV,MAAM,CAACU,GAAG,GAAG,CAAC,IAAI,IAAIqB,IAAI,CAAC,CAAC;EAEnDa,IAAI,GAAGA,CAACQ,OAAe,EAAEC,OAA0B,GAAG,EAAE,MAAqB;IACnFlD,WAAW,EAAEmD,2BAAW,CAACC,OAAO;IAChCjD,kBAAkB,EAAEgD,2BAAW,CAACE,SAAS;IACzChD,KAAK,EAAE,IAAAiD,yBAAS,EAAC,IAAI,CAACjB,EAAE,EAAEY,OAAO,EAAEC,OAAO;EAC5C,CAAC,CAAC;EAEMZ,KAAK,GAAGA,CAACjC,KAAwB,EAAEkD,kBAA2B,MAAqB;IACzFvD,WAAW,EAAEmD,2BAAW,CAACC,OAAO;IAChCjD,kBAAkB,EAAEgD,2BAAW,CAACK,UAAU;IAC1CnD,KAAK;IACL,IAAIkD,kBAAkB,GAAG;MAAEA;IAAmB,CAAC,GAAG,CAAC,CAAC;EACtD,CAAC,CAAC;AACJ;AAAC1B,OAAA,CAAAO,oBAAA,GAAAA,oBAAA","ignoreList":[]}
@@ -62,6 +62,39 @@ let IntegratedDevices = exports.IntegratedDevices = /*#__PURE__*/function (Integ
62
62
  IntegratedDevices["SA10AW_PU"] = "SA10AW-PU";
63
63
  IntegratedDevices["PF10BW_VE"] = "PF10BW-VE";
64
64
  IntegratedDevices["TRASENSE_S9"] = "Trasense S9";
65
+ IntegratedDevices["TRANSTEK_BPM"] = "Transtek BPM";
66
+ IntegratedDevices["TRANSTEK_SCALE"] = "Transtek Scale";
67
+ IntegratedDevices["TRANSTEK_SCALE_1525"] = "Transtek Scale 1525";
68
+ IntegratedDevices["TRANSTEK_TRACKER"] = "Transtek Tracker";
69
+ IntegratedDevices["FAMIDOC_BPM"] = "Famidoc BPM";
70
+ IntegratedDevices["FAMIDOC_IR_THERMOMETER"] = "Famidoc IR Thermometer";
71
+ IntegratedDevices["FAMIDOC_CONTACT_THERMOMETER"] = "Famidoc Contact Thermometer";
72
+ IntegratedDevices["AOJ_BPM"] = "AOJ BPM";
73
+ IntegratedDevices["AOJ_BPM_FFF0"] = "AOJ BPM FFF0";
74
+ IntegratedDevices["AOJ_70B"] = "AOJ-70B";
75
+ IntegratedDevices["JUMPER_OXIMETER"] = "Jumper Oximeter";
76
+ IntegratedDevices["JUMPER_BPM"] = "Jumper BPM";
77
+ IntegratedDevices["JUMPER_THERMOMETER"] = "Jumper Thermometer";
78
+ IntegratedDevices["JOYTECH_BPM"] = "Joytech BPM";
79
+ IntegratedDevices["JOYTECH_THERMOMETER"] = "Joytech Thermometer";
80
+ IntegratedDevices["AND_BPM"] = "A&D BPM";
81
+ IntegratedDevices["AND_BPM_CTS"] = "A&D BPM CTS";
82
+ IntegratedDevices["AND_SCALE"] = "A&D Scale";
83
+ IntegratedDevices["YONKER_OXIMETER"] = "Yonker Oximeter";
84
+ IntegratedDevices["YONKER_BPM"] = "Yonker BPM";
85
+ IntegratedDevices["YONKER_THERMOMETER"] = "Yonker Thermometer";
86
+ IntegratedDevices["YONKER_SCALE"] = "Yonker Scale";
87
+ IntegratedDevices["YONKER_80B"] = "Yonker 80B";
88
+ IntegratedDevices["COFOE_BPM"] = "Cofoe BPM";
89
+ IntegratedDevices["COFOE_BPM_HISTORY"] = "Cofoe BPM History";
90
+ IntegratedDevices["COFOE_GLUCOMETER"] = "Cofoe Glucometer";
91
+ IntegratedDevices["COFOE_GLUCOMETER_CGH25"] = "Cofoe Glucometer CGH25";
92
+ IntegratedDevices["COFOE_THERMOMETER"] = "Cofoe Thermometer";
93
+ IntegratedDevices["TAIDOC_MULTI"] = "TaiDoc Multi";
94
+ IntegratedDevices["TAIDOC_BPM"] = "TaiDoc BPM";
95
+ IntegratedDevices["TAIDOC_THERMOMETER"] = "TaiDoc Thermometer";
96
+ IntegratedDevices["TAIDOC_OXIMETER"] = "TaiDoc Oximeter";
97
+ IntegratedDevices["TAIDOC_SCALE"] = "TaiDoc Scale";
65
98
  return IntegratedDevices;
66
99
  }({});
67
100
  //# sourceMappingURL=integrated-devices.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["IntegratedDevices","exports"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/types/integrated-devices.ts"],"mappings":";;;;;;IAAYA,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["IntegratedDevices","exports"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