@ovok/native 1.6.32 → 1.6.34

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 (259) hide show
  1. package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js +4 -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-assets.js +3 -1
  4. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -1
  5. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-entries.js +1 -1
  6. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -1
  7. package/lib/commonjs/modules/bt-device/constants/supported-devices.js +25 -0
  8. package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
  9. package/lib/commonjs/modules/bt-management/constants/integrated-devices-map.js +2 -1
  10. package/lib/commonjs/modules/bt-management/constants/integrated-devices-map.js.map +1 -1
  11. package/lib/commonjs/modules/bt-management/index.js +77 -0
  12. package/lib/commonjs/modules/bt-management/index.js.map +1 -1
  13. package/lib/commonjs/modules/bt-management/services/background-sync/background-service-uuids.js +4 -0
  14. package/lib/commonjs/modules/bt-management/services/background-sync/background-service-uuids.js.map +1 -1
  15. package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js +20 -0
  16. package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
  17. package/lib/commonjs/modules/bt-management/services/device-creator.js +7 -1
  18. package/lib/commonjs/modules/bt-management/services/device-creator.js.map +1 -1
  19. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.command-sequencer.js +68 -0
  20. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.command-sequencer.js.map +1 -0
  21. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js +55 -0
  22. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js.map +1 -0
  23. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.frame-parser.js +36 -0
  24. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.frame-parser.js.map +1 -0
  25. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.frame-reader.js +68 -0
  26. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.frame-reader.js.map +1 -0
  27. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.main-services.js +31 -0
  28. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.main-services.js.map +1 -0
  29. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.js +73 -0
  30. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.js.map +1 -0
  31. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js +55 -0
  32. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -0
  33. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.frame-parser.js +53 -0
  34. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.frame-parser.js.map +1 -0
  35. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.js +55 -0
  36. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.js.map +1 -0
  37. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.main-services.js +30 -0
  38. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.main-services.js.map +1 -0
  39. package/lib/commonjs/modules/bt-management/services/devices/bt-data-processor.js +1 -0
  40. package/lib/commonjs/modules/bt-management/services/devices/bt-data-processor.js.map +1 -1
  41. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js +4 -0
  42. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  43. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.device.js +57 -0
  44. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.device.js.map +1 -0
  45. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.protocol.js +263 -0
  46. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.protocol.js.map +1 -0
  47. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js +255 -0
  48. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -0
  49. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +87 -6
  50. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  51. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js +3 -0
  52. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
  53. package/lib/commonjs/modules/bt-management/services/devices/measurement-state-machine.js +1 -0
  54. package/lib/commonjs/modules/bt-management/services/devices/measurement-state-machine.js.map +1 -1
  55. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +4 -0
  56. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
  57. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js +4 -0
  58. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
  59. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js +10 -0
  60. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
  61. package/lib/commonjs/modules/bt-management/types/clock-sync.js +1 -0
  62. package/lib/commonjs/modules/bt-management/types/clock-sync.js.map +1 -1
  63. package/lib/commonjs/modules/bt-management/types/custom-session-policy.js +2 -0
  64. package/lib/commonjs/modules/bt-management/types/custom-session-policy.js.map +1 -0
  65. package/lib/commonjs/modules/bt-management/types/integrated-devices.js +3 -0
  66. package/lib/commonjs/modules/bt-management/types/integrated-devices.js.map +1 -1
  67. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js +4 -1
  68. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
  69. package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js +3 -1
  70. package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -1
  71. package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js +1 -1
  72. package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -1
  73. package/lib/module/modules/bt-device/constants/supported-devices.js +26 -1
  74. package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
  75. package/lib/module/modules/bt-management/constants/integrated-devices-map.js +2 -1
  76. package/lib/module/modules/bt-management/constants/integrated-devices-map.js.map +1 -1
  77. package/lib/module/modules/bt-management/index.js +7 -0
  78. package/lib/module/modules/bt-management/index.js.map +1 -1
  79. package/lib/module/modules/bt-management/services/background-sync/background-service-uuids.js +4 -0
  80. package/lib/module/modules/bt-management/services/background-sync/background-service-uuids.js.map +1 -1
  81. package/lib/module/modules/bt-management/services/custom/define-custom-device.js +20 -0
  82. package/lib/module/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
  83. package/lib/module/modules/bt-management/services/device-creator.js +7 -1
  84. package/lib/module/modules/bt-management/services/device-creator.js.map +1 -1
  85. package/lib/module/modules/bt-management/services/devices/a606/a606.command-sequencer.js +61 -0
  86. package/lib/module/modules/bt-management/services/devices/a606/a606.command-sequencer.js.map +1 -0
  87. package/lib/module/modules/bt-management/services/devices/a606/a606.device.js +45 -0
  88. package/lib/module/modules/bt-management/services/devices/a606/a606.device.js.map +1 -0
  89. package/lib/module/modules/bt-management/services/devices/a606/a606.frame-parser.js +32 -0
  90. package/lib/module/modules/bt-management/services/devices/a606/a606.frame-parser.js.map +1 -0
  91. package/lib/module/modules/bt-management/services/devices/a606/a606.frame-reader.js +63 -0
  92. package/lib/module/modules/bt-management/services/devices/a606/a606.frame-reader.js.map +1 -0
  93. package/lib/module/modules/bt-management/services/devices/a606/a606.main-services.js +28 -0
  94. package/lib/module/modules/bt-management/services/devices/a606/a606.main-services.js.map +1 -0
  95. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.js +66 -0
  96. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.js.map +1 -0
  97. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js +45 -0
  98. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -0
  99. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.frame-parser.js +48 -0
  100. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.frame-parser.js.map +1 -0
  101. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.js +50 -0
  102. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.js.map +1 -0
  103. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.main-services.js +26 -0
  104. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.main-services.js.map +1 -0
  105. package/lib/module/modules/bt-management/services/devices/bt-data-processor.js +1 -0
  106. package/lib/module/modules/bt-management/services/devices/bt-data-processor.js.map +1 -1
  107. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js +4 -0
  108. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  109. package/lib/module/modules/bt-management/services/devices/checkme/checkme.device.js +53 -0
  110. package/lib/module/modules/bt-management/services/devices/checkme/checkme.device.js.map +1 -0
  111. package/lib/module/modules/bt-management/services/devices/checkme/checkme.protocol.js +247 -0
  112. package/lib/module/modules/bt-management/services/devices/checkme/checkme.protocol.js.map +1 -0
  113. package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js +245 -0
  114. package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -0
  115. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +87 -6
  116. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  117. package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js +3 -0
  118. package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
  119. package/lib/module/modules/bt-management/services/devices/measurement-state-machine.js +1 -0
  120. package/lib/module/modules/bt-management/services/devices/measurement-state-machine.js.map +1 -1
  121. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +4 -0
  122. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
  123. package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js +4 -0
  124. package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
  125. package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js +10 -0
  126. package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
  127. package/lib/module/modules/bt-management/types/clock-sync.js +1 -0
  128. package/lib/module/modules/bt-management/types/clock-sync.js.map +1 -1
  129. package/lib/module/modules/bt-management/types/custom-device-definition.js.map +1 -1
  130. package/lib/module/modules/bt-management/types/custom-session-policy.js +2 -0
  131. package/lib/module/modules/bt-management/types/custom-session-policy.js.map +1 -0
  132. package/lib/module/modules/bt-management/types/device-measurement-map.js.map +1 -1
  133. package/lib/module/modules/bt-management/types/integrated-devices.js +3 -0
  134. package/lib/module/modules/bt-management/types/integrated-devices.js.map +1 -1
  135. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  136. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +3 -1
  137. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -1
  138. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -1
  139. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts +7 -0
  140. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  141. package/lib/typescript/commonjs/src/modules/bt-management/constants/integrated-devices-map.d.ts.map +1 -1
  142. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts +7 -0
  143. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
  144. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts.map +1 -1
  145. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
  146. package/lib/typescript/commonjs/src/modules/bt-management/services/device-creator.d.ts.map +1 -1
  147. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.command-sequencer.d.ts +22 -0
  148. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.command-sequencer.d.ts.map +1 -0
  149. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.device.d.ts +24 -0
  150. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.device.d.ts.map +1 -0
  151. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.frame-parser.d.ts +10 -0
  152. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.frame-parser.d.ts.map +1 -0
  153. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.frame-reader.d.ts +9 -0
  154. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.frame-reader.d.ts.map +1 -0
  155. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.main-services.d.ts +4 -0
  156. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.main-services.d.ts.map +1 -0
  157. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.d.ts +21 -0
  158. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.d.ts.map +1 -0
  159. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.device.d.ts +22 -0
  160. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.device.d.ts.map +1 -0
  161. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.frame-parser.d.ts +9 -0
  162. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.frame-parser.d.ts.map +1 -0
  163. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.d.ts +8 -0
  164. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.d.ts.map +1 -0
  165. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.main-services.d.ts +4 -0
  166. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.main-services.d.ts.map +1 -0
  167. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts +1 -0
  168. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
  169. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts +2 -0
  170. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  171. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts +18 -0
  172. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts.map +1 -0
  173. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.protocol.d.ts +79 -0
  174. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.protocol.d.ts.map +1 -0
  175. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts +52 -0
  176. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -0
  177. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts +10 -0
  178. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  179. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts +3 -0
  180. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
  181. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/measurement-state-machine.d.ts +1 -0
  182. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/measurement-state-machine.d.ts.map +1 -1
  183. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts.map +1 -1
  184. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts.map +1 -1
  185. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts.map +1 -1
  186. package/lib/typescript/commonjs/src/modules/bt-management/types/clock-sync.d.ts.map +1 -1
  187. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts +2 -0
  188. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  189. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-spec.d.ts +3 -0
  190. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-spec.d.ts.map +1 -1
  191. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-session-policy.d.ts +13 -0
  192. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-session-policy.d.ts.map +1 -0
  193. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +8 -0
  194. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  195. package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts +4 -1
  196. package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
  197. package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  198. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +3 -1
  199. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -1
  200. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -1
  201. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts +7 -0
  202. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  203. package/lib/typescript/module/src/modules/bt-management/constants/integrated-devices-map.d.ts.map +1 -1
  204. package/lib/typescript/module/src/modules/bt-management/index.d.ts +7 -0
  205. package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
  206. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts.map +1 -1
  207. package/lib/typescript/module/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
  208. package/lib/typescript/module/src/modules/bt-management/services/device-creator.d.ts.map +1 -1
  209. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.command-sequencer.d.ts +22 -0
  210. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.command-sequencer.d.ts.map +1 -0
  211. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.device.d.ts +24 -0
  212. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.device.d.ts.map +1 -0
  213. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.frame-parser.d.ts +10 -0
  214. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.frame-parser.d.ts.map +1 -0
  215. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.frame-reader.d.ts +9 -0
  216. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.frame-reader.d.ts.map +1 -0
  217. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.main-services.d.ts +4 -0
  218. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.main-services.d.ts.map +1 -0
  219. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.d.ts +21 -0
  220. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.d.ts.map +1 -0
  221. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.device.d.ts +22 -0
  222. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.device.d.ts.map +1 -0
  223. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.frame-parser.d.ts +9 -0
  224. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.frame-parser.d.ts.map +1 -0
  225. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.d.ts +8 -0
  226. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.d.ts.map +1 -0
  227. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.main-services.d.ts +4 -0
  228. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.main-services.d.ts.map +1 -0
  229. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts +1 -0
  230. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
  231. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts +2 -0
  232. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  233. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts +18 -0
  234. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts.map +1 -0
  235. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.protocol.d.ts +79 -0
  236. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.protocol.d.ts.map +1 -0
  237. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts +52 -0
  238. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -0
  239. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts +10 -0
  240. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  241. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts +3 -0
  242. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
  243. package/lib/typescript/module/src/modules/bt-management/services/devices/measurement-state-machine.d.ts +1 -0
  244. package/lib/typescript/module/src/modules/bt-management/services/devices/measurement-state-machine.d.ts.map +1 -1
  245. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts.map +1 -1
  246. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts.map +1 -1
  247. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts.map +1 -1
  248. package/lib/typescript/module/src/modules/bt-management/types/clock-sync.d.ts.map +1 -1
  249. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts +2 -0
  250. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  251. package/lib/typescript/module/src/modules/bt-management/types/custom-device-spec.d.ts +3 -0
  252. package/lib/typescript/module/src/modules/bt-management/types/custom-device-spec.d.ts.map +1 -1
  253. package/lib/typescript/module/src/modules/bt-management/types/custom-session-policy.d.ts +13 -0
  254. package/lib/typescript/module/src/modules/bt-management/types/custom-session-policy.d.ts.map +1 -0
  255. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +8 -0
  256. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  257. package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts +4 -1
  258. package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
  259. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
1
  import { ClockSyncCapability } from "./clock-sync";
2
2
  import { CustomLepuSpec } from "./custom-lepu-spec";
3
3
  import { CustomServiceSpec } from "./custom-service-spec";
4
+ import { CustomSessionPolicy } from "./custom-session-policy";
4
5
  /** Plain, JSON-shaped declaration of a Bluetooth device the SDK has no class for. */
5
6
  export interface CustomDeviceSpec {
6
7
  /** Reported back as deviceData.name. Built-in names are reserved. */
@@ -11,6 +12,8 @@ export interface CustomDeviceSpec {
11
12
  matchByService?: boolean;
12
13
  /** Report one result, then stay quiet until the next connection. */
13
14
  oneReadingPerConnection?: boolean;
15
+ /** Aggregate valid live samples into one result when the session ends. */
16
+ sessionPolicy?: CustomSessionPolicy;
14
17
  /** Declares the clock capability when a custom protocol has been verified. */
15
18
  clockSync?: ClockSyncCapability;
16
19
  /** Milliseconds without a usable frame before the read is abandoned. 1000-6000000. */
@@ -1 +1 @@
1
- {"version":3,"file":"custom-device-spec.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/custom-device-spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,qFAAqF;AACrF,MAAM,WAAW,gBAAgB;IAE/B,qEAAqE;IACrE,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE5B,wFAAwF;IACxF,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,oEAAoE;IACpE,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC,8EAA8E;IAC9E,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAEhC,sFAAsF;IACtF,kBAAkB,EAAE,MAAM,CAAC;IAE3B,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAE9B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB"}
1
+ {"version":3,"file":"custom-device-spec.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/custom-device-spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,qFAAqF;AACrF,MAAM,WAAW,gBAAgB;IAE/B,qEAAqE;IACrE,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE5B,wFAAwF;IACxF,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,oEAAoE;IACpE,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC,0EAA0E;IAC1E,aAAa,CAAC,EAAE,mBAAmB,CAAC;IAEpC,8EAA8E;IAC9E,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAEhC,sFAAsF;IACtF,kBAAkB,EAAE,MAAM,CAAC;IAE3B,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAE9B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Describes how a declarative device turns live samples into a completed reading.
3
+ *
4
+ * This is deliberately protocol-agnostic. It is useful for any device that sends
5
+ * display samples during a session but should persist one summary when the session ends.
6
+ */
7
+ export interface CustomSessionPolicy {
8
+ /** The minimum number of valid samples needed before a summary is emitted. */
9
+ minSamples: number;
10
+ /** Emit the arithmetic mean, or keep the live session display-only. */
11
+ emit: "mean" | "none";
12
+ }
13
+ //# sourceMappingURL=custom-session-policy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-session-policy.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/custom-session-policy.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,mBAAmB;IAElC,8EAA8E;IAC9E,UAAU,EAAE,MAAM,CAAC;IAEnB,uEAAuE;IACvE,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB"}
@@ -15,6 +15,11 @@ type ActivityStepCountMeasurement = {
15
15
  start?: Date;
16
16
  end?: Date;
17
17
  };
18
+ type CheckmeHeartRateMeasurement = {
19
+ measurementTypeKey: MeasurementTypeKey.heartRate;
20
+ heartRate?: number;
21
+ recordedAt?: Date;
22
+ };
18
23
  type VerovalEcgMeasurement = EcgMeasurement & {
19
24
  memorySlot?: number;
20
25
  };
@@ -43,6 +48,9 @@ interface DeviceMeasurementMap {
43
48
  [IntegratedDevices.ALIVE_COR]: never;
44
49
  [IntegratedDevices.BGM]: BloodGlucoseMeasurement;
45
50
  [IntegratedDevices.GENIAL_T31]: BodyTemperatureMeasurement;
51
+ [IntegratedDevices.ZH_SG_A606]: BloodGlucoseMeasurement;
52
+ [IntegratedDevices.BPW1]: BloodPressureMeasurement;
53
+ [IntegratedDevices.CHECKME]: BloodPressureMeasurement | EcgMeasurement | PulseOximeterMeasurement | BodyTemperatureMeasurement | CheckmeHeartRateMeasurement;
46
54
  }
47
55
  /**
48
56
  * A built-in device has a measurement type the SDK knows statically. A device registered
@@ -1 +1 @@
1
- {"version":3,"file":"device-measurement-map.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/device-measurement-map.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,EAC1B,cAAc,EACd,wBAAwB,EACxB,uBAAuB,EACxB,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,KAAK,4BAA4B,GAAG;IAClC,kBAAkB,E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AE,wBAAwB,CAAC;IAClE,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,qBAAqB,GAAG,wBAAwB,CAAC;IAClF,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,EAChC,4BAA4B,GAC5B,4BAA4B,CAAC;IACjC,CAAC,iBAAiB,CAAC,UAAU,CAAC,EAAE,KAAK,CAAC;IACtC,CAAC,iBAAiB,CAAC,SAAS,CAAC,EAAE,KAAK,CAAC;IACrC,CAAC,iBAAiB,CAAC,UAAU,CAAC,EAAE,KAAK,CAAC;IACtC,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC;IAChC,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC;IACjC,CAAC,iBAAiB,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC;IAC9B,CAAC,iBAAiB,CAAC,SAAS,CAAC,EAAE,KAAK,CAAC;IACrC,CAAC,iBAAiB,CAAC,GAAG,CAAC,EAAE,uBAAuB,CAAC;IACjD,CAAC,iBAAiB,CAAC,UAAU,CAAC,EAAE,0BAA0B,CAAC;CAC5D;AAED;;;GAGG;AACH,KAAK,oBAAoB,CAAC,CAAC,SAAS,SAAS,IAAI,CAAC,SAAS,iBAAiB,GACxE,oBAAoB,CAAC,CAAC,CAAC,GACvB,iBAAiB,CAAC;AAEtB,MAAM,MAAM,yBAAyB,CAAC,CAAC,SAAS,SAAS,SAAS,EAAE,IAClE,oBAAoB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG;IAAE,QAAQ,EAAE,QAAQ,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"device-measurement-map.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/device-measurement-map.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,EAC1B,cAAc,EACd,wBAAwB,EACxB,uBAAuB,EACxB,kBAAkB,EAAE,MAAM,YAA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iB,CAAC,OAAO,CAAC,EACvB,wBAAwB,GACxB,cAAc,GACd,wBAAwB,GACxB,0BAA0B,GAC1B,2BAA2B,CAAC;CACjC;AAED;;;GAGG;AACH,KAAK,oBAAoB,CAAC,CAAC,SAAS,SAAS,IAAI,CAAC,SAAS,iBAAiB,GACxE,oBAAoB,CAAC,CAAC,CAAC,GACvB,iBAAiB,CAAC;AAEtB,MAAM,MAAM,yBAAyB,CAAC,CAAC,SAAS,SAAS,SAAS,EAAE,IAClE,oBAAoB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG;IAAE,QAAQ,EAAE,QAAQ,CAAA;CAAE,CAAC"}
@@ -22,6 +22,9 @@ export declare enum IntegratedDevices {
22
22
  VEROVAL_DUO_CONTROL = "Veroval duo control",
23
23
  VEROVAL_ECG = "Veroval ECG",
24
24
  VEROVAL_ACTIVITY = "Veroval Activity",
25
- GENIAL_T31 = "Genial-T31"
25
+ GENIAL_T31 = "Genial-T31",
26
+ ZH_SG_A606 = "ZH-SG-A606",
27
+ BPW1 = "BPW1",
28
+ CHECKME = "Checkme"
26
29
  }
27
30
  //# sourceMappingURL=integrated-devices.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"integrated-devices.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/integrated-devices.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,EAAE,OAAO;IACT,GAAG,QAAQ;IACX,IAAI,WAAW;IACf,OAAO,YAAY;IACnB,MAAM,YAAY;IAClB,MAAM,aAAa;IACnB,cAAc,kBAAkB;IAChC,UAAU,eAAe;IACzB,YAAY,SAAS;IACrB,QAAQ,cAAc;IACtB,QAAQ,QAAQ;IAChB,IAAI,SAAS;IACb,UAAU,cAAc;IACxB,SAAS,eAAe;IACxB,UAAU,kBAAkB;IAC5B,IAAI,SAAS;IACb,KAAK,aAAa;IAClB,EAAE,UAAU;IACZ,SAAS,aAAa;IACtB,GAAG,QAAQ;IACX,mBAAmB,wBAAwB;IAC3C,WAAW,gBAAgB;IAC3B,gBAAgB,qBAAqB;IACrC,UAAU,eAAe;CAC1B"}
1
+ {"version":3,"file":"integrated-devices.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/integrated-devices.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,EAAE,OAAO;IACT,GAAG,QAAQ;IACX,IAAI,WAAW;IACf,OAAO,YAAY;IACnB,MAAM,YAAY;IAClB,MAAM,aAAa;IACnB,cAAc,kBAAkB;IAChC,UAAU,eAAe;IACzB,YAAY,SAAS;IACrB,QAAQ,cAAc;IACtB,QAAQ,QAAQ;IAChB,IAAI,SAAS;IACb,UAAU,cAAc;IACxB,SAAS,eAAe;IACxB,UAAU,kBAAkB;IAC5B,IAAI,SAAS;IACb,KAAK,aAAa;IAClB,EAAE,UAAU;IACZ,SAAS,aAAa;IACtB,GAAG,QAAQ;IACX,mBAAmB,wBAAwB;IAC3C,WAAW,gBAAgB;IAC3B,gBAAgB,qBAAqB;IACrC,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,OAAO,YAAY;CACpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"device-instruction-pdfs.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/device-instruction-pdfs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAOjF,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAyBrE,CAAC"}
1
+ {"version":3,"file":"device-instruction-pdfs.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/device-instruction-pdfs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAOjF,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CA4BrE,CAAC"}
@@ -10,6 +10,7 @@ declare const viatomBp3Image = "https://static.wixstatic.com/media/c3f028_2bf2ec
10
10
  declare const viatomF4Image = "https://static.wixstatic.com/media/5118d8_190c0d815e2445b28baa9ca15cbb71fc~mv2.png/v1/fill/w_608,h_608,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/F4%20body%20scale.png";
11
11
  declare const viatomO2RingImage = "https://static.wixstatic.com/media/5118d8_5424b9d2006a4e918e2f9afc2f038f37~mv2.png/v1/fill/w_492,h_492,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/O2ring_edited_edited_edited.png";
12
12
  declare const viatomEr1Image = "https://static.wixstatic.com/media/c3f028_1cde982861754abaab00abbaae81a697~mv2.png/v1/fill/w_586,h_586,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/ER1-LW.png";
13
+ declare const viatomCheckmeImage = "https://static.wixstatic.com/media/5118d8_c08c5dadeeda4abaa01d032d342b6404~mv2.png/v1/fill/w_304,h_304,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/new-lite-2.png";
13
14
  declare const viatomAojImage = "https://static.wixstatic.com/media/34caa4_2b929fc2abc847bba39252b6e2a12a93~mv2.jpg/v1/fill/w_540,h_540,al_c,lg_1,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/AOJ.jpg";
14
15
  declare const bundledAssetCredit = "OVOK Mobile SDK bundled image asset: src/modules/bt-device/constants/device-images.ts";
15
16
  declare const hartmannDuoControlCredit = "HARTMANN official product image: https://www.hartmann.info/en-za/products/diagnostics/blood-pressure-monitors/upper-arm-products/veroval%C2%AE-duo-control";
@@ -26,6 +27,7 @@ declare const viatomBp3Credit = "Viatom official product image: https://www.viat
26
27
  declare const viatomBodyScaleCredit = "Viatom official product image: https://www.viatomtech.com/bodyscale";
27
28
  declare const viatomOximeterCredit = "Viatom official product image: https://www.viatomtech.com/pulse-oximeter";
28
29
  declare const viatomEcgCredit = "Viatom official product image: https://www.viatomtech.com/ecg-ekg-monitor";
30
+ declare const viatomCheckmeCredit = "Viatom official Checkme product image: https://www.viatomtech.com/vital-signs-monitor";
29
31
  declare const aojCredit = "Viatom official product image: https://www.viatomtech.com/thermometer";
30
32
  declare const taidocCredit = "TaiDoc official product catalogue: https://taidoc.com/downloads/";
31
33
  declare const foraCredit = "FORA official support materials: https://foracare.com/support/";
@@ -33,5 +35,5 @@ declare const cosinussCredit = "cosinuss\u00B0 official product page: https://ww
33
35
  declare const alivecorCredit = "AliveCor official KardiaMobile product page: https://www.alivecor.com/kardiamobile";
34
36
  declare const contecCredit = "Contec official BC401 product page: https://contechealth.com/collections/hot-sales/products/contec-bc401-handheld-urine-analyzer-11-parameter-600pcs-test-strip-bluetooth";
35
37
  declare const transtekCredit = "Transtek official product page: https://www.transtekmed.com/product/transtek-body-scale-gbs-2012-b1";
36
- export { alivecorCredit, aojCredit, bosoMedicusSystemCredit, bosoMedicusSystemImage, bundledAssetCredit, contecCredit, cosinussCredit, cyclotestMySenseCredit, cyclotestMySenseImage, foraCredit, hartmannBpu26Credit, hartmannBpw26Credit, hartmannFusionCredit, hartmannActivityCredit, hartmannDuoControlCredit, hartmannEcgCredit, taidocCredit, transtekCredit, viatomAojImage, viatomBodyScaleCredit, viatomBp2Image, viatomBp3Credit, viatomBp3Image, viatomBloodPressureCredit, viatomEcgCredit, viatomEr1Image, viatomF4Image, viatomO2RingImage, viatomOximeterCredit, verovalBpu26Image, verovalBpw26Image, verovalFusionImage, verovalActivityImage, visomatComfortSoftBtCredit, visomatComfortSoftBtImage, };
38
+ export { alivecorCredit, aojCredit, bosoMedicusSystemCredit, bosoMedicusSystemImage, bundledAssetCredit, contecCredit, cosinussCredit, cyclotestMySenseCredit, cyclotestMySenseImage, foraCredit, hartmannBpu26Credit, hartmannBpw26Credit, hartmannFusionCredit, hartmannActivityCredit, hartmannDuoControlCredit, hartmannEcgCredit, taidocCredit, transtekCredit, viatomAojImage, viatomBodyScaleCredit, viatomBp2Image, viatomBp3Credit, viatomBp3Image, viatomBloodPressureCredit, viatomCheckmeCredit, viatomCheckmeImage, viatomEcgCredit, viatomEr1Image, viatomF4Image, viatomO2RingImage, viatomOximeterCredit, verovalBpu26Image, verovalBpw26Image, verovalFusionImage, verovalActivityImage, visomatComfortSoftBtCredit, visomatComfortSoftBtImage, };
37
39
  //# sourceMappingURL=supported-device-catalog-assets.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"supported-device-catalog-assets.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-assets.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,iBAAiB,mDAAmD,CAAC;AAE3E,QAAA,MAAM,iBAAiB,mDAAmD,CAAC;AAE3E,QAAA,MAAM,kBAAkB,oDAAoD,CAAC;AAE7E,QAAA,MAAM,oBAAoB,+HACoG,CAAC;AAE/H,QAAA,MAAM,sBAAsB,yFAC4D,CAAC;AAEzF,QAAA,MAAM,yBAAyB,qFACqD,CAAC;AAErF,QAAA,MAAM,qBAAqB,4GACgF,CAAC;AAE5G,QAAA,MAAM,cAAc,oMAC+K,CAAC;AAEpM,QAAA,MAAM,cAAc,kKAC6I,CAAC;AAElK,QAAA,MAAM,aAAa,oLACgK,CAAC;AAEpL,QAAA,MAAM,iBAAiB,8LACsK,CAAC;AAE9L,QAAA,MAAM,cAAc,yKACoJ,CAAC;AAEzK,QAAA,MAAM,cAAc,2KACsJ,CAAC;AAE3K,QAAA,MAAM,kBAAkB,0FACiE,CAAC;AAE1F,QAAA,MAAM,wBAAwB,+JACgI,CAAC;AAE/J,QAAA,MAAM,iBAAiB,wIACgH,CAAC;AAExI,QAAA,MAAM,mBAAmB,oMAC0K,CAAC;AAEpM,QAAA,MAAM,mBAAmB,4LACkK,CAAC;AAE5L,QAAA,MAAM,oBAAoB,iMACsK,CAAC;AAEjM,QAAA,MAAM,sBAAsB,+MACkL,CAAC;AAE/M,QAAA,MAAM,uBAAuB,+HACiG,CAAC;AAE/H,QAAA,MAAM,0BAA0B,qFACoD,CAAC;AAErF,QAAA,MAAM,sBAAsB,2GAC8E,CAAC;AAE3G,QAAA,MAAM,yBAAyB,qFACqD,CAAC;AAErF,QAAA,MAAM,eAAe,oGAC8E,CAAC;AAEpG,QAAA,MAAM,qBAAqB,wEAC4C,CAAC;AAExE,QAAA,MAAM,oBAAoB,6EACkD,CAAC;AAE7E,QAAA,MAAM,eAAe,8EACwD,CAAC;AAE9E,QAAA,MAAM,SAAS,0EAC0D,CAAC;AAE1E,QAAA,MAAM,YAAY,qEACkD,CAAC;AAErE,QAAA,MAAM,UAAU,mEAAmE,CAAC;AAEpF,QAAA,MAAM,cAAc,mGACyE,CAAC;AAE9F,QAAA,MAAM,cAAc,uFACkE,CAAC;AAEvF,QAAA,MAAM,YAAY,8KAC2J,CAAC;AAE9K,QAAA,MAAM,cAAc,wGACmF,CAAC;AAExG,OAAO,EACL,cAAc,EACd,SAAS,EACT,uBAAuB,EACvB,sBAAsB,EACtB,kBAAkB,EAClB,YAAY,EACZ,cAAc,EACd,sBAAsB,EACtB,qBAAqB,EACrB,UAAU,EACV,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,wBAAwB,EACxB,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,cAAc,EACd,yBAAyB,EACzB,eAAe,EACf,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,0BAA0B,EAC1B,yBAAyB,GAC1B,CAAC"}
1
+ {"version":3,"file":"supported-device-catalog-assets.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-assets.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,iBAAiB,mDAAmD,CAAC;AAE3E,QAAA,MAAM,iBAAiB,mDAAmD,CAAC;AAE3E,QAAA,MAAM,kBAAkB,oDAAoD,CAA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AAc,mGACyE,CAAC;AAE9F,QAAA,MAAM,cAAc,uFACkE,CAAC;AAEvF,QAAA,MAAM,YAAY,8KAC2J,CAAC;AAE9K,QAAA,MAAM,cAAc,wGACmF,CAAC;AAExG,OAAO,EACL,cAAc,EACd,SAAS,EACT,uBAAuB,EACvB,sBAAsB,EACtB,kBAAkB,EAClB,YAAY,EACZ,cAAc,EACd,sBAAsB,EACtB,qBAAqB,EACrB,UAAU,EACV,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,wBAAwB,EACxB,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,cAAc,EACd,yBAAyB,EACzB,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,0BAA0B,EAC1B,yBAAyB,GAC1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"supported-device-catalog-entries.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-entries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AA4F3D,eAAO,MAAM,0BAA0B,8PA0GQ,CAAC"}
1
+ {"version":3,"file":"supported-device-catalog-entries.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-entries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AA6F3D,eAAO,MAAM,0BAA0B,8PA0GQ,CAAC"}
@@ -122,6 +122,13 @@ declare const Devices: readonly [{
122
122
  readonly manufacturerKey: "devices.catalog.manufacturers.aoj";
123
123
  readonly logo: "https://static.wixstatic.com/media/34caa4_2b929fc2abc847bba39252b6e2a12a93~mv2.jpg/v1/fill/w_540,h_540,al_c,lg_1,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/AOJ.jpg";
124
124
  readonly creditsForImage: "Viatom official product image: https://www.viatomtech.com/thermometer";
125
+ }, {
126
+ readonly name: "Checkme";
127
+ readonly nameKey: "devices.catalog.checkme.name";
128
+ readonly manufacturer: "Viatom (Lepu Medical)";
129
+ readonly manufacturerKey: "devices.catalog.manufacturers.viatom";
130
+ readonly logo: "https://static.wixstatic.com/media/5118d8_c08c5dadeeda4abaa01d032d342b6404~mv2.png/v1/fill/w_304,h_304,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/new-lite-2.png";
131
+ readonly creditsForImage: "Viatom official Checkme product image: https://www.viatomtech.com/vital-signs-monitor";
125
132
  }, {
126
133
  readonly name: "Viatom BP2A / BP2T / BP2W";
127
134
  readonly nameKey: "devices.catalog.viatom-bp2-family.name";
@@ -1 +1 @@
1
- {"version":3,"file":"supported-devices.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-devices.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAqDhF,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,IAAI,CAAC;CACxB,CAAC;AAEF,KAAK,yBAAyB,GAAG,eAAe,GAAG;IAEjD,4DAA4D;IAC5D,EAAE,EAAE,MAAM,CAAC;IACX,eAAe,EAAE,SAAS,cAAc,EAAE,CAAC;IAC3C,gBAAgB,EAAE,SAAS,kBAAkB,EAAE,CAAC;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAeF;;;;;;;GAOG;AACH,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qPAuMkC,CAAC;AA6NhD,+FAA+F;AAC/F,QAAA,MAAM,gBAAgB,EAAE,SAAS,yBAAyB,EAQxD,CAAC;AAEH,QAAA,MAAM,iBAAiB,sCAAmB,CAAC;AAK3C,iFAAiF;AACjF,QAAA,MAAM,0BAA0B,EAAE,SAAS,cAAc,EAMxD,CAAC;AAEF,OAAO,EACL,OAAO,EACP,0BAA0B,EAC1B,iBAAiB,EACjB,gBAAgB,GACjB,CAAC;AACF,YAAY,EAAE,eAAe,EAAE,yBAAyB,EAAE,CAAC"}
1
+ {"version":3,"file":"supported-devices.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-devices.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AA6EhF,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,IAAI,CAAC;CACxB,CAAC;AAEF,KAAK,yBAAyB,GAAG,eAAe,GAAG;IAEjD,4DAA4D;IAC5D,EAAE,EAAE,MAAM,CAAC;IACX,eAAe,EAAE,SAAS,cAAc,EAAE,CAAC;IAC3C,gBAAgB,EAAE,SAAS,kBAAkB,EAAE,CAAC;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAeF;;;;;;;GAOG;AACH,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qPA+MkC,CAAC;AAgShD,+FAA+F;AAC/F,QAAA,MAAM,gBAAgB,EAAE,SAAS,yBAAyB,EAUzD,CAAC;AAEF,QAAA,MAAM,iBAAiB,sCAAmB,CAAC;AAK3C,iFAAiF;AACjF,QAAA,MAAM,0BAA0B,EAAE,SAAS,cAAc,EAMxD,CAAC;AAEF,OAAO,EACL,OAAO,EACP,0BAA0B,EAC1B,iBAAiB,EACjB,gBAAgB,GACjB,CAAC;AACF,YAAY,EAAE,eAAe,EAAE,yBAAyB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"integrated-devices-map.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/integrated-devices-map.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,eAAO,MAAM,oBAAoB,gCAwB/B,CAAC"}
1
+ {"version":3,"file":"integrated-devices-map.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/integrated-devices-map.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,eAAO,MAAM,oBAAoB,gCA2B/B,CAAC"}
@@ -64,6 +64,13 @@ export * from "./services/devices/aoj/aoj.frame-reader";
64
64
  export * from "./services/devices/genial-t31/genial-t31.device";
65
65
  export * from "./services/devices/genial-t31/genial-t31.command-sequencer";
66
66
  export * from "./services/devices/genial-t31/genial-t31.frame-reader";
67
+ export * from "./services/devices/a606/a606.device";
68
+ export * from "./services/devices/a606/a606.command-sequencer";
69
+ export * from "./services/devices/a606/a606.frame-reader";
70
+ export * from "./services/devices/a606/a606.frame-parser";
71
+ export * from "./services/devices/checkme/checkme.device";
72
+ export * from "./services/devices/checkme/checkme.protocol";
73
+ export * from "./services/devices/checkme/checkme.sequencer";
67
74
  export * from "./services/devices/viatom/viatom.bp-monitors";
68
75
  export * from "./services/devices/viatom/viatom.oximeters";
69
76
  export * from "./services/devices/viatom/viatom.ecg-recorders";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/bt-management/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;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,8CAA8C,CAAC;AAC7D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,wCAAwC,CAAC;AACvD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,4CAA4C,CAAC;AAE3D,cAAc,uCAAuC,CAAC;AAEtD,cAAc,0BAA0B,CAAC;AACzC,cAAc,sCAAsC,CAAC;AACrD,cAAc,0CAA0C,CAAC;AACzD,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"background-service-uuids.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/background-sync/background-service-uuids.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AA2B7D,eAAO,MAAM,yBAAyB,GACpC,iBAAiB,SAAS,cAAc,EAAE,EAC1C,yBAAwB,SAAS,MAAM,EAAO,KAC7C,MAAM,EAaR,CAAC"}
1
+ {"version":3,"file":"background-service-uuids.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/background-sync/background-service-uuids.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AA+B7D,eAAO,MAAM,yBAAyB,GACpC,iBAAiB,SAAS,cAAc,EAAE,EAC1C,yBAAwB,SAAS,MAAM,EAAO,KAC7C,MAAM,EAaR,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"define-custom-device.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/custom/define-custom-device.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACvB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AA8IlE;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,GAC7B,MAAM,gBAAgB,EACtB,UAAS;IAAE,eAAe,CAAC,EAAE,sBAAsB,CAAA;CAAO,KACzD,sBAsFF,CAAC"}
1
+ {"version":3,"file":"define-custom-device.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/custom/define-custom-device.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACvB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAyKlE;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,GAC7B,MAAM,gBAAgB,EACtB,UAAS;IAAE,eAAe,CAAC,EAAE,sBAAsB,CAAA;CAAO,KACzD,sBAwFF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"device-creator.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/services/device-creator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAQrD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AA2E9D,qBAAa,aAAa,CAAC,CAAC,SAAS,SAAS,cAAc,EAAE;IAKhD,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAJhD,OAAO,CAAC,eAAe,CAAuC;IAC9D,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAO;IACtC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAsC;gBAEvC,mBAAmB,EAAE,CAAC;IAI5C,aAAa,GAClB,WAAW,MAAM,EACjB,eAAc,SAAS,MAAM,EAAO,KACnC,WAAW,CAAC,CAAC,CAAC,GAAG,SAAS,CAwB3B;IAEK,YAAY,CAAC,CAAC,SAAS,SAAS,EACrC,MAAM,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAC5B,eAAe,CAAC,CAAC,CAAC;IA4Cd,OAAO,aAEZ;IAEF;;;OAGG;IACH,OAAO,CAAC,eAAe,CAMP;IAEhB,OAAO,CAAC,eAAe;CAexB"}
1
+ {"version":3,"file":"device-creator.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/services/device-creator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAUrD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AA+E9D,qBAAa,aAAa,CAAC,CAAC,SAAS,SAAS,cAAc,EAAE;IAKhD,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAJhD,OAAO,CAAC,eAAe,CAAuC;IAC9D,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAO;IACtC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAsC;gBAEvC,mBAAmB,EAAE,CAAC;IAI5C,aAAa,GAClB,WAAW,MAAM,EACjB,eAAc,SAAS,MAAM,EAAO,KACnC,WAAW,CAAC,CAAC,CAAC,GAAG,SAAS,CAwB3B;IAEK,YAAY,CAAC,CAAC,SAAS,SAAS,EACrC,MAAM,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAC5B,eAAe,CAAC,CAAC,CAAC;IA4Cd,OAAO,aAEZ;IAEF;;;OAGG;IACH,OAAO,CAAC,eAAe,CAMP;IAEhB,OAAO,CAAC,eAAe;CAexB"}
@@ -0,0 +1,22 @@
1
+ import { ClockSyncOptions } from "../../../types/clock-sync";
2
+ import { CommandSequencer } from "../../../types/command-sequencer";
3
+ import { DeviceCommand } from "../../../types/device-command";
4
+ declare const SERVICE = "0000ff00-0000-1000-8000-00805f9b34fb";
5
+ declare const WRITE = "0000ff01-0000-1000-8000-00805f9b34fb";
6
+ declare const NOTIFY = "0000ff02-0000-1000-8000-00805f9b34fb";
7
+ /** The vendor's post-connect command for the ZH-SG family. */
8
+ declare const buildA606ConnectedCommand: () => string[];
9
+ /** Writes the local clock in the six-byte YY MM DD hh mm ss payload. */
10
+ declare const buildA606TimeCommand: (now: Date) => string[];
11
+ /** Requests the next stored record after the current one was accepted. */
12
+ declare const buildA606UploadCommand: (ack?: boolean) => string[];
13
+ declare class A606CommandSequencer implements CommandSequencer {
14
+ private readonly clockSync?;
15
+ private phase;
16
+ constructor(clockSync?: ClockSyncOptions | undefined);
17
+ initialCommands: () => readonly DeviceCommand[];
18
+ isHistoryTransfer: () => boolean;
19
+ nextCommand: (frame: readonly string[]) => readonly DeviceCommand[] | undefined;
20
+ }
21
+ export { A606CommandSequencer, buildA606ConnectedCommand, buildA606TimeCommand, buildA606UploadCommand, NOTIFY as A606_NOTIFY, SERVICE as A606_SERVICE, WRITE as A606_WRITE, };
22
+ //# sourceMappingURL=a606.command-sequencer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"a606.command-sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/a606/a606.command-sequencer.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAGjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAG9D,QAAA,MAAM,OAAO,yCAAyC,CAAC;AACvD,QAAA,MAAM,KAAK,yCAAyC,CAAC;AACrD,QAAA,MAAM,MAAM,yCAAyC,CAAC;AA2BtD,8DAA8D;AAC9D,QAAA,MAAM,yBAAyB,QAAO,MAAM,EACiB,CAAC;AAE9D,wEAAwE;AACxE,QAAA,MAAM,oBAAoB,GAAI,KAAK,IAAI,KAAG,MAAM,EAgB/C,CAAC;AAEF,0EAA0E;AAC1E,QAAA,MAAM,sBAAsB,GAAI,aAAW,KAAG,MAAM,EAC2B,CAAC;AAEhF,cAAM,oBAAqB,YAAW,gBAAgB;IAGjC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC;IAF9C,OAAO,CAAC,KAAK,CAAkD;gBAE3B,SAAS,CAAC,EAAE,gBAAgB,YAAA;IAEzD,eAAe,QAAO,SAAS,aAAa,EAAE,CAEnD;IAEK,iBAAiB,QAAO,OAAO,CAAS;IAExC,WAAW,GAChB,OAAO,SAAS,MAAM,EAAE,KACvB,SAAS,aAAa,EAAE,GAAG,SAAS,CA2BrC;CACH;AAED,OAAO,EACL,oBAAoB,EACpB,yBAAyB,EACzB,oBAAoB,EACpB,sBAAsB,EACtB,MAAM,IAAI,WAAW,EACrB,OAAO,IAAI,YAAY,EACvB,KAAK,IAAI,UAAU,GACpB,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { Device } from "react-native-ble-plx";
2
+ import { CreateDeviceParams } from "../../../types/create-device-params";
3
+ import { DependentResultHandlerParams } from "../../../types/dependent-result-handler-params";
4
+ import { MeasurementTypeForDevices } from "../../../types/device-measurement-map";
5
+ import { IntegratedDevices } from "../../../types/integrated-devices";
6
+ import { IService } from "../../../types/service.type";
7
+ import { BTManagedDevice } from "../bt-managed-device";
8
+ import { A606FrameReader } from "./a606.frame-reader";
9
+ import { a606MainServices } from "./a606.main-services";
10
+ type A606Measurement = MeasurementTypeForDevices<[
11
+ IntegratedDevices.ZH_SG_A606
12
+ ]>;
13
+ /** Viatom/Lepu ZH-SG-A606 meter, which uploads stored records after connection. */
14
+ declare class A606Device extends BTManagedDevice<IntegratedDevices.ZH_SG_A606> {
15
+ protected mainServices: IService[];
16
+ protected stuckDataTimeout: number;
17
+ protected onStreamStart: undefined;
18
+ protected frameReader: A606FrameReader;
19
+ constructor(device: Device, params: CreateDeviceParams<IntegratedDevices.ZH_SG_A606>);
20
+ protected handleDependentResult: (data: DependentResultHandlerParams<A606Measurement>) => DependentResultHandlerParams<A606Measurement>;
21
+ protected handleSuccessResult(): void | boolean;
22
+ }
23
+ export { A606Device, a606MainServices };
24
+ //# sourceMappingURL=a606.device.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"a606.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/a606/a606.device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAI9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gDAAgD,CAAC;AAC9F,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAIvD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,KAAK,eAAe,GAAG,yBAAyB,CAAC;IAC/C,iBAAiB,CAAC,UAAU;CAC7B,CAAC,CAAC;AAEH,mFAAmF;AACnF,cAAM,UAAW,SAAQ,eAAe,CAAC,iBAAiB,CAAC,UAAU,CAAC;IACpE,SAAS,CAAC,YAAY,EAAE,QAAQ,EAAE,CAAoB;IACtD,SAAS,CAAC,gBAAgB,SAAW;IACrC,SAAS,CAAC,aAAa,YAAa;IACpC,SAAS,CAAC,WAAW,kBAAyB;gBAG5C,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,UAAU,CAAC;IAO1D,SAAS,CAAC,qBAAqB,GAC7B,MAAM,4BAA4B,CAAC,eAAe,CAAC,KAClD,4BAA4B,CAAC,eAAe,CAAC,CAkB9C;IAEF,SAAS,CAAC,mBAAmB,IAAI,IAAI,GAAG,OAAO;CAGhD;AAED,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,10 @@
1
+ interface A606Record {
2
+ bloodGlucose: number;
3
+ recordedAt: Date;
4
+ dataPosition: number;
5
+ }
6
+ /** Decodes the 12-byte glucose payload inside a verified 16-byte ZH-SG record. */
7
+ declare const parseA606Record: (frame: readonly string[]) => A606Record | undefined;
8
+ export { parseA606Record };
9
+ export type { A606Record };
10
+ //# sourceMappingURL=a606.frame-parser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"a606.frame-parser.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/a606/a606.frame-parser.ts"],"names":[],"mappings":"AAEA,UAAU,UAAU;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,IAAI,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;CACtB;AAKD,kFAAkF;AAClF,QAAA,MAAM,eAAe,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,UAAU,GAAG,SA+ChE,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC;AAC3B,YAAY,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { FrameReadResult } from "../../../types/frame-read-result";
2
+ import { FrameReader } from "../../../types/frame-reader";
3
+ /** Reads the `& C/D ... checksum` frames used by Viatom's ZH-SG glucose protocol. */
4
+ export declare class A606FrameReader implements FrameReader {
5
+ readFrame(buffer: readonly string[]): FrameReadResult;
6
+ private findStart;
7
+ private hasValidChecksum;
8
+ }
9
+ //# sourceMappingURL=a606.frame-reader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"a606.frame-reader.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/a606/a606.frame-reader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAS1D,qFAAqF;AACrF,qBAAa,eAAgB,YAAW,WAAW;IAC1C,SAAS,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,eAAe;IAyC5D,OAAO,CAAC,SAAS;IAYjB,OAAO,CAAC,gBAAgB;CASzB"}
@@ -0,0 +1,4 @@
1
+ import { IService } from "../../../types/service.type";
2
+ /** ZH-SG's fixed GATT profile and its 16-byte stored glucose record. */
3
+ export declare const a606MainServices: IService[];
4
+ //# sourceMappingURL=a606.main-services.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"a606.main-services.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/a606/a606.main-services.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAIvD,wEAAwE;AACxE,eAAO,MAAM,gBAAgB,EAAE,QAAQ,EAyBtC,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { CommandSequencer } from "../../../types/command-sequencer";
2
+ import { DeviceCommand } from "../../../types/device-command";
3
+ declare const SERVICE = "81eea003-e735-49ec-8a11-7e32cae1e14e";
4
+ declare const WRITE = "81eea002-e735-49ec-8a11-7e32cae1e14e";
5
+ declare const HISTORY_TYPE = 3;
6
+ /** Builds the vendor's acknowledgement for one accepted LHZL frame. */
7
+ declare const buildBpw1Ack: (frame: readonly string[]) => string[];
8
+ /** ViHealth's initial feature probe for the BPW1 LHZL profile. */
9
+ declare const buildBpw1FeatureCommand: () => string[];
10
+ /** Requests all stored health-history packets after the feature reply. */
11
+ declare const buildBpw1HistoryCommand: (protocolVersion: number) => string[];
12
+ /** Answers the feature probe, then starts the vendor's all-history transfer. */
13
+ declare class Bpw1CommandSequencer implements CommandSequencer {
14
+ private protocolVersion;
15
+ private historyRequested;
16
+ initialCommands: () => readonly DeviceCommand[];
17
+ nextCommand: (frame: readonly string[]) => readonly DeviceCommand[] | undefined;
18
+ isHistoryTransfer: () => boolean;
19
+ }
20
+ export { Bpw1CommandSequencer, buildBpw1Ack, buildBpw1FeatureCommand, buildBpw1HistoryCommand, SERVICE as BPW1_SERVICE, WRITE as BPW1_WRITE, HISTORY_TYPE as BPW1_HISTORY_TYPE, };
21
+ //# sourceMappingURL=bpw1.command-sequencer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bpw1.command-sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAG9D,QAAA,MAAM,OAAO,yCAAyC,CAAC;AACvD,QAAA,MAAM,KAAK,yCAAyC,CAAC;AAGrD,QAAA,MAAM,YAAY,IAAO,CAAC;AAkD1B,uEAAuE;AACvE,QAAA,MAAM,YAAY,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,MAAM,EAgBtD,CAAC;AAEF,kEAAkE;AAClE,QAAA,MAAM,uBAAuB,QAAO,MAAM,EACC,CAAC;AAE5C,0EAA0E;AAC1E,QAAA,MAAM,uBAAuB,GAAI,iBAAiB,MAAM,KAAG,MAAM,EACX,CAAC;AAEvD,gFAAgF;AAChF,cAAM,oBAAqB,YAAW,gBAAgB;IACpD,OAAO,CAAC,eAAe,CAAK;IAC5B,OAAO,CAAC,gBAAgB,CAAS;IAE1B,eAAe,QAAO,SAAS,aAAa,EAAE,CAEnD;IAEK,WAAW,GAChB,OAAO,SAAS,MAAM,EAAE,KACvB,SAAS,aAAa,EAAE,GAAG,SAAS,CAmBrC;IAEK,iBAAiB,QAAO,OAAO,CAAS;CAChD;AAED,OAAO,EACL,oBAAoB,EACpB,YAAY,EACZ,uBAAuB,EACvB,uBAAuB,EACvB,OAAO,IAAI,YAAY,EACvB,KAAK,IAAI,UAAU,EACnB,YAAY,IAAI,iBAAiB,GAClC,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { Device } from "react-native-ble-plx";
2
+ import { CreateDeviceParams } from "../../../types/create-device-params";
3
+ import { DependentResultHandlerParams } from "../../../types/dependent-result-handler-params";
4
+ import { MeasurementTypeForDevices } from "../../../types/device-measurement-map";
5
+ import { IntegratedDevices } from "../../../types/integrated-devices";
6
+ import { IService } from "../../../types/service.type";
7
+ import { BTManagedDevice } from "../bt-managed-device";
8
+ import { Bpw1FrameReader } from "./bpw1.frame-reader";
9
+ import { bpw1MainServices } from "./bpw1.main-services";
10
+ type Bpw1Measurement = MeasurementTypeForDevices<[IntegratedDevices.BPW1]>;
11
+ /** Viatom BPW1 watch, including stored blood-pressure history. */
12
+ declare class Bpw1Device extends BTManagedDevice<IntegratedDevices.BPW1> {
13
+ protected mainServices: IService[];
14
+ protected stuckDataTimeout: number;
15
+ protected onStreamStart: undefined;
16
+ protected frameReader: Bpw1FrameReader;
17
+ constructor(device: Device, params: CreateDeviceParams<IntegratedDevices.BPW1>);
18
+ protected handleDependentResult: (data: DependentResultHandlerParams<Bpw1Measurement>) => DependentResultHandlerParams<Bpw1Measurement>;
19
+ protected handleSuccessResult(): void | boolean;
20
+ }
21
+ export { Bpw1Device, bpw1MainServices };
22
+ //# sourceMappingURL=bpw1.device.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bpw1.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bpw1/bpw1.device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAI9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gDAAgD,CAAC;AAC9F,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAIvD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,KAAK,eAAe,GAAG,yBAAyB,CAAC,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;AAE3E,kEAAkE;AAClE,cAAM,UAAW,SAAQ,eAAe,CAAC,iBAAiB,CAAC,IAAI,CAAC;IAC9D,SAAS,CAAC,YAAY,EAAE,QAAQ,EAAE,CAAoB;IACtD,SAAS,CAAC,gBAAgB,SAAW;IACrC,SAAS,CAAC,aAAa,YAAa;IACpC,SAAS,CAAC,WAAW,kBAAyB;gBAG5C,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,IAAI,CAAC;IAOpD,SAAS,CAAC,qBAAqB,GAC7B,MAAM,4BAA4B,CAAC,eAAe,CAAC,KAClD,4BAA4B,CAAC,eAAe,CAAC,CAiB9C;IAEF,SAAS,CAAC,mBAAmB,IAAI,IAAI,GAAG,OAAO;CAGhD;AAED,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,9 @@
1
+ interface Bpw1BloodPressureRecord {
2
+ systolic: number;
3
+ diastolic: number;
4
+ recordedAt: Date;
5
+ }
6
+ /** Decodes BP records from ViHealth's generic LHZL health-history packet. */
7
+ export declare const parseBpw1BloodPressureRecords: (frame: readonly string[]) => Bpw1BloodPressureRecord[];
8
+ export type { Bpw1BloodPressureRecord };
9
+ //# sourceMappingURL=bpw1.frame-parser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bpw1.frame-parser.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bpw1/bpw1.frame-parser.ts"],"names":[],"mappings":"AAEA,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,IAAI,CAAC;CAClB;AA0BD,6EAA6E;AAC7E,eAAO,MAAM,6BAA6B,GACxC,OAAO,SAAS,MAAM,EAAE,KACvB,uBAAuB,EAyDzB,CAAC;AAEF,YAAY,EAAE,uBAAuB,EAAE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { FrameReadResult } from "../../../types/frame-read-result";
2
+ import { FrameReader } from "../../../types/frame-reader";
3
+ /** Reads the length-prefixed, checksummed LHZL history frames used by BPW1. */
4
+ export declare class Bpw1FrameReader implements FrameReader {
5
+ readFrame(buffer: readonly string[]): FrameReadResult;
6
+ private hasValidChecksum;
7
+ }
8
+ //# sourceMappingURL=bpw1.frame-reader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bpw1.frame-reader.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAM1D,+EAA+E;AAC/E,qBAAa,eAAgB,YAAW,WAAW;IAC1C,SAAS,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,eAAe;IA6C5D,OAAO,CAAC,gBAAgB;CASzB"}
@@ -0,0 +1,4 @@
1
+ import { IService } from "../../../types/service.type";
2
+ /** Viatom BPW1's LHZL watch-profile GATT surface used by ViHealth. */
3
+ export declare const bpw1MainServices: IService[];
4
+ //# sourceMappingURL=bpw1.main-services.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bpw1.main-services.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bpw1/bpw1.main-services.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,sEAAsE;AACtE,eAAO,MAAM,gBAAgB,EAAE,QAAQ,EAyBtC,CAAC"}
@@ -11,6 +11,7 @@ interface DataProcessorCallbacks<T extends Measurement> {
11
11
  validatePackage: (pkg: string[], uuid: string) => boolean;
12
12
  onStatusChanged?: (status: DeviceStatus, measurementTypeKey?: MeasurementTypeKey) => void;
13
13
  onStreamStart?: () => void;
14
+ onMeasurementEnd?: () => void;
14
15
  onResult?: (parsedData: MeasurementWithCaseType<Measurement>, collectedValues: string[]) => boolean | void;
15
16
  /**
16
17
  * Decides what to send in answer to one complete frame, if anything.
@@ -1 +1 @@
1
- {"version":3,"file":"bt-data-processor.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/devices/bt-data-processor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAI9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,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C,WAAW,CAAC;IAnB/B;;;;;;;;OAQG;IACH,OAAO,CAAC,OAAO,CAA+B;IAC9C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAiB;IAC7C,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAA6B;IAC9D,OAAO,CAAC,gBAAgB,CAA4C;IACpE,OAAO,CAAC,cAAc,CAA4C;gBAE/C,MAAM,EAAE,MAAM,EAC/B,YAAY,EAAE,cAAc,CAAC,aAAa,CAAC,EAC1B,wBAAwB,EAAE,MAAM,EAChC,SAAS,EAAE,sBAAsB,CAAC,CAAC,CAAC,EACpC,WAAW,CAAC,EAAE,WAAW,YAAA;IAU5C,OAAO,CAAC,WAAW,CAAc;IAE1B,OAAO,aAQZ;IAEK,WAAW,GAAI,MAAM,MAAM,EAAE,UAAU,MAAM,EAAE,UAgBpD;IAEF,mFAAmF;IAC5E,eAAe,aAEpB;IAEF,4EAA4E;IACrE,iBAAiB,aAEtB;IAEF;;;;;;OAMG;IACH,OAAO,CAAC,oBAAoB,CA0B1B;IAEF;;OAEG;IACH,OAAO,CAAC,eAAe,CAQrB;IAEF;;;;;;;OAOG;IACH,OAAO,CAAC,WAAW,CAejB;IAEF,OAAO,CAAC,WAAW,CAuBjB;IAEF,OAAO,CAAC,kBAAkB,CAQxB;IAEF;;;;;;;OAOG;IACH,OAAO,CAAC,iBAAiB,CAevB;IAEF,OAAO,CAAC,mBAAmB,CA2BzB;CACH"}
1
+ {"version":3,"file":"bt-data-processor.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/devices/bt-data-processor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAI9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EA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: (pkg: string[], uuid: string) => boolean;
81
81
  protected abstract onStreamStart?: () => void;
82
82
  protected abstract handleSuccessResult(successResult: MeasurementWithCaseType<Measurement>, collectedValues: string[]): void | boolean;
83
+ /** Flushes protocol-level session state before a connection is torn down. */
84
+ protected handleMeasurementEnd(): void;
83
85
  onError?: (error: BleError | Error | string) => void;
84
86
  onDeviceStatusChanged?: (status: DeviceStatus, measurementTypeKey?: MeasurementTypeKey) => void;
85
87
  onResult?: (data: MeasurementWithCaseType<MeasurementTypeForDevices<[T]>>) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"bt-managed-device.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/devices/bt-managed-device.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAMxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,uBAAu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,CAAC,KAAK,EAAE,QAAQ,GAAG,KAAK,GAAG,MAAM,KAAK,IAAI,CAAC;IACrD,qBAAqB,CAAC,EAAE,CAC7B,MAAM,EAAE,YAAY,EACpB,kBAAkB,CAAC,EAAE,kBAAkB,KACpC,IAAI,CAAC;IACH,QAAQ,CAAC,EAAE,CAChB,IAAI,EAAE,uBAAuB,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAC1D,IAAI,CAAC;IACH,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAC;gBAE/C,MAAM,EAAE,MAAM,EAE9B,EACE,UAAU,EACV,OAAO,EAAE,eAAe,EACxB,qBAAqB,EAAE,6BAA6B,EACpD,QAAQ,EAAE,gBAAgB,EAC1B,iBAAiB,EAAE,yBAAyB,EAC5C,oBAAoB,EAAE,4BAA4B,EAClD,uBAAuB,EACvB,YAAY,GACb,EAAE,kBAAkB,CAAC,CAAC,CAAC;IAwKnB,OAAO,aAYZ;IAEF,uEAAuE;IAChE,UAAU,sBAYf;IAEF,OAAO,CAAC,eAAe,CA4GrB;IAEK,OAAO,QAAO,OAAO,CAAC,IAAI,CAAC,CAchC;CACH"}
@@ -0,0 +1,18 @@
1
+ import { Device } from "react-native-ble-plx";
2
+ import { CreateDeviceParams } from "../../../types/create-device-params";
3
+ import { IntegratedDevices } from "../../../types/integrated-devices";
4
+ import { IService } from "../../../types/service.type";
5
+ import { BTManagedDevice } from "../bt-managed-device";
6
+ declare const checkmeMainServices: IService[];
7
+ /** Viatom Checkme Pro history transfer, matching the CheckmeBleInterface in ViHealth. */
8
+ declare class CheckmeProDevice extends BTManagedDevice<IntegratedDevices.CHECKME> {
9
+ protected mainServices: IService[];
10
+ protected stuckDataTimeout: number;
11
+ protected preferredMtu: number;
12
+ protected onStreamStart: undefined;
13
+ protected validatePackage: () => boolean;
14
+ constructor(device: Device, params: CreateDeviceParams<IntegratedDevices.CHECKME>);
15
+ protected handleSuccessResult(): void;
16
+ }
17
+ export { CheckmeProDevice, checkmeMainServices };
18
+ //# sourceMappingURL=checkme.device.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkme.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/checkme/checkme.device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAG9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAyBvD,QAAA,MAAM,mBAAmB,EAAE,QAAQ,EASlC,CAAC;AAEF,yFAAyF;AACzF,cAAM,gBAAiB,SAAQ,eAAe,CAAC,iBAAiB,CAAC,OAAO,CAAC;IACvE,SAAS,CAAC,YAAY,aAAuB;IAC7C,SAAS,CAAC,gBAAgB,SAAoB;IAC9C,UAAmB,YAAY,SAAiB;IAChD,SAAS,CAAC,aAAa,YAAa;IACpC,UAAmB,eAAe,QAAO,OAAO,CAAS;gBAGvD,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,OAAO,CAAC;IAmBvD,SAAS,CAAC,mBAAmB,IAAI,IAAI;CAGtC;AAED,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,CAAC"}
@@ -0,0 +1,79 @@
1
+ import { FrameReadResult } from "../../../types/frame-read-result";
2
+ import { FrameReader } from "../../../types/frame-reader";
3
+ export declare const CHECKME_SERVICE = "14839ac4-7d7e-415c-9a42-167340cf2339";
4
+ export declare const CHECKME_WRITE = "8b00ace7-eb0b-49b0-bbe9-9aee0a26e1a3";
5
+ export declare const CHECKME_NOTIFY = "0734594a-a8e7-4b1a-a6b1-cd5243059a57";
6
+ export declare const CheckmeCommand: {
7
+ readonly info: 20;
8
+ readonly ping: 21;
9
+ readonly syncParameters: 22;
10
+ readonly readStart: 3;
11
+ readonly readContent: 4;
12
+ readonly readEnd: 5;
13
+ };
14
+ export declare const CheckmeListType: {
15
+ readonly daily: 0;
16
+ readonly ecg: 1;
17
+ readonly oxygen: 2;
18
+ readonly bloodPressure: 3;
19
+ readonly temperature: 5;
20
+ readonly user: 8;
21
+ };
22
+ export declare const checkmeCommand: (command: number, payload?: readonly string[]) => string[];
23
+ export declare const checkmeReadFileStart: (name: string) => string[];
24
+ export declare const checkmeReadContent: (sequence: number) => string[];
25
+ export declare const checkmeReadEnd: () => string[];
26
+ export interface CheckmeResponse {
27
+ head: number;
28
+ state: boolean;
29
+ sequence: number;
30
+ content: string[];
31
+ }
32
+ /** Decodes the two response envelopes used by Checkme Pro's vendor library. */
33
+ export declare const decodeCheckmeResponse: (bytes: readonly string[]) => CheckmeResponse | undefined;
34
+ /** Handles split notifications, concatenated notifications, and both vendor envelopes. */
35
+ export declare class CheckmeFrameReader implements FrameReader {
36
+ readFrame(buffer: readonly string[]): FrameReadResult;
37
+ private findStart;
38
+ private hasValidChecksum;
39
+ }
40
+ export interface CheckmeTimestampedRecord {
41
+ recordedAt: Date;
42
+ recordName: string;
43
+ }
44
+ export interface CheckmeBloodPressureRecord extends CheckmeTimestampedRecord {
45
+ systolic: number;
46
+ diastolic: number;
47
+ heartRate: number;
48
+ }
49
+ export declare const parseCheckmeBloodPressureRecords: (bytes: readonly string[]) => CheckmeBloodPressureRecord[];
50
+ export interface CheckmeDailyRecord extends CheckmeTimestampedRecord {
51
+ heartRate: number;
52
+ bloodOxygen: number;
53
+ systolic?: number;
54
+ diastolic?: number;
55
+ }
56
+ export declare const parseCheckmeDailyRecords: (bytes: readonly string[]) => CheckmeDailyRecord[];
57
+ export interface CheckmeOxygenRecord extends CheckmeTimestampedRecord {
58
+ bloodOxygen: number;
59
+ heartRate: number;
60
+ perfusionIndex: number;
61
+ }
62
+ export declare const parseCheckmeOxygenRecords: (bytes: readonly string[]) => CheckmeOxygenRecord[];
63
+ export interface CheckmeTemperatureRecord extends CheckmeTimestampedRecord {
64
+ temperature: number;
65
+ }
66
+ export declare const parseCheckmeTemperatureRecords: (bytes: readonly string[]) => CheckmeTemperatureRecord[];
67
+ export interface CheckmeEcgRecord extends CheckmeTimestampedRecord {
68
+ result: number;
69
+ }
70
+ export declare const parseCheckmeEcgRecords: (bytes: readonly string[]) => CheckmeEcgRecord[];
71
+ export interface CheckmeEcgFile {
72
+ heartRate: number;
73
+ duration: number;
74
+ diagnosticResult: number;
75
+ diagramPoints: number[];
76
+ }
77
+ /** Decodes Checkme's 21-byte ECG header and little-endian signed waveform. */
78
+ export declare const decodeCheckmeEcgFile: (bytes: readonly string[]) => CheckmeEcgFile | undefined;
79
+ //# sourceMappingURL=checkme.protocol.d.ts.map