@ovok/native 1.10.10 → 1.10.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js +19 -1
  2. package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
  3. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-and-medical-variants.js +47 -0
  4. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-and-medical-variants.js.map +1 -0
  5. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js +119 -0
  6. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js.map +1 -0
  7. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-standard-variants.js +6 -0
  8. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-standard-variants.js.map +1 -1
  9. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js +173 -0
  10. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js.map +1 -0
  11. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-variants.js +8 -0
  12. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-variants.js.map +1 -1
  13. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-yonker-variants.js +113 -0
  14. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-yonker-variants.js.map +1 -0
  15. package/lib/commonjs/modules/bt-device/constants/supported-devices.js +2 -37
  16. package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
  17. package/lib/commonjs/modules/bt-management/constants/and-medical-device-variants.js +39 -0
  18. package/lib/commonjs/modules/bt-management/constants/and-medical-device-variants.js.map +1 -0
  19. package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js +84 -0
  20. package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js.map +1 -0
  21. package/lib/commonjs/modules/bt-management/constants/cofoe-device-variants.js +101 -0
  22. package/lib/commonjs/modules/bt-management/constants/cofoe-device-variants.js.map +1 -0
  23. package/lib/commonjs/modules/bt-management/constants/device-variants.js +5 -1
  24. package/lib/commonjs/modules/bt-management/constants/device-variants.js.map +1 -1
  25. package/lib/commonjs/modules/bt-management/constants/standard-device-variants.js +5 -0
  26. package/lib/commonjs/modules/bt-management/constants/standard-device-variants.js.map +1 -1
  27. package/lib/commonjs/modules/bt-management/constants/taidoc-device-variants.js +144 -0
  28. package/lib/commonjs/modules/bt-management/constants/taidoc-device-variants.js.map +1 -0
  29. package/lib/commonjs/modules/bt-management/constants/yonker-device-variants.js +93 -0
  30. package/lib/commonjs/modules/bt-management/constants/yonker-device-variants.js.map +1 -0
  31. package/lib/commonjs/modules/bt-management/services/background-sync/background-service-uuids.js +18 -0
  32. package/lib/commonjs/modules/bt-management/services/background-sync/background-service-uuids.js.map +1 -1
  33. package/lib/commonjs/modules/bt-management/services/device-classes.js +23 -1
  34. package/lib/commonjs/modules/bt-management/services/device-classes.js.map +1 -1
  35. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.device.js +61 -0
  36. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.device.js.map +1 -0
  37. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.protocol.js +113 -0
  38. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.protocol.js.map +1 -0
  39. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js +77 -0
  40. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js.map +1 -0
  41. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-70b.device.js +1 -1
  42. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-70b.device.js.map +1 -1
  43. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +7 -25
  44. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
  45. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js +7 -2
  46. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  47. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js +86 -0
  48. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js.map +1 -0
  49. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js +155 -0
  50. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js.map +1 -0
  51. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js +33 -0
  52. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js.map +1 -0
  53. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.device.js +87 -0
  54. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.device.js.map +1 -0
  55. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.protocol.js +185 -0
  56. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.protocol.js.map +1 -0
  57. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.records.js +86 -0
  58. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.records.js.map +1 -0
  59. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.device.js +1 -1
  60. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.device.js.map +1 -1
  61. package/lib/commonjs/modules/bt-management/services/devices/live-oximeter.sequencer.js +10 -6
  62. package/lib/commonjs/modules/bt-management/services/devices/live-oximeter.sequencer.js.map +1 -1
  63. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.device.js +50 -0
  64. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.device.js.map +1 -0
  65. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.protocol.js +127 -0
  66. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.protocol.js.map +1 -0
  67. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.records.js +181 -0
  68. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.records.js.map +1 -0
  69. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.sequencer.js +139 -0
  70. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.sequencer.js.map +1 -0
  71. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.device.js +90 -0
  72. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.device.js.map +1 -0
  73. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.protocol.js +202 -0
  74. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.protocol.js.map +1 -0
  75. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.sequencer.js +137 -0
  76. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.sequencer.js.map +1 -0
  77. package/lib/commonjs/modules/bt-management/types/integrated-devices.js +18 -0
  78. package/lib/commonjs/modules/bt-management/types/integrated-devices.js.map +1 -1
  79. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js +19 -1
  80. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
  81. package/lib/module/modules/bt-device/constants/supported-device-catalog-and-medical-variants.js +45 -0
  82. package/lib/module/modules/bt-device/constants/supported-device-catalog-and-medical-variants.js.map +1 -0
  83. package/lib/module/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js +117 -0
  84. package/lib/module/modules/bt-device/constants/supported-device-catalog-cofoe-variants.js.map +1 -0
  85. package/lib/module/modules/bt-device/constants/supported-device-catalog-standard-variants.js +6 -0
  86. package/lib/module/modules/bt-device/constants/supported-device-catalog-standard-variants.js.map +1 -1
  87. package/lib/module/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js +171 -0
  88. package/lib/module/modules/bt-device/constants/supported-device-catalog-taidoc-variants.js.map +1 -0
  89. package/lib/module/modules/bt-device/constants/supported-device-catalog-variants.js +8 -0
  90. package/lib/module/modules/bt-device/constants/supported-device-catalog-variants.js.map +1 -1
  91. package/lib/module/modules/bt-device/constants/supported-device-catalog-yonker-variants.js +111 -0
  92. package/lib/module/modules/bt-device/constants/supported-device-catalog-yonker-variants.js.map +1 -0
  93. package/lib/module/modules/bt-device/constants/supported-devices.js +2 -37
  94. package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
  95. package/lib/module/modules/bt-management/constants/and-medical-device-variants.js +37 -0
  96. package/lib/module/modules/bt-management/constants/and-medical-device-variants.js.map +1 -0
  97. package/lib/module/modules/bt-management/constants/built-in-measurement-types.js +82 -0
  98. package/lib/module/modules/bt-management/constants/built-in-measurement-types.js.map +1 -0
  99. package/lib/module/modules/bt-management/constants/cofoe-device-variants.js +99 -0
  100. package/lib/module/modules/bt-management/constants/cofoe-device-variants.js.map +1 -0
  101. package/lib/module/modules/bt-management/constants/device-variants.js +5 -1
  102. package/lib/module/modules/bt-management/constants/device-variants.js.map +1 -1
  103. package/lib/module/modules/bt-management/constants/standard-device-variants.js +5 -0
  104. package/lib/module/modules/bt-management/constants/standard-device-variants.js.map +1 -1
  105. package/lib/module/modules/bt-management/constants/taidoc-device-variants.js +142 -0
  106. package/lib/module/modules/bt-management/constants/taidoc-device-variants.js.map +1 -0
  107. package/lib/module/modules/bt-management/constants/yonker-device-variants.js +91 -0
  108. package/lib/module/modules/bt-management/constants/yonker-device-variants.js.map +1 -0
  109. package/lib/module/modules/bt-management/services/background-sync/background-service-uuids.js +18 -0
  110. package/lib/module/modules/bt-management/services/background-sync/background-service-uuids.js.map +1 -1
  111. package/lib/module/modules/bt-management/services/device-classes.js +23 -1
  112. package/lib/module/modules/bt-management/services/device-classes.js.map +1 -1
  113. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.device.js +57 -0
  114. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.device.js.map +1 -0
  115. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.protocol.js +106 -0
  116. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.protocol.js.map +1 -0
  117. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js +74 -0
  118. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js.map +1 -0
  119. package/lib/module/modules/bt-management/services/devices/aoj/aoj-70b.device.js +2 -2
  120. package/lib/module/modules/bt-management/services/devices/aoj/aoj-70b.device.js.map +1 -1
  121. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +6 -24
  122. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
  123. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js +7 -2
  124. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  125. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js +82 -0
  126. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js.map +1 -0
  127. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js +148 -0
  128. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js.map +1 -0
  129. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js +30 -0
  130. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js.map +1 -0
  131. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.device.js +83 -0
  132. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.device.js.map +1 -0
  133. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.protocol.js +173 -0
  134. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.protocol.js.map +1 -0
  135. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.records.js +78 -0
  136. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.records.js.map +1 -0
  137. package/lib/module/modules/bt-management/services/devices/jumper/jumper.device.js +2 -2
  138. package/lib/module/modules/bt-management/services/devices/jumper/jumper.device.js.map +1 -1
  139. package/lib/module/modules/bt-management/services/devices/live-oximeter.sequencer.js +10 -6
  140. package/lib/module/modules/bt-management/services/devices/live-oximeter.sequencer.js.map +1 -1
  141. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.device.js +46 -0
  142. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.device.js.map +1 -0
  143. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.protocol.js +114 -0
  144. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.protocol.js.map +1 -0
  145. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.records.js +168 -0
  146. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.records.js.map +1 -0
  147. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.sequencer.js +136 -0
  148. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.sequencer.js.map +1 -0
  149. package/lib/module/modules/bt-management/services/devices/yonker/yonker.device.js +86 -0
  150. package/lib/module/modules/bt-management/services/devices/yonker/yonker.device.js.map +1 -0
  151. package/lib/module/modules/bt-management/services/devices/yonker/yonker.protocol.js +186 -0
  152. package/lib/module/modules/bt-management/services/devices/yonker/yonker.protocol.js.map +1 -0
  153. package/lib/module/modules/bt-management/services/devices/yonker/yonker.sequencer.js +133 -0
  154. package/lib/module/modules/bt-management/services/devices/yonker/yonker.sequencer.js.map +1 -0
  155. package/lib/module/modules/bt-management/types/device-measurement-map.js.map +1 -1
  156. package/lib/module/modules/bt-management/types/integrated-devices.js +18 -0
  157. package/lib/module/modules/bt-management/types/integrated-devices.js.map +1 -1
  158. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  159. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.d.ts +5 -0
  160. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.d.ts.map +1 -0
  161. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts +5 -0
  162. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts.map +1 -0
  163. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-standard-variants.d.ts.map +1 -1
  164. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts +5 -0
  165. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts.map +1 -0
  166. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-variants.d.ts.map +1 -1
  167. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts +5 -0
  168. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts.map +1 -0
  169. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  170. package/lib/typescript/commonjs/src/modules/bt-management/constants/and-medical-device-variants.d.ts +5 -0
  171. package/lib/typescript/commonjs/src/modules/bt-management/constants/and-medical-device-variants.d.ts.map +1 -0
  172. package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts +9 -0
  173. package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -0
  174. package/lib/typescript/commonjs/src/modules/bt-management/constants/cofoe-device-variants.d.ts +5 -0
  175. package/lib/typescript/commonjs/src/modules/bt-management/constants/cofoe-device-variants.d.ts.map +1 -0
  176. package/lib/typescript/commonjs/src/modules/bt-management/constants/device-variants.d.ts.map +1 -1
  177. package/lib/typescript/commonjs/src/modules/bt-management/constants/standard-device-variants.d.ts.map +1 -1
  178. package/lib/typescript/commonjs/src/modules/bt-management/constants/taidoc-device-variants.d.ts +5 -0
  179. package/lib/typescript/commonjs/src/modules/bt-management/constants/taidoc-device-variants.d.ts.map +1 -0
  180. package/lib/typescript/commonjs/src/modules/bt-management/constants/yonker-device-variants.d.ts +5 -0
  181. package/lib/typescript/commonjs/src/modules/bt-management/constants/yonker-device-variants.d.ts.map +1 -0
  182. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts.map +1 -1
  183. package/lib/typescript/commonjs/src/modules/bt-management/services/device-classes.d.ts +22 -0
  184. package/lib/typescript/commonjs/src/modules/bt-management/services/device-classes.d.ts.map +1 -1
  185. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts +18 -0
  186. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts.map +1 -0
  187. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts +30 -0
  188. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts.map +1 -0
  189. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.sequencer.d.ts +26 -0
  190. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.sequencer.d.ts.map +1 -0
  191. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -1
  192. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts +4 -1
  193. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  194. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.d.ts +32 -0
  195. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.d.ts.map +1 -0
  196. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.d.ts +46 -0
  197. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.d.ts.map +1 -0
  198. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.d.ts +15 -0
  199. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.d.ts.map +1 -0
  200. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts +18 -0
  201. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts.map +1 -0
  202. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts +75 -0
  203. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts.map +1 -0
  204. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.records.d.ts +22 -0
  205. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.records.d.ts.map +1 -0
  206. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts.map +1 -1
  207. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/live-oximeter.sequencer.d.ts +6 -2
  208. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/live-oximeter.sequencer.d.ts.map +1 -1
  209. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts +16 -0
  210. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts.map +1 -0
  211. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts +50 -0
  212. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts.map +1 -0
  213. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.records.d.ts +40 -0
  214. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.records.d.ts.map +1 -0
  215. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.sequencer.d.ts +38 -0
  216. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.sequencer.d.ts.map +1 -0
  217. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts +21 -0
  218. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts.map +1 -0
  219. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts +62 -0
  220. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts.map +1 -0
  221. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.sequencer.d.ts +46 -0
  222. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.sequencer.d.ts.map +1 -0
  223. package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts +1 -0
  224. package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts.map +1 -1
  225. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +18 -0
  226. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  227. package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts +19 -1
  228. package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
  229. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts +2 -2
  230. package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  231. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.d.ts +5 -0
  232. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.d.ts.map +1 -0
  233. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts +5 -0
  234. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.d.ts.map +1 -0
  235. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-standard-variants.d.ts.map +1 -1
  236. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts +5 -0
  237. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.d.ts.map +1 -0
  238. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-variants.d.ts.map +1 -1
  239. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts +5 -0
  240. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-yonker-variants.d.ts.map +1 -0
  241. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  242. package/lib/typescript/module/src/modules/bt-management/constants/and-medical-device-variants.d.ts +5 -0
  243. package/lib/typescript/module/src/modules/bt-management/constants/and-medical-device-variants.d.ts.map +1 -0
  244. package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts +9 -0
  245. package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -0
  246. package/lib/typescript/module/src/modules/bt-management/constants/cofoe-device-variants.d.ts +5 -0
  247. package/lib/typescript/module/src/modules/bt-management/constants/cofoe-device-variants.d.ts.map +1 -0
  248. package/lib/typescript/module/src/modules/bt-management/constants/device-variants.d.ts.map +1 -1
  249. package/lib/typescript/module/src/modules/bt-management/constants/standard-device-variants.d.ts.map +1 -1
  250. package/lib/typescript/module/src/modules/bt-management/constants/taidoc-device-variants.d.ts +5 -0
  251. package/lib/typescript/module/src/modules/bt-management/constants/taidoc-device-variants.d.ts.map +1 -0
  252. package/lib/typescript/module/src/modules/bt-management/constants/yonker-device-variants.d.ts +5 -0
  253. package/lib/typescript/module/src/modules/bt-management/constants/yonker-device-variants.d.ts.map +1 -0
  254. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts.map +1 -1
  255. package/lib/typescript/module/src/modules/bt-management/services/device-classes.d.ts +22 -0
  256. package/lib/typescript/module/src/modules/bt-management/services/device-classes.d.ts.map +1 -1
  257. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts +18 -0
  258. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts.map +1 -0
  259. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts +30 -0
  260. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts.map +1 -0
  261. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.sequencer.d.ts +26 -0
  262. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.sequencer.d.ts.map +1 -0
  263. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -1
  264. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts +4 -1
  265. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  266. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.d.ts +32 -0
  267. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.d.ts.map +1 -0
  268. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.d.ts +46 -0
  269. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.d.ts.map +1 -0
  270. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.d.ts +15 -0
  271. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.d.ts.map +1 -0
  272. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts +18 -0
  273. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts.map +1 -0
  274. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts +75 -0
  275. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts.map +1 -0
  276. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.records.d.ts +22 -0
  277. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.records.d.ts.map +1 -0
  278. package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts.map +1 -1
  279. package/lib/typescript/module/src/modules/bt-management/services/devices/live-oximeter.sequencer.d.ts +6 -2
  280. package/lib/typescript/module/src/modules/bt-management/services/devices/live-oximeter.sequencer.d.ts.map +1 -1
  281. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts +16 -0
  282. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts.map +1 -0
  283. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts +50 -0
  284. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts.map +1 -0
  285. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.records.d.ts +40 -0
  286. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.records.d.ts.map +1 -0
  287. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.sequencer.d.ts +38 -0
  288. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.sequencer.d.ts.map +1 -0
  289. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts +21 -0
  290. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts.map +1 -0
  291. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts +62 -0
  292. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts.map +1 -0
  293. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.sequencer.d.ts +46 -0
  294. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.sequencer.d.ts.map +1 -0
  295. package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts +1 -0
  296. package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts.map +1 -1
  297. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +18 -0
  298. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  299. package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts +19 -1
  300. package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
  301. package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts +2 -2
  302. package/package.json +1 -1
@@ -0,0 +1,133 @@
1
+ "use strict";
2
+
3
+ import { MeasurementTypeKey } from "@ovok/core";
4
+ import { CaseType } from "../../../types/case-type.js";
5
+ import { AILINK_GATT, bodyOf, bpmSetTimeCommand, commandOf, idOf, longFrame, readScaleWeight, readYonkerBloodPressure, readYonkerTemperature, scaleSetTimeCommand, shortFrame, YONKER_GATT } from "./yonker.protocol.js";
6
+
7
+ /** A thermometer that repeats the same temperature within this window is reporting it again. */
8
+ const REPEAT_WINDOW_MS = 30_000;
9
+
10
+ /**
11
+ * The Yonker blood-pressure monitor and thermometer push one frame per reading. The monitor is
12
+ * sent the time on connect and then pushes its records by itself.
13
+ */
14
+ class YonkerSequencer {
15
+ recorded = false;
16
+ constructor(params) {
17
+ this.params = params;
18
+ }
19
+ initialCommands = () => this.params.kind === "blood-pressure" ? [{
20
+ serviceUuid: YONKER_GATT.timeService,
21
+ characteristicUuid: YONKER_GATT.timeWrite,
22
+ frame: bpmSetTimeCommand(this.now())
23
+ }] : [];
24
+ isNormalDisconnect = () => this.recorded;
25
+ nextCommand = frame => {
26
+ const reading = this.params.kind === "blood-pressure" ? this.bloodPressure(frame) : this.temperature(frame);
27
+ if (reading) {
28
+ this.recorded = true;
29
+ this.params.onResult({
30
+ caseType: CaseType.RESULT,
31
+ ...reading
32
+ });
33
+ }
34
+ return undefined;
35
+ };
36
+ bloodPressure = frame => {
37
+ const reading = readYonkerBloodPressure(frame, this.now());
38
+ return reading && {
39
+ measurementTypeKey: MeasurementTypeKey.bloodPressure,
40
+ ...reading
41
+ };
42
+ };
43
+ temperature = frame => {
44
+ const bodyTemp = readYonkerTemperature(frame);
45
+ const now = this.now();
46
+ if (bodyTemp === undefined || this.lastTemperature?.value === bodyTemp && now.getTime() - this.lastTemperature.at < REPEAT_WINDOW_MS) {
47
+ return undefined;
48
+ }
49
+ this.lastTemperature = {
50
+ value: bodyTemp,
51
+ at: now.getTime()
52
+ };
53
+ return {
54
+ measurementTypeKey: MeasurementTypeKey.temperature,
55
+ bodyTemp,
56
+ recordedAt: now
57
+ };
58
+ };
59
+ now = () => this.params.now?.() ?? new Date();
60
+ }
61
+
62
+ /** What the scale's frames ask for. */
63
+ const SCALE = {
64
+ weight: 0x02,
65
+ completed: 0x0a,
66
+ completedAck: 0x0f,
67
+ timeRequest: 0x38
68
+ };
69
+
70
+ /** The id word long frames carry until the scale has sent its own. */
71
+ const DEFAULT_SCALE_ID = 0x0032;
72
+
73
+ /**
74
+ * The AiLink scale: disables its encryption, then two seconds later sets the time and kilograms
75
+ * and asks for its software info, as MedM does. Weight frames repeat while it settles; the last
76
+ * one is reported when the scale says the measurement is complete. Body composition is not read.
77
+ */
78
+ class YonkerScaleSequencer {
79
+ id = DEFAULT_SCALE_ID;
80
+ recorded = false;
81
+ constructor(params) {
82
+ this.params = params;
83
+ }
84
+ initialCommands = () => [this.short(shortFrame(0x42, [0x01, 0x00])), this.short(scaleSetTimeCommand(this.now()), 2_000), this.long(0x81, [0x01]), this.long(0x0e)];
85
+ isNormalDisconnect = () => this.recorded;
86
+ nextCommand = frame => {
87
+ this.id = idOf(frame) || this.id;
88
+ switch (commandOf(frame)) {
89
+ case SCALE.weight:
90
+ this.pendingWeight = readScaleWeight(bodyOf(frame));
91
+ return undefined;
92
+ case SCALE.completedAck:
93
+ this.report();
94
+ return [this.long(0x84, [0x00])];
95
+ case SCALE.completed:
96
+ this.report();
97
+ return undefined;
98
+ case SCALE.timeRequest:
99
+ return [this.short(scaleSetTimeCommand(this.now()))];
100
+ default:
101
+ return undefined;
102
+ }
103
+ };
104
+ report = () => {
105
+ const bodyWeight = this.pendingWeight;
106
+ this.pendingWeight = undefined;
107
+ if (bodyWeight !== undefined) {
108
+ this.recorded = true;
109
+ this.params.onResult({
110
+ caseType: CaseType.RESULT,
111
+ measurementTypeKey: MeasurementTypeKey.bodyWeight,
112
+ bodyWeight,
113
+ recordedAt: this.now()
114
+ });
115
+ }
116
+ };
117
+ now = () => this.params.now?.() ?? new Date();
118
+ long = (command, payload = []) => ({
119
+ serviceUuid: AILINK_GATT.service,
120
+ characteristicUuid: AILINK_GATT.writeLong,
121
+ frame: longFrame(this.id, command, payload)
122
+ });
123
+ short = (frame, delayBeforeWriteMs) => ({
124
+ serviceUuid: AILINK_GATT.service,
125
+ characteristicUuid: AILINK_GATT.writeShort,
126
+ frame,
127
+ ...(delayBeforeWriteMs ? {
128
+ delayBeforeWriteMs
129
+ } : {})
130
+ });
131
+ }
132
+ export { YonkerScaleSequencer, YonkerSequencer };
133
+ //# sourceMappingURL=yonker.sequencer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["MeasurementTypeKey","CaseType","AILINK_GATT","bodyOf","bpmSetTimeCommand","commandOf","idOf","longFrame","readScaleWeight","readYonkerBloodPressure","readYonkerTemperature","scaleSetTimeCommand","shortFrame","YONKER_GATT","REPEAT_WINDOW_MS","YonkerSequencer","recorded","constructor","params","initialCommands","kind","serviceUuid","timeService","characteristicUuid","timeWrite","frame","now","isNormalDisconnect","nextCommand","reading","bloodPressure","temperature","onResult","caseType","RESULT","undefined","measurementTypeKey","bodyTemp","lastTemperature","value","getTime","at","recordedAt","Date","SCALE","weight","completed","completedAck","timeRequest","DEFAULT_SCALE_ID","YonkerScaleSequencer","id","short","long","pendingWeight","report","bodyWeight","command","payload","service","writeLong","delayBeforeWriteMs","writeShort"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/yonker/yonker.sequencer.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAQ,YAAY;AAE/C,SAASC,QAA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5B,IAAI,CAACnB,QAAQ,GAAG,IAAI;MACpB,IAAI,CAACE,MAAM,CAACc,QAAQ,CAAC;QACnBC,QAAQ,EAAEhC,QAAQ,CAACiC,MAAM;QACzBE,kBAAkB,EAAEpC,kBAAkB,CAACwD,UAAU;QACjDA,UAAU;QACVd,UAAU,EAAE,IAAI,CAAChB,GAAG,CAAC;MACvB,CAAC,CAAC;IACJ;EACF,CAAC;EAEOA,GAAG,GAAGA,CAAA,KAAY,IAAI,CAACR,MAAM,CAACQ,GAAG,GAAG,CAAC,IAAI,IAAIiB,IAAI,CAAC,CAAC;EAEnDU,IAAI,GAAGA,CAACI,OAAe,EAAEC,OAA0B,GAAG,EAAE,MAAqB;IACnFrC,WAAW,EAAEnB,WAAW,CAACyD,OAAO;IAChCpC,kBAAkB,EAAErB,WAAW,CAAC0D,SAAS;IACzCnC,KAAK,EAAElB,SAAS,CAAC,IAAI,CAAC4C,EAAE,EAAEM,OAAO,EAAEC,OAAO;EAC5C,CAAC,CAAC;EAEMN,KAAK,GAAGA,CAAC3B,KAAwB,EAAEoC,kBAA2B,MAAqB;IACzFxC,WAAW,EAAEnB,WAAW,CAACyD,OAAO;IAChCpC,kBAAkB,EAAErB,WAAW,CAAC4D,UAAU;IAC1CrC,KAAK;IACL,IAAIoC,kBAAkB,GAAG;MAAEA;IAAmB,CAAC,GAAG,CAAC,CAAC;EACtD,CAAC,CAAC;AACJ;AAEA,SAASX,oBAAoB,EAAEnC,eAAe","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["IntegratedDevices"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/types/device-measurement-map.ts"],"mappings":";;AAiBA,SAASA,iBAAiB,QAAQ,yBAAsB;;AAiIxD;AACA;AACA;AACA","ignoreList":[]}
1
+ {"version":3,"names":["IntegratedDevices"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/types/device-measurement-map.ts"],"mappings":";;AAiBA,SAASA,iBAAiB,QAAQ,yBAAsB;;AAmJxD;AACA;AACA;AACA","ignoreList":[]}
@@ -73,6 +73,24 @@ export let IntegratedDevices = /*#__PURE__*/function (IntegratedDevices) {
73
73
  IntegratedDevices["JUMPER_THERMOMETER"] = "Jumper Thermometer";
74
74
  IntegratedDevices["JOYTECH_BPM"] = "Joytech BPM";
75
75
  IntegratedDevices["JOYTECH_THERMOMETER"] = "Joytech Thermometer";
76
+ IntegratedDevices["AND_BPM"] = "A&D BPM";
77
+ IntegratedDevices["AND_BPM_CTS"] = "A&D BPM CTS";
78
+ IntegratedDevices["AND_SCALE"] = "A&D Scale";
79
+ IntegratedDevices["YONKER_OXIMETER"] = "Yonker Oximeter";
80
+ IntegratedDevices["YONKER_BPM"] = "Yonker BPM";
81
+ IntegratedDevices["YONKER_THERMOMETER"] = "Yonker Thermometer";
82
+ IntegratedDevices["YONKER_SCALE"] = "Yonker Scale";
83
+ IntegratedDevices["YONKER_80B"] = "Yonker 80B";
84
+ IntegratedDevices["COFOE_BPM"] = "Cofoe BPM";
85
+ IntegratedDevices["COFOE_BPM_HISTORY"] = "Cofoe BPM History";
86
+ IntegratedDevices["COFOE_GLUCOMETER"] = "Cofoe Glucometer";
87
+ IntegratedDevices["COFOE_GLUCOMETER_CGH25"] = "Cofoe Glucometer CGH25";
88
+ IntegratedDevices["COFOE_THERMOMETER"] = "Cofoe Thermometer";
89
+ IntegratedDevices["TAIDOC_MULTI"] = "TaiDoc Multi";
90
+ IntegratedDevices["TAIDOC_BPM"] = "TaiDoc BPM";
91
+ IntegratedDevices["TAIDOC_THERMOMETER"] = "TaiDoc Thermometer";
92
+ IntegratedDevices["TAIDOC_OXIMETER"] = "TaiDoc Oximeter";
93
+ IntegratedDevices["TAIDOC_SCALE"] = "TaiDoc Scale";
76
94
  return IntegratedDevices;
77
95
  }({});
78
96
  //# sourceMappingURL=integrated-devices.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["IntegratedDevices"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/types/integrated-devices.ts"],"mappings":";;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EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
@@ -1 +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,CAyErE,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,CA2FrE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { VariantArt } from "./supported-device-catalog-variants";
2
+ /** Catalog art for `AND_MEDICAL_DEVICE_VARIANTS`, keyed by model. */
3
+ declare const AND_MEDICAL_VARIANT_ART: Readonly<Record<string, VariantArt>>;
4
+ export { AND_MEDICAL_VARIANT_ART };
5
+ //# sourceMappingURL=supported-device-catalog-and-medical-variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supported-device-catalog-and-medical-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-and-medical-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAStE,qEAAqE;AACrE,QAAA,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAqCjE,CAAC;AAEF,OAAO,EAAE,uBAAuB,EAAE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { VariantArt } from "./supported-device-catalog-variants";
2
+ /** Catalog art for `COFOE_DEVICE_VARIANTS`, keyed by model. */
3
+ declare const COFOE_VARIANT_ART: Readonly<Record<string, VariantArt>>;
4
+ export { COFOE_VARIANT_ART };
5
+ //# sourceMappingURL=supported-device-catalog-cofoe-variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supported-device-catalog-cofoe-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-cofoe-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAWtE,+DAA+D;AAC/D,QAAA,MAAM,iBAAiB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CA6G3D,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"supported-device-catalog-standard-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-standard-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAiBtE;;;;GAIG;AACH,QAAA,MAAM,oBAAoB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAy9B9D,CAAC;AAEF,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
1
+ {"version":3,"file":"supported-device-catalog-standard-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-standard-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAiBtE;;;;GAIG;AACH,QAAA,MAAM,oBAAoB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CA+9B9D,CAAC;AAEF,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { VariantArt } from "./supported-device-catalog-variants";
2
+ /** Catalog art for `TAIDOC_DEVICE_VARIANTS`, keyed by model. */
3
+ declare const TAIDOC_VARIANT_ART: Readonly<Record<string, VariantArt>>;
4
+ export { TAIDOC_VARIANT_ART };
5
+ //# sourceMappingURL=supported-device-catalog-taidoc-variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supported-device-catalog-taidoc-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-taidoc-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAetE,gEAAgE;AAChE,QAAA,MAAM,kBAAkB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAmK5D,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"supported-device-catalog-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAkB3D,4EAA4E;AAC5E,KAAK,UAAU,GAAG;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AA6RF,wFAAwF;AACxF,QAAA,MAAM,cAAc,EAAE,SAAS,eAAe,EAe7C,CAAC;AAEF,6FAA6F;AAC7F,QAAA,MAAM,gBAAgB,GACpB,OAAO,MAAM,EACb,SAAS,MAAM,KACd,eAAe,GAAG,SAOpB,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,CAAC;AAC5C,YAAY,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"supported-device-catalog-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAsB3D,4EAA4E;AAC5E,KAAK,UAAU,GAAG;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAiSF,wFAAwF;AACxF,QAAA,MAAM,cAAc,EAAE,SAAS,eAAe,EAe7C,CAAC;AAEF,6FAA6F;AAC7F,QAAA,MAAM,gBAAgB,GACpB,OAAO,MAAM,EACb,SAAS,MAAM,KACd,eAAe,GAAG,SAOpB,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,CAAC;AAC5C,YAAY,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { VariantArt } from "./supported-device-catalog-variants";
2
+ /** Catalog art for `YONKER_DEVICE_VARIANTS`, keyed by model. */
3
+ declare const YONKER_VARIANT_ART: Readonly<Record<string, VariantArt>>;
4
+ export { YONKER_VARIANT_ART };
5
+ //# sourceMappingURL=supported-device-catalog-yonker-variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supported-device-catalog-yonker-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-yonker-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAatE,gEAAgE;AAChE,QAAA,MAAM,kBAAkB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAuG5D,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
@@ -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;AAgGhF,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;IACjD,EAAE,EAAE,MAAM,CAAC;IAEX,4DAA4D;IAC5D,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oOAgOkC,CAAC;AA6mBhD,+FAA+F;AAC/F,QAAA,MAAM,gBAAgB,EAAE,SAAS,yBAAyB,EAoBH,CAAC;AAExD,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;AAgGhF,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;IACjD,EAAE,EAAE,MAAM,CAAC;IAEX,4DAA4D;IAC5D,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oOAgOkC,CAAC;AA+jBhD,+FAA+F;AAC/F,QAAA,MAAM,gBAAgB,EAAE,SAAS,yBAAyB,EAoBH,CAAC;AAExD,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"}
@@ -0,0 +1,5 @@
1
+ import type { DeviceVariant } from "./device-variants";
2
+ /** A&D Medical products from MedM Health Diary 3.12.11's catalogue, matched by their advertised names. */
3
+ declare const AND_MEDICAL_DEVICE_VARIANTS: readonly DeviceVariant[];
4
+ export { AND_MEDICAL_DEVICE_VARIANTS };
5
+ //# sourceMappingURL=and-medical-device-variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"and-medical-device-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/and-medical-device-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAKvD,0GAA0G;AAC1G,QAAA,MAAM,2BAA2B,EAAE,SAAS,aAAa,EAoCxD,CAAC;AAEF,OAAO,EAAE,2BAA2B,EAAE,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { MeasurementTypeKey } from "@ovok/core";
2
+ import { IntegratedDevices } from "../types/integrated-devices";
3
+ /**
4
+ * What each built-in parser measures, for parsers whose GATT declaration doesn't say: the
5
+ * sequencer-driven devices decode their frames in code, so their parsing models carry no cases.
6
+ */
7
+ declare const BUILT_IN_MEASUREMENT_TYPES: Partial<Record<IntegratedDevices, readonly MeasurementTypeKey[]>>;
8
+ export { BUILT_IN_MEASUREMENT_TYPES };
9
+ //# sourceMappingURL=built-in-measurement-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"built-in-measurement-types.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/built-in-measurement-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAIhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE;;;GAGG;AACH,QAAA,MAAM,0BAA0B,EAAE,OAAO,CACvC,MAAM,CAAC,iBAAiB,EAAE,SAAS,kBAAkB,EAAE,CAAC,CA8EzD,CAAC;AAEF,OAAO,EAAE,0BAA0B,EAAE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { DeviceVariant } from "./device-variants";
2
+ /** Cofoe products from MedM Health Diary 3.12.11's catalogue, matched by their advertised names. */
3
+ declare const COFOE_DEVICE_VARIANTS: readonly DeviceVariant[];
4
+ export { COFOE_DEVICE_VARIANTS };
5
+ //# sourceMappingURL=cofoe-device-variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cofoe-device-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/cofoe-device-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAKvD,oGAAoG;AACpG,QAAA,MAAM,qBAAqB,EAAE,SAAS,aAAa,EA+GlD,CAAC;AAEF,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"device-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/device-variants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAShE,oFAAoF;AACpF,KAAK,iBAAiB,GAClB,yBAAyB,GACzB,wBAAwB,GACxB,2BAA2B,GAC3B,qBAAqB,GACrB,sBAAsB,GACtB,kCAAkC,CAAC;AAEvC;;;;;;GAMG;AACH,KAAK,aAAa,GAAG;IACnB,MAAM,EAAE,iBAAiB,GAAG,iBAAiB,CAAC;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IAErB,wEAAwE;IACxE,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AA4QF,QAAA,MAAM,eAAe,EAAE,SAAS,aAAa,EAQ5C,CAAC;AAEF,+FAA+F;AAC/F,QAAA,MAAM,iBAAiB,GACrB,QAAQ,MAAM,EACd,gBAAgB,MAAM,KACrB,aAAa,GAAG,SAKhB,CAAC;AAEJ,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAC9C,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"device-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/device-variants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAahE,oFAAoF;AACpF,KAAK,iBAAiB,GAClB,yBAAyB,GACzB,wBAAwB,GACxB,2BAA2B,GAC3B,qBAAqB,GACrB,sBAAsB,GACtB,kCAAkC,CAAC;AAEvC;;;;;;GAMG;AACH,KAAK,aAAa,GAAG;IACnB,MAAM,EAAE,iBAAiB,GAAG,iBAAiB,CAAC;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IAErB,wEAAwE;IACxE,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AA4QF,QAAA,MAAM,eAAe,EAAE,SAAS,aAAa,EAY5C,CAAC;AAEF,+FAA+F;AAC/F,QAAA,MAAM,iBAAiB,GACrB,QAAQ,MAAM,EACd,gBAAgB,MAAM,KACrB,aAAa,GAAG,SAKhB,CAAC;AAEJ,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAC9C,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"standard-device-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/standard-device-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD;;;;;GAKG;AACH,QAAA,MAAM,wBAAwB,EAAE,SAAS,aAAa,EAu7BrD,CAAC;AAEF,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
1
+ {"version":3,"file":"standard-device-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/standard-device-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD;;;;;GAKG;AACH,QAAA,MAAM,wBAAwB,EAAE,SAAS,aAAa,EA67BrD,CAAC;AAEF,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { DeviceVariant } from "./device-variants";
2
+ /** TaiDoc and FORA products from MedM Health Diary 3.12.11's catalogue, matched by their advertised names. */
3
+ declare const TAIDOC_DEVICE_VARIANTS: readonly DeviceVariant[];
4
+ export { TAIDOC_DEVICE_VARIANTS };
5
+ //# sourceMappingURL=taidoc-device-variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taidoc-device-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/taidoc-device-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAKvD,8GAA8G;AAC9G,QAAA,MAAM,sBAAsB,EAAE,SAAS,aAAa,EAkKnD,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { DeviceVariant } from "./device-variants";
2
+ /** Yonker products from MedM Health Diary 3.12.11's catalogue, matched by their advertised names. */
3
+ declare const YONKER_DEVICE_VARIANTS: readonly DeviceVariant[];
4
+ export { YONKER_DEVICE_VARIANTS };
5
+ //# sourceMappingURL=yonker-device-variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yonker-device-variants.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/constants/yonker-device-variants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAKvD,qGAAqG;AACrG,QAAA,MAAM,sBAAsB,EAAE,SAAS,aAAa,EAqGnD,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,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;AAmE7D,eAAO,MAAM,yBAAyB,GACpC,iBAAiB,SAAS,cAAc,EAAE,EAC1C,yBAAwB,SAAS,MAAM,EAAO,KAC7C,MAAM,EAAE,GAAG,IAsBb,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;AAqF7D,eAAO,MAAM,yBAAyB,GACpC,iBAAiB,SAAS,cAAc,EAAE,EAC1C,yBAAwB,SAAS,MAAM,EAAO,KAC7C,MAAM,EAAE,GAAG,IAsBb,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { A606Device } from "./devices/a606/a606.device";
2
+ import { AndMedicalDevice } from "./devices/and-medical/and-medical.device";
2
3
  import { Aoj70bDevice } from "./devices/aoj/aoj-70b.device";
3
4
  import { AojBpDevice } from "./devices/aoj/aoj-bp.device";
4
5
  import { Aoj20aDevice } from "./devices/aoj/aoj.device";
@@ -9,6 +10,7 @@ import { Bpw1Device } from "./devices/bpw1/bpw1.device";
9
10
  import { CheckmeLeDevice, PulsebitDevice } from "./devices/checkme/checkme-ecg.device";
10
11
  import { CheckmePodDevice } from "./devices/checkme/checkme-pod.device";
11
12
  import { CheckmeProDevice } from "./devices/checkme/checkme.device";
13
+ import { CofoeDevice } from "./devices/cofoe/cofoe.device";
12
14
  import { F4Device } from "./devices/f4/f4.device";
13
15
  import { F5ScaleDevice } from "./devices/f5/f5-scale.device";
14
16
  import { FamidocDevice } from "./devices/famidoc/famidoc.device";
@@ -17,6 +19,7 @@ import { JoytechDevice } from "./devices/joytech/joytech.device";
17
19
  import { JumperDevice } from "./devices/jumper/jumper.device";
18
20
  import { OxyfitDevice } from "./devices/spo/oxyfit.device";
19
21
  import { SPO2Device } from "./devices/spo/spo2.device";
22
+ import { TaidocDevice } from "./devices/taidoc/taidoc.device";
20
23
  import { TranstekCommandDevice } from "./devices/transtek/transtek-command.device";
21
24
  import { TrasenseS9Device } from "./devices/trasense/s9.device";
22
25
  import { MySenseDevice } from "./devices/uebe/mysense.device";
@@ -39,6 +42,7 @@ import { Pc100Device } from "./devices/viatom/viatom.pc100.device";
39
42
  import { Pc300Device } from "./devices/viatom/viatom.pc300.device";
40
43
  import { Pm10Device } from "./devices/viatom/viatom.pm10.device";
41
44
  import { Wbp02Device } from "./devices/viatom/viatom.wbp02.device";
45
+ import { YonkerDevice } from "./devices/yonker/yonker.device";
42
46
  /**
43
47
  * Built-in names with compiled, tested decoders. `integratedDevicesMap` also identifies
44
48
  * unsupported devices so scan lists remain useful and connect can explain missing support.
@@ -107,6 +111,24 @@ export declare const BUILT_IN_DEVICE_CLASSES: {
107
111
  "Jumper Thermometer": typeof JumperDevice;
108
112
  "Joytech BPM": typeof JoytechDevice;
109
113
  "Joytech Thermometer": typeof JoytechDevice;
114
+ "A&D BPM": typeof AndMedicalDevice;
115
+ "A&D BPM CTS": typeof AndMedicalDevice;
116
+ "A&D Scale": typeof AndMedicalDevice;
117
+ "Yonker Oximeter": typeof YonkerDevice;
118
+ "Yonker BPM": typeof YonkerDevice;
119
+ "Yonker Thermometer": typeof YonkerDevice;
120
+ "Yonker Scale": typeof YonkerDevice;
121
+ "Yonker 80B": typeof YonkerDevice;
122
+ "Cofoe BPM": typeof CofoeDevice;
123
+ "Cofoe BPM History": typeof CofoeDevice;
124
+ "Cofoe Glucometer": typeof CofoeDevice;
125
+ "Cofoe Glucometer CGH25": typeof CofoeDevice;
126
+ "Cofoe Thermometer": typeof CofoeDevice;
127
+ "TaiDoc Multi": typeof TaidocDevice;
128
+ "TaiDoc BPM": typeof TaidocDevice;
129
+ "TaiDoc Thermometer": typeof TaidocDevice;
130
+ "TaiDoc Oximeter": typeof TaidocDevice;
131
+ "TaiDoc Scale": typeof TaidocDevice;
110
132
  };
111
133
  export type BuiltInWithClass = keyof typeof BUILT_IN_DEVICE_CLASSES;
112
134
  //# sourceMappingURL=device-classes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"device-classes.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/services/device-classes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAClF,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EACL,eAAe,EACf,cAAc,EACf,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC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8BAA8B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAEnE;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgEnC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,uBAAuB,CAAC"}
1
+ {"version":3,"file":"device-classes.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/services/device-classes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAClF,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EACL,eAAe,EACf,cAAc,EACf,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;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CAAiC,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAE9D;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkFnC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,uBAAuB,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
+ type AndMedicalDevice = IntegratedDevices.AND_BPM | IntegratedDevices.AND_BPM_CTS | IntegratedDevices.AND_SCALE;
7
+ /** A&D Medical blood-pressure monitors and the UC-352BLE scale. */
8
+ declare class AndMedicalDeviceClass extends BTManagedDevice<AndMedicalDevice> {
9
+ protected mainServices: IService[];
10
+ protected stuckDataTimeout: number;
11
+ protected onStreamStart: undefined;
12
+ constructor(device: Device, params: CreateDeviceParams<AndMedicalDevice>);
13
+ /** One indication is one record. */
14
+ protected validatePackage: () => boolean;
15
+ protected handleSuccessResult(): void;
16
+ }
17
+ export { AndMedicalDeviceClass as AndMedicalDevice };
18
+ //# sourceMappingURL=and-medical.device.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"and-medical.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/and-medical/and-medical.device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,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;AAKvD,KAAK,gBAAgB,GACjB,iBAAiB,CAAC,OAAO,GACzB,iBAAiB,CAAC,WAAW,GAC7B,iBAAiB,CAAC,SAAS,CAAC;AA4BhC,mEAAmE;AACnE,cAAM,qBAAsB,SAAQ,eAAe,CAAC,gBAAgB,CAAC;IACnE,SAAS,CAAC,YAAY,EAAE,QAAQ,EAAE,CAAC;IACnC,SAAS,CAAC,gBAAgB,SAAU;IACpC,SAAS,CAAC,aAAa,YAAa;gBAEjB,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,gBAAgB,CAAC;IAe/E,oCAAoC;IACpC,SAAS,CAAC,eAAe,QAAO,OAAO,CAAS;IAEhD,SAAS,CAAC,mBAAmB,IAAI,IAAI;CAGtC;AAED,OAAO,EAAE,qBAAqB,IAAI,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,30 @@
1
+ export declare const AND_MEDICAL: {
2
+ readonly bloodPressureService: string;
3
+ readonly bloodPressureMeasurement: string;
4
+ readonly dateTime: string;
5
+ readonly currentTimeService: string;
6
+ readonly currentTime: string;
7
+ readonly commandService: "233bf000-5a34-1b6d-975c-000d5690abe4";
8
+ readonly command: "233bf001-5a34-1b6d-975c-000d5690abe4";
9
+ readonly scaleService: "23434100-1fe4-1eff-80cb-00ff78297d8b";
10
+ readonly scaleRecord: "23434101-1fe4-1eff-80cb-00ff78297d8b";
11
+ };
12
+ /** SIG Date Time, phone-local: year (u16 LE), month, day, hour, minute, second. */
13
+ export declare const dateTimeCommand: (now: Date) => string[];
14
+ /** A&D set-time frame for the scale: `08 01 01 YY MM DD hh mm ss`, binary, phone-local. */
15
+ export declare const scaleSetTimeCommand: (now: Date) => string[];
16
+ /**
17
+ * SIG Blood Pressure Measurement 0x2A35. kPa is converted to mmHg; the device timestamp is kept
18
+ * when the clock is valid; the user id (0-based, 0xFF unknown) becomes a 1-based memory slot;
19
+ * status bit 2 is the irregular pulse. A record without both pressures is dropped.
20
+ */
21
+ export declare const readBloodPressure: (frame: readonly string[]) => Record<string, unknown> | undefined;
22
+ /**
23
+ * UC-352 record: flags (bit 0 = pounds), weight u16 LE in tenths, then the device time. Pounds
24
+ * are converted to kilograms. A record too short to carry a time uses the phone's, as MedM does.
25
+ */
26
+ export declare const readWeight: (frame: readonly string[], now: Date) => {
27
+ bodyWeight: number;
28
+ recordedAt?: Date;
29
+ } | undefined;
30
+ //# sourceMappingURL=and-medical.protocol.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"and-medical.protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/and-medical/and-medical.protocol.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,WAAW;;;;;;;;;;CAUd,CAAC;AAQX,mFAAmF;AACnF,eAAO,MAAM,eAAe,GAAI,KAAK,IAAI,KAAG,MAAM,EAS9C,CAAC;AAEL,2FAA2F;AAC3F,eAAO,MAAM,mBAAmB,GAAI,KAAK,IAAI,KAAG,MAAM,EAWlD,CAAC;AAOL;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SA2BtF,CAAC;AAWF;;;GAGG;AACH,eAAO,MAAM,UAAU,GACrB,OAAO,SAAS,MAAM,EAAE,EACxB,KAAK,IAAI,KACR;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,IAAI,CAAA;CAAE,GAAG,SAe9C,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { CommandSequencer } from "../../../types/command-sequencer";
2
+ import { DeviceCommand } from "../../../types/device-command";
3
+ /** `bpm`: time to 0x1810/0x2A08; `bpmCts`: to 0x1805/0x2A2B (UA-1200BLE/UB-1100BLE); `scale`: UC-352. */
4
+ type AndMedicalKind = "bpm" | "bpmCts" | "scale";
5
+ /**
6
+ * Sets the clock, then reports whatever the device indicates. A monitor resends stored readings,
7
+ * so an exact repeat (same time and values) within one connection is reported once.
8
+ */
9
+ declare class AndMedicalSequencer implements CommandSequencer {
10
+ private readonly params;
11
+ private recorded;
12
+ private readonly seen;
13
+ constructor(params: {
14
+ kind: AndMedicalKind;
15
+ onResult: (result: Record<string, unknown>) => void;
16
+ now?: () => Date;
17
+ });
18
+ initialCommands: () => readonly DeviceCommand[];
19
+ isNormalDisconnect: () => boolean;
20
+ nextCommand: (frame: readonly string[]) => readonly DeviceCommand[] | undefined;
21
+ private report;
22
+ private now;
23
+ }
24
+ export { AndMedicalSequencer };
25
+ export type { AndMedicalKind };
26
+ //# sourceMappingURL=and-medical.sequencer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"and-medical.sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/and-medical/and-medical.sequencer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAU9D,yGAAyG;AACzG,KAAK,cAAc,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,CAAC;AAKjD;;;GAGG;AACH,cAAM,mBAAoB,YAAW,gBAAgB;IAKjD,OAAO,CAAC,QAAQ,CAAC,MAAM;IAJzB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAqB;gBAGvB,MAAM,EAAE;QACvB,IAAI,EAAE,cAAc,CAAC;QACrB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;QACpD,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;KAClB;IAGI,eAAe,QAAO,SAAS,aAAa,EAAE,CAuBnD;IAEK,kBAAkB,QAAO,OAAO,CAAkB;IAElD,WAAW,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,SAAS,aAAa,EAAE,GAAG,SAAS,CAuBnF;IAEF,OAAO,CAAC,MAAM,CAGZ;IAEF,OAAO,CAAC,GAAG,CAAiD;CAC7D;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAC/B,YAAY,EAAE,cAAc,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"blood-glucose.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/blood-glucose/blood-glucose.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;AA8BvD,KAAK,aAAa,GACd,iBAAiB,CAAC,cAAc,GAChC,iBAAiB,CAAC,UAAU,GAC5B,iBAAiB,CAAC,GAAG,CAAC;AA8D1B,gFAAgF;AAChF,qBAAa,kBAAmB,SAAQ,eAAe,CAAC,aAAa,CAAC;IACpE,SAAS,CAAC,aAAa,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IAClD,SAAS,CAAC,gBAAgB,SAAU;IACpC,SAAS,CAAC,YAAY,EAAE,QAAQ,EAAE,CAAC;gBAGjC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,CAAC,aAAa,CAAC;IAM3C,SAAS,CAAC,eAAe,GAAI,KAAK,MAAM,EAAE,KAAG,OAAO,CACsB;IAE1E,SAAS,CAAC,mBAAmB,CAC3B,MAAM,EAAE,uBAAuB,CAAC,yBAAyB,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAC3E,KAAK,EAAE,MAAM,EAAE,GACd,IAAI;CAeR"}
1
+ {"version":3,"file":"blood-glucose.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/blood-glucose/blood-glucose.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;AAavD,KAAK,aAAa,GACd,iBAAiB,CAAC,cAAc,GAChC,iBAAiB,CAAC,UAAU,GAC5B,iBAAiB,CAAC,GAAG,CAAC;AA8D1B,gFAAgF;AAChF,qBAAa,kBAAmB,SAAQ,eAAe,CAAC,aAAa,CAAC;IACpE,SAAS,CAAC,aAAa,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IAClD,SAAS,CAAC,gBAAgB,SAAU;IACpC,SAAS,CAAC,YAAY,EAAE,QAAQ,EAAE,CAAC;gBAGjC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,CAAC,aAAa,CAAC;IAM3C,SAAS,CAAC,eAAe,GAAI,KAAK,MAAM,EAAE,KAAG,OAAO,CACsB;IAE1E,SAAS,CAAC,mBAAmB,CAC3B,MAAM,EAAE,uBAAuB,CAAC,yBAAyB,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAC3E,KAAK,EAAE,MAAM,EAAE,GACd,IAAI;CAeR"}
@@ -34,7 +34,10 @@ export declare abstract class BTManagedDevice<T extends DeviceKey = IntegratedDe
34
34
  * The timeout in milliseconds for the stuck data.
35
35
  */
36
36
  protected abstract stuckDataTimeout: number;
37
- /** Override when the command sequencer emits results not decoded by frame cases. */
37
+ /**
38
+ * The frame cases' measurement types, or - for a sequencer-driven parser whose cases are
39
+ * empty - the parser's entry in `BUILT_IN_MEASUREMENT_TYPES`.
40
+ */
38
41
  protected getSupportedMeasurementTypeKeys(): MeasurementTypeKey[];
39
42
  /**
40
43
  * The function to handle the dependent result on dependent case. This is generic and can be overridden by the device to handle the result based on the device logic.
@@ -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;AAOxD,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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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;IAyKnB,OAAO,aAUZ;IAEF,uEAAuE;IAChE,UAAU,sBAaf;IAEF,OAAO,CAAC,eAAe,CA2GrB;IAEK,OAAO,QAAO,OAAO,CAAC,IAAI,CAAC,CAkBhC;CACH"}
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;AAQxD,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,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B,YAAY,GACb,EAAE,kBAAkB,CAAC,CAAC,CAAC;IAyKnB,OAAO,aAUZ;IAEF,uEAAuE;IAChE,UAAU,sBAaf;IAEF,OAAO,CAAC,eAAe,CA2GrB;IAEK,OAAO,QAAO,OAAO,CAAC,IAAI,CAAC,CAkBhC;CACH"}
@@ -0,0 +1,32 @@
1
+ import { CommandSequencer } from "../../../types/command-sequencer";
2
+ import { DeviceCommand } from "../../../types/device-command";
3
+ /**
4
+ * Cofoe `FF FF` blood-pressure monitors. Both generations get the clock on connect and have
5
+ * every reading acknowledged; the device ends the session.
6
+ *
7
+ * - `history: false` (`Cofoe_BPM`): a live `03` result, timed by the phone.
8
+ * - `history: true` (`Cofoe_KF66EP`): `02`/`03` records stamped with the device's own (BCD)
9
+ * clock, which is set again whenever the device asks (`06`).
10
+ */
11
+ declare class CofoeBpSequencer implements CommandSequencer {
12
+ private readonly params;
13
+ private recorded;
14
+ private gatt;
15
+ constructor(params: {
16
+ history: boolean;
17
+ onResult: (result: Record<string, unknown>) => void;
18
+ now?: () => Date;
19
+ });
20
+ /** The records generation may expose its GATT under either UUID layout; write to the one found. */
21
+ onServicesDiscovered: (serviceUuids: readonly string[]) => void;
22
+ initialCommands: () => readonly DeviceCommand[];
23
+ isNormalDisconnect: () => boolean;
24
+ isHistoryTransfer: () => boolean;
25
+ nextCommand: (frame: readonly string[]) => readonly DeviceCommand[] | undefined;
26
+ private read;
27
+ private setTime;
28
+ private now;
29
+ private command;
30
+ }
31
+ export { CofoeBpSequencer };
32
+ //# sourceMappingURL=cofoe-bp.sequencer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cofoe-bp.sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAa9D;;;;;;;GAOG;AACH,cAAM,gBAAiB,YAAW,gBAAgB;IAK9C,OAAO,CAAC,QAAQ,CAAC,MAAM;IAJzB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,IAAI,CAAgE;gBAGzD,MAAM,EAAE;QACvB,OAAO,EAAE,OAAO,CAAC;QACjB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;QACpD,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;KAClB;IAOH,mGAAmG;IAC5F,oBAAoB,GAAI,cAAc,SAAS,MAAM,EAAE,KAAG,IAAI,CAInE;IAEK,eAAe,QAAO,SAAS,aAAa,EAAE,CAAmC;IAEjF,kBAAkB,QAAO,OAAO,CAAkB;IAElD,iBAAiB,QAAO,OAAO,CAAwB;IAEvD,WAAW,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,SAAS,aAAa,EAAE,GAAG,SAAS,CA2BnF;IAEF,OAAO,CAAC,IAAI,CAQV;IAEF,OAAO,CAAC,OAAO,CAC4D;IAE3E,OAAO,CAAC,GAAG,CAAiD;IAE5D,OAAO,CAAC,OAAO,CAIZ;CACJ;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC"}