@ovok/native 1.6.31 → 1.6.33

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 (202) hide show
  1. package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js +5 -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 +31 -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 +110 -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/device-creator.js +9 -1
  16. package/lib/commonjs/modules/bt-management/services/device-creator.js.map +1 -1
  17. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.command-sequencer.js +68 -0
  18. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.command-sequencer.js.map +1 -0
  19. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js +55 -0
  20. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js.map +1 -0
  21. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.frame-parser.js +36 -0
  22. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.frame-parser.js.map +1 -0
  23. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.frame-reader.js +68 -0
  24. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.frame-reader.js.map +1 -0
  25. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.main-services.js +31 -0
  26. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.main-services.js.map +1 -0
  27. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.js +73 -0
  28. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.js.map +1 -0
  29. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js +55 -0
  30. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -0
  31. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.frame-parser.js +53 -0
  32. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.frame-parser.js.map +1 -0
  33. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.js +55 -0
  34. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.js.map +1 -0
  35. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.main-services.js +30 -0
  36. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.main-services.js.map +1 -0
  37. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.device.js +57 -0
  38. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.device.js.map +1 -0
  39. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.protocol.js +263 -0
  40. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.protocol.js.map +1 -0
  41. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js +255 -0
  42. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -0
  43. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.js +53 -0
  44. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.js.map +1 -0
  45. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +86 -0
  46. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -0
  47. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.js +53 -0
  48. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.js.map +1 -0
  49. package/lib/commonjs/modules/bt-management/types/clock-sync.js +3 -0
  50. package/lib/commonjs/modules/bt-management/types/clock-sync.js.map +1 -1
  51. package/lib/commonjs/modules/bt-management/types/integrated-devices.js +4 -0
  52. package/lib/commonjs/modules/bt-management/types/integrated-devices.js.map +1 -1
  53. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js +5 -1
  54. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
  55. package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js +3 -1
  56. package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -1
  57. package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js +1 -1
  58. package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -1
  59. package/lib/module/modules/bt-device/constants/supported-devices.js +32 -1
  60. package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
  61. package/lib/module/modules/bt-management/constants/integrated-devices-map.js +2 -1
  62. package/lib/module/modules/bt-management/constants/integrated-devices-map.js.map +1 -1
  63. package/lib/module/modules/bt-management/index.js +10 -0
  64. package/lib/module/modules/bt-management/index.js.map +1 -1
  65. package/lib/module/modules/bt-management/services/background-sync/background-service-uuids.js +4 -0
  66. package/lib/module/modules/bt-management/services/background-sync/background-service-uuids.js.map +1 -1
  67. package/lib/module/modules/bt-management/services/device-creator.js +9 -1
  68. package/lib/module/modules/bt-management/services/device-creator.js.map +1 -1
  69. package/lib/module/modules/bt-management/services/devices/a606/a606.command-sequencer.js +61 -0
  70. package/lib/module/modules/bt-management/services/devices/a606/a606.command-sequencer.js.map +1 -0
  71. package/lib/module/modules/bt-management/services/devices/a606/a606.device.js +45 -0
  72. package/lib/module/modules/bt-management/services/devices/a606/a606.device.js.map +1 -0
  73. package/lib/module/modules/bt-management/services/devices/a606/a606.frame-parser.js +32 -0
  74. package/lib/module/modules/bt-management/services/devices/a606/a606.frame-parser.js.map +1 -0
  75. package/lib/module/modules/bt-management/services/devices/a606/a606.frame-reader.js +63 -0
  76. package/lib/module/modules/bt-management/services/devices/a606/a606.frame-reader.js.map +1 -0
  77. package/lib/module/modules/bt-management/services/devices/a606/a606.main-services.js +28 -0
  78. package/lib/module/modules/bt-management/services/devices/a606/a606.main-services.js.map +1 -0
  79. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.js +66 -0
  80. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.js.map +1 -0
  81. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js +45 -0
  82. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -0
  83. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.frame-parser.js +48 -0
  84. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.frame-parser.js.map +1 -0
  85. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.js +50 -0
  86. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.js.map +1 -0
  87. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.main-services.js +26 -0
  88. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.main-services.js.map +1 -0
  89. package/lib/module/modules/bt-management/services/devices/checkme/checkme.device.js +53 -0
  90. package/lib/module/modules/bt-management/services/devices/checkme/checkme.device.js.map +1 -0
  91. package/lib/module/modules/bt-management/services/devices/checkme/checkme.protocol.js +247 -0
  92. package/lib/module/modules/bt-management/services/devices/checkme/checkme.protocol.js.map +1 -0
  93. package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js +245 -0
  94. package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -0
  95. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.js +48 -0
  96. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.js.map +1 -0
  97. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +81 -0
  98. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -0
  99. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.js +48 -0
  100. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.js.map +1 -0
  101. package/lib/module/modules/bt-management/types/clock-sync.js +3 -0
  102. package/lib/module/modules/bt-management/types/clock-sync.js.map +1 -1
  103. package/lib/module/modules/bt-management/types/device-measurement-map.js.map +1 -1
  104. package/lib/module/modules/bt-management/types/integrated-devices.js +4 -0
  105. package/lib/module/modules/bt-management/types/integrated-devices.js.map +1 -1
  106. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  107. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +3 -1
  108. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -1
  109. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -1
  110. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts +7 -0
  111. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  112. package/lib/typescript/commonjs/src/modules/bt-management/constants/integrated-devices-map.d.ts.map +1 -1
  113. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts +10 -0
  114. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
  115. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts.map +1 -1
  116. package/lib/typescript/commonjs/src/modules/bt-management/services/device-creator.d.ts.map +1 -1
  117. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.command-sequencer.d.ts +22 -0
  118. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.command-sequencer.d.ts.map +1 -0
  119. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.device.d.ts +24 -0
  120. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.device.d.ts.map +1 -0
  121. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.frame-parser.d.ts +10 -0
  122. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.frame-parser.d.ts.map +1 -0
  123. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.frame-reader.d.ts +9 -0
  124. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.frame-reader.d.ts.map +1 -0
  125. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.main-services.d.ts +4 -0
  126. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.main-services.d.ts.map +1 -0
  127. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.d.ts +21 -0
  128. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.d.ts.map +1 -0
  129. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.device.d.ts +22 -0
  130. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.device.d.ts.map +1 -0
  131. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.frame-parser.d.ts +9 -0
  132. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.frame-parser.d.ts.map +1 -0
  133. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.d.ts +8 -0
  134. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.d.ts.map +1 -0
  135. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.main-services.d.ts +4 -0
  136. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.main-services.d.ts.map +1 -0
  137. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts +18 -0
  138. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts.map +1 -0
  139. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.protocol.d.ts +79 -0
  140. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.protocol.d.ts.map +1 -0
  141. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts +52 -0
  142. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -0
  143. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.d.ts +15 -0
  144. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.d.ts.map +1 -0
  145. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/genial-t31/genial-t31.device.d.ts +28 -0
  146. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/genial-t31/genial-t31.device.d.ts.map +1 -0
  147. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.d.ts +9 -0
  148. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.d.ts.map +1 -0
  149. package/lib/typescript/commonjs/src/modules/bt-management/types/clock-sync.d.ts.map +1 -1
  150. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +9 -0
  151. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  152. package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts +5 -1
  153. package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
  154. package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  155. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +3 -1
  156. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -1
  157. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -1
  158. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts +7 -0
  159. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  160. package/lib/typescript/module/src/modules/bt-management/constants/integrated-devices-map.d.ts.map +1 -1
  161. package/lib/typescript/module/src/modules/bt-management/index.d.ts +10 -0
  162. package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
  163. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts.map +1 -1
  164. package/lib/typescript/module/src/modules/bt-management/services/device-creator.d.ts.map +1 -1
  165. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.command-sequencer.d.ts +22 -0
  166. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.command-sequencer.d.ts.map +1 -0
  167. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.device.d.ts +24 -0
  168. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.device.d.ts.map +1 -0
  169. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.frame-parser.d.ts +10 -0
  170. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.frame-parser.d.ts.map +1 -0
  171. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.frame-reader.d.ts +9 -0
  172. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.frame-reader.d.ts.map +1 -0
  173. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.main-services.d.ts +4 -0
  174. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.main-services.d.ts.map +1 -0
  175. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.d.ts +21 -0
  176. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.command-sequencer.d.ts.map +1 -0
  177. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.device.d.ts +22 -0
  178. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.device.d.ts.map +1 -0
  179. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.frame-parser.d.ts +9 -0
  180. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.frame-parser.d.ts.map +1 -0
  181. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.d.ts +8 -0
  182. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.frame-reader.d.ts.map +1 -0
  183. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.main-services.d.ts +4 -0
  184. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.main-services.d.ts.map +1 -0
  185. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts +18 -0
  186. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts.map +1 -0
  187. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.protocol.d.ts +79 -0
  188. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.protocol.d.ts.map +1 -0
  189. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts +52 -0
  190. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -0
  191. package/lib/typescript/module/src/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.d.ts +15 -0
  192. package/lib/typescript/module/src/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.d.ts.map +1 -0
  193. package/lib/typescript/module/src/modules/bt-management/services/devices/genial-t31/genial-t31.device.d.ts +28 -0
  194. package/lib/typescript/module/src/modules/bt-management/services/devices/genial-t31/genial-t31.device.d.ts.map +1 -0
  195. package/lib/typescript/module/src/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.d.ts +9 -0
  196. package/lib/typescript/module/src/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.d.ts.map +1 -0
  197. package/lib/typescript/module/src/modules/bt-management/types/clock-sync.d.ts.map +1 -1
  198. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +9 -0
  199. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  200. package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts +5 -1
  201. package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
  202. package/package.json +1 -1
@@ -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"}
@@ -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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkme.protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/checkme/checkme.protocol.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAI1D,eAAO,MAAM,eAAe,yCAAyC,CAAC;AACtE,eAAO,MAAM,aAAa,yCAAyC,CAAC;AACpE,eAAO,MAAM,cAAc,yCAAyC,CAAC;AAErE,eAAO,MAAM,cAAc;;;;;;;CAOjB,CAAC;AAEX,eAAO,MAAM,eAAe;;;;;;;CAOlB,CAAC;AA6BX,eAAO,MAAM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,GACnC,OAAO,SAAS,MAAM,EAAE,KACvB,kBAAkB,EAyBpB,CAAC;AAEF,MAAM,WAAW,mBAAoB,SAAQ,wBAAwB;IACnE,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,yBAAyB,GACpC,OAAO,SAAS,MAAM,EAAE,KACvB,mBAAmB,EAoBrB,CAAC;AAEF,MAAM,WAAW,wBAAyB,SAAQ,wBAAwB;IACxE,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,8BAA8B,GACzC,OAAO,SAAS,MAAM,EAAE,KACvB,wBAAwB,EAkB1B,CAAC;AAEF,MAAM,WAAW,gBAAiB,SAAQ,wBAAwB;IAChE,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,sBAAsB,GACjC,OAAO,SAAS,MAAM,EAAE,KACvB,gBAAgB,EAgBlB,CAAC;AAEF,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB;AAED,8EAA8E;AAC9E,eAAO,MAAM,oBAAoB,GAC/B,OAAO,SAAS,MAAM,EAAE,KACvB,cAAc,GAAG,SA+BnB,CAAC"}
@@ -0,0 +1,52 @@
1
+ import { BloodPressureMeasurement, EcgMeasurement, MeasurementTypeKey, PulseOximeterMeasurement, BodyTemperatureMeasurement } from "@ovok/core";
2
+ import { CaseType } from "../../../types/case-type";
3
+ import { CommandSequencer, CommandTimeoutResult } from "../../../types/command-sequencer";
4
+ import { DeviceCommand } from "../../../types/device-command";
5
+ import { CheckmeListType } from "./checkme.protocol";
6
+ type CheckmeMeasurement = BloodPressureMeasurement | EcgMeasurement | PulseOximeterMeasurement | BodyTemperatureMeasurement | {
7
+ measurementTypeKey: MeasurementTypeKey.heartRate;
8
+ heartRate?: number;
9
+ recordedAt?: Date;
10
+ };
11
+ interface CheckmeTransferParams {
12
+ write: Omit<DeviceCommand, "frame">;
13
+ onResult: (result: CheckmeMeasurement & {
14
+ caseType: CaseType;
15
+ }) => void;
16
+ }
17
+ /**
18
+ * Downloads Checkme Pro history using the command exchange in ViHealth's CheckmeBleInterface.
19
+ * The device returns list records first; the daily list and ECG list then point to waveform
20
+ * files, which are read with the same offset-based transfer.
21
+ */
22
+ export declare class CheckmeProSequencer implements CommandSequencer {
23
+ private readonly params;
24
+ private phase;
25
+ private current;
26
+ private queue;
27
+ private content;
28
+ private expectedBytes;
29
+ private sequence;
30
+ private retries;
31
+ private lastCommand;
32
+ private reported;
33
+ constructor(params: CheckmeTransferParams);
34
+ initialCommands: () => readonly DeviceCommand[];
35
+ isHistoryTransfer: () => boolean;
36
+ commandTimeoutMs: () => number | undefined;
37
+ onCommandTimeout: () => CommandTimeoutResult;
38
+ isNormalDisconnect: () => boolean;
39
+ nextCommand: (frame: readonly string[]) => readonly DeviceCommand[] | undefined;
40
+ private write;
41
+ private remember;
42
+ private startNextFile;
43
+ private finishFile;
44
+ private finishCurrentFile;
45
+ private processFile;
46
+ private processDaily;
47
+ private filePlan;
48
+ private reportOnce;
49
+ }
50
+ export type { CheckmeMeasurement, CheckmeTransferParams };
51
+ export { CheckmeListType };
52
+ //# sourceMappingURL=checkme.sequencer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkme.sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/checkme/checkme.sequencer.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,wBAAwB,EACxB,cAAc,EACd,kBAAkB,EAClB,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,kCAAkC,CAAC;AA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AAO,CAAC,QAAQ,CAId;IAEF,OAAO,CAAC,aAAa,CAanB;IAEF,OAAO,CAAC,UAAU,CAIhB;IAEF,OAAO,CAAC,iBAAiB,CAMvB;IAEF,OAAO,CAAC,WAAW,CAmEjB;IAEF,OAAO,CAAC,YAAY,CA6BlB;IAEF,OAAO,CAAC,QAAQ,CA0Bd;IAEF,OAAO,CAAC,UAAU,CAUhB;CACH;AAOD,YAAY,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { CommandSequencer } from "../../../types/command-sequencer";
2
+ import { DeviceCommand } from "../../../types/device-command";
3
+ declare const CONNECT: string[];
4
+ declare const CID_ACK: string[];
5
+ /** Builds the vendor's A6 05 37 weekday hour minute second checksum 6A clock frame. */
6
+ declare const buildGenialT31TimeCommand: (now?: Date) => string[];
7
+ /** Answers Genial's handshake, clock request, temperature and error frames. */
8
+ declare class GenialT31CommandSequencer implements CommandSequencer {
9
+ private readonly now;
10
+ constructor(now?: () => Date);
11
+ initialCommands: () => readonly DeviceCommand[];
12
+ nextCommand: (frame: readonly string[]) => readonly DeviceCommand[] | undefined;
13
+ }
14
+ export { buildGenialT31TimeCommand, CID_ACK as GENIAL_T31_CID_ACK, CONNECT as GENIAL_T31_CONNECT, GenialT31CommandSequencer, };
15
+ //# sourceMappingURL=genial-t31.command-sequencer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"genial-t31.command-sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/genial-t31/genial-t31.command-sequencer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAM9D,QAAA,MAAM,OAAO,UAAuC,CAAC;AACrD,QAAA,MAAM,OAAO,UAAuC,CAAC;AAarD,uFAAuF;AACvF,QAAA,MAAM,yBAAyB,GAAI,MAAK,IAAiB,KAAG,MAAM,EAmBjE,CAAC;AAEF,+EAA+E;AAC/E,cAAM,yBAA0B,YAAW,gBAAgB;IACtC,OAAO,CAAC,QAAQ,CAAC,GAAG;gBAAH,GAAG,GAAE,MAAM,IAAuB;IAE/D,eAAe,QAAO,SAAS,aAAa,EAAE,CAEnD;IAEK,WAAW,GAChB,OAAO,SAAS,MAAM,EAAE,KACvB,SAAS,aAAa,EAAE,GAAG,SAAS,CAarC;CACH;AAED,OAAO,EACL,yBAAyB,EACzB,OAAO,IAAI,kBAAkB,EAC7B,OAAO,IAAI,kBAAkB,EAC7B,yBAAyB,GAC1B,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { Device } from "react-native-ble-plx";
2
+ import { CreateDeviceParams } from "../../../types/create-device-params";
3
+ import { MeasurementTypeForDevices } from "../../../types/device-measurement-map";
4
+ import { IntegratedDevices } from "../../../types/integrated-devices";
5
+ import { MeasurementWithCaseType } from "../../../types/measurement-with-case-type";
6
+ import { IService } from "../../../types/service.type";
7
+ import { BTManagedDevice } from "../bt-managed-device";
8
+ import { GenialT31FrameReader } from "./genial-t31.frame-reader";
9
+ declare const SERVICE = "00001809-0000-1000-8000-00805f9b34fb";
10
+ declare const NOTIFY = "0000fff1-0000-1000-8000-00805f9b34fb";
11
+ declare const WRITE = "0000fff2-0000-1000-8000-00805f9b34fb";
12
+ declare const genialT31MainServices: IService[];
13
+ type GenialT31Measurement = MeasurementTypeForDevices<[
14
+ IntegratedDevices.GENIAL_T31
15
+ ]>;
16
+ declare const recordedAtFromT31Frame: (frame: readonly string[], now: Date) => Date | undefined;
17
+ /** Genial T31 Bluetooth thermometer, as used by the ViHealth app. */
18
+ declare class GenialT31Device extends BTManagedDevice<IntegratedDevices.GENIAL_T31> {
19
+ protected mainServices: IService[];
20
+ protected stuckDataTimeout: number;
21
+ protected onStreamStart: undefined;
22
+ protected frameReader: GenialT31FrameReader;
23
+ private readonly now;
24
+ constructor(device: Device, params: CreateDeviceParams<IntegratedDevices.GENIAL_T31>);
25
+ protected handleSuccessResult(successResult: MeasurementWithCaseType<GenialT31Measurement>, collectedValues: string[]): void;
26
+ }
27
+ export { GenialT31Device, genialT31MainServices, recordedAtFromT31Frame, SERVICE as GENIAL_T31_SERVICE, NOTIFY as GENIAL_T31_NOTIFY, WRITE as GENIAL_T31_WRITE, };
28
+ //# sourceMappingURL=genial-t31.device.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"genial-t31.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/genial-t31/genial-t31.device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAG9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAGvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,QAAA,MAAM,OAAO,yCAAyC,CAAC;AACvD,QAAA,MAAM,MAAM,yCAAyC,CAAC;AACtD,QAAA,MAAM,KAAK,yCAAyC,CAAC;AA6BrD,QAAA,MAAM,qBAAqB,EAAE,QAAQ,EASpC,CAAC;AAEF,KAAK,oBAAoB,GAAG,yBAAyB,CAAC;IACpD,iBAAiB,CAAC,UAAU;CAC7B,CAAC,CAAC;AAEH,QAAA,MAAM,sBAAsB,GAC1B,OAAO,SAAS,MAAM,EAAE,EACxB,KAAK,IAAI,KACR,IAAI,GAAG,SA2BT,CAAC;AAEF,qEAAqE;AACrE,cAAM,eAAgB,SAAQ,eAAe,CAAC,iBAAiB,CAAC,UAAU,CAAC;IACzE,SAAS,CAAC,YAAY,aAAyB;IAC/C,SAAS,CAAC,gBAAgB,SAAoB;IAC9C,SAAS,CAAC,aAAa,YAAa;IACpC,SAAS,CAAC,WAAW,uBAA8B;IACnD,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAa;gBAG/B,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,UAAU,CAAC;IAQ1D,SAAS,CAAC,mBAAmB,CAC3B,aAAa,EAAE,uBAAuB,CAAC,oBAAoB,CAAC,EAC5D,eAAe,EAAE,MAAM,EAAE,GACxB,IAAI;CASR;AAED,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,sBAAsB,EACtB,OAAO,IAAI,kBAAkB,EAC7B,MAAM,IAAI,iBAAiB,EAC3B,KAAK,IAAI,gBAAgB,GAC1B,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { FrameReadResult } from "../../../types/frame-read-result";
2
+ import { FrameReader } from "../../../types/frame-reader";
3
+ /** Reads the A6 ... checksum 6A frames used by Genial T31 thermometers. */
4
+ export declare class GenialT31FrameReader implements FrameReader {
5
+ readFrame(buffer: readonly string[]): FrameReadResult;
6
+ private findStart;
7
+ private hasValidChecksum;
8
+ }
9
+ //# sourceMappingURL=genial-t31.frame-reader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"genial-t31.frame-reader.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/genial-t31/genial-t31.frame-reader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAM1D,2EAA2E;AAC3E,qBAAa,oBAAqB,YAAW,WAAW;IAC/C,SAAS,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,eAAe;IAqC5D,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,gBAAgB;CASzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"clock-sync.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/clock-sync.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAAG,aAAa,GAAG,SAAS,CAAC;AAE1E,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,KAAK,CAAC;AAEhD,MAAM,WAAW,gBAAgB;IAE/B,2EAA2E;IAC3E,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,wEAAwE;IACxE,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;IAEjB,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B;AAED,eAAO,MAAM,kBAAkB,GAAI,UAAU,gBAAgB,KAAG,OACpC,CAAC;AAE7B,eAAO,MAAM,aAAa,GACxB,MAAM,IAAI,EACV,WAAU,iBAA2B;;;;;;;;CAoBhC,CAAC;AAER,qFAAqF;AACrF,eAAO,MAAM,4BAA4B,GACvC,YAAY,MAAM,KACjB,mBAYF,CAAC"}
1
+ {"version":3,"file":"clock-sync.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/clock-sync.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAAG,aAAa,GAAG,SAAS,CAAC;AAE1E,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,KAAK,CAAC;AAEhD,MAAM,WAAW,gBAAgB;IAE/B,2EAA2E;IAC3E,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,wEAAwE;IACxE,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;IAEjB,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B;AAED,eAAO,MAAM,kBAAkB,GAAI,UAAU,gBAAgB,KAAG,OACpC,CAAC;AAE7B,eAAO,MAAM,aAAa,GACxB,MAAM,IAAI,EACV,WAAU,iBAA2B;;;;;;;;CAoBhC,CAAC;AAER,qFAAqF;AACrF,eAAO,MAAM,4BAA4B,GACvC,YAAY,MAAM,KACjB,mBAeF,CAAC"}
@@ -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
  };
@@ -42,6 +47,10 @@ interface DeviceMeasurementMap {
42
47
  [IntegratedDevices.S5]: never;
43
48
  [IntegratedDevices.ALIVE_COR]: never;
44
49
  [IntegratedDevices.BGM]: BloodGlucoseMeasurement;
50
+ [IntegratedDevices.GENIAL_T31]: BodyTemperatureMeasurement;
51
+ [IntegratedDevices.ZH_SG_A606]: BloodGlucoseMeasurement;
52
+ [IntegratedDevices.BPW1]: BloodPressureMeasurement;
53
+ [IntegratedDevices.CHECKME]: BloodPressureMeasurement | EcgMeasurement | PulseOximeterMeasurement | BodyTemperatureMeasurement | CheckmeHeartRateMeasurement;
45
54
  }
46
55
  /**
47
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,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uBAAuB,CAAC;IAClD,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,EAAE,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;CAClD;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,YAAY,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,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"}
@@ -21,6 +21,10 @@ export declare enum IntegratedDevices {
21
21
  BGM = "BGM",
22
22
  VEROVAL_DUO_CONTROL = "Veroval duo control",
23
23
  VEROVAL_ECG = "Veroval ECG",
24
- VEROVAL_ACTIVITY = "Veroval Activity"
24
+ VEROVAL_ACTIVITY = "Veroval Activity",
25
+ GENIAL_T31 = "Genial-T31",
26
+ ZH_SG_A606 = "ZH-SG-A606",
27
+ BPW1 = "BPW1",
28
+ CHECKME = "Checkme"
25
29
  }
26
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;CACtC"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ovok/native",
3
- "version": "1.6.31",
3
+ "version": "1.6.33",
4
4
  "description": "React native component sdk for OVOK",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",