@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,90 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.YonkerDevice = void 0;
7
+ var _integratedDevices = require("../../../types/integrated-devices.js");
8
+ var _btManagedDevice = require("../bt-managed-device.js");
9
+ var _liveOximeterSequencer = require("../live-oximeter.sequencer.js");
10
+ var _yonkerProtocol = require("./yonker.protocol.js");
11
+ var _yonkerSequencer = require("./yonker.sequencer.js");
12
+ const passThrough = {
13
+ caseValuePosition: [],
14
+ cases: []
15
+ };
16
+ const service = (uuid, notify, optional = false) => ({
17
+ uuid,
18
+ optional,
19
+ monitorUuids: notify.map(monitor => ({
20
+ uuid: monitor,
21
+ parsingModel: passThrough
22
+ }))
23
+ });
24
+
25
+ /** MedM subscribes to all three; the type byte, not the characteristic, says what a frame is. */
26
+ const YONKER_SERVICES = [service(_yonkerProtocol.YONKER_GATT.service, [_yonkerProtocol.YONKER_GATT.notify, _yonkerProtocol.YONKER_GATT.notifyAlternate], true), service(_yonkerProtocol.YONKER_GATT.uartService, [_yonkerProtocol.YONKER_GATT.uartNotify], true)];
27
+ const SERVICES = {
28
+ [_integratedDevices.IntegratedDevices.YONKER_OXIMETER]: YONKER_SERVICES,
29
+ [_integratedDevices.IntegratedDevices.YONKER_BPM]: YONKER_SERVICES,
30
+ [_integratedDevices.IntegratedDevices.YONKER_THERMOMETER]: YONKER_SERVICES,
31
+ [_integratedDevices.IntegratedDevices.YONKER_SCALE]: [service(_yonkerProtocol.AILINK_GATT.service, [_yonkerProtocol.AILINK_GATT.notify])],
32
+ [_integratedDevices.IntegratedDevices.YONKER_80B]: [service(_yonkerProtocol.AILINK_GATT.service, [_yonkerProtocol.AILINK_GATT.notify])]
33
+ };
34
+
35
+ /** The YK-80B: MedM asks for the firmware version on connect, then reads the stream. */
36
+ class Yonker80bSequencer extends _liveOximeterSequencer.LiveOximeterSequencer {
37
+ initialCommands = () => [{
38
+ serviceUuid: _yonkerProtocol.AILINK_GATT.service,
39
+ characteristicUuid: _yonkerProtocol.AILINK_GATT.writeShort,
40
+ frame: _yonkerProtocol.FIRMWARE_REQUEST
41
+ }];
42
+ }
43
+ const SEQUENCERS = {
44
+ [_integratedDevices.IntegratedDevices.YONKER_OXIMETER]: onResult => new _liveOximeterSequencer.LiveOximeterSequencer({
45
+ readValues: frame => (0, _liveOximeterSequencer.readOximeterData)(frame, _liveOximeterSequencer.AOJ_VALUES, "spo2-pulse"),
46
+ onResult
47
+ }),
48
+ [_integratedDevices.IntegratedDevices.YONKER_BPM]: onResult => new _yonkerSequencer.YonkerSequencer({
49
+ kind: "blood-pressure",
50
+ onResult
51
+ }),
52
+ [_integratedDevices.IntegratedDevices.YONKER_THERMOMETER]: onResult => new _yonkerSequencer.YonkerSequencer({
53
+ kind: "thermometer",
54
+ onResult
55
+ }),
56
+ [_integratedDevices.IntegratedDevices.YONKER_SCALE]: onResult => new _yonkerSequencer.YonkerScaleSequencer({
57
+ onResult
58
+ }),
59
+ [_integratedDevices.IntegratedDevices.YONKER_80B]: onResult => new Yonker80bSequencer({
60
+ readValues: _yonkerProtocol.read80bMeasurement,
61
+ onResult
62
+ })
63
+ };
64
+
65
+ /**
66
+ * Yonker YK-81C oximeters, YK-BPA blood-pressure monitors, YK-IRT4 thermometers, the AiLink
67
+ * weight scale and the YK-80B oximeter, with their rebrands.
68
+ */
69
+ class YonkerDeviceClass extends _btManagedDevice.BTManagedDevice {
70
+ stuckDataTimeout = 120_000;
71
+ onStreamStart = undefined;
72
+ constructor(device, params) {
73
+ super(device, params);
74
+ this.mainServices = SERVICES[params.deviceName];
75
+ if (params.deviceName === _integratedDevices.IntegratedDevices.YONKER_SCALE) {
76
+ this.frameReader = new _yonkerProtocol.AilinkFrameReader([0xa7]);
77
+ } else if (params.deviceName === _integratedDevices.IntegratedDevices.YONKER_80B) {
78
+ this.frameReader = new _yonkerProtocol.AilinkFrameReader([0xa6, 0xa7]);
79
+ }
80
+ this.createCommandSequencer = () => SEQUENCERS[params.deviceName](result => this.onResult?.(result));
81
+ }
82
+
83
+ /** The oximeter, monitor and thermometer send one frame per notification. */
84
+ validatePackage = () => true;
85
+ handleSuccessResult() {
86
+ return;
87
+ }
88
+ }
89
+ exports.YonkerDevice = YonkerDeviceClass;
90
+ //# sourceMappingURL=yonker.device.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_integratedDevices","require","_btManagedDevice","_liveOximeterSequencer","_yonkerProtocol","_yonkerSequencer","passThrough","caseValuePosition","cases","service","uuid","notify","optional","monitorUuids","map","monitor","parsingModel","YONKER_SERVICES","YONKER_GATT","notifyAlternate","uartService","uartNotify","SERVICES","IntegratedDevices","YONKER_OXIMETER","YONKER_BPM","YONKER_THERMOMETER","YONKER_SCALE","AILINK_GATT","YONKER_80B","Yonker80bSequencer","LiveOximeterSequencer","initialCommands","serviceUuid","characteristicUuid","writeShort","frame","FIRMWARE_REQUEST","SEQUENCERS","onResult","readValues","readOximeterData","AOJ_VALUES","YonkerSequencer","kind","YonkerScaleSequencer","read80bMeasurement","YonkerDeviceClass","BTManagedDevice","stuckDataTimeout","onStreamStart","undefined","constructor","device","params","mainServices","deviceName","frameReader","AilinkFrameReader","createCommandSequencer","result","validatePackage","handleSuccessResult","exports","YonkerDevice"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/yonker/yonker.device.ts"],"mappings":";;;;;;AAKA,IAAAA,kBAAA,GAAAC,OAAA;AAGA,IAAAC,gBAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAF,OAAA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AAIJ,MAAM,CAACE,UAAU,KAAKjC,oCAAiB,CAACM,UAAU,EAAE;MAC7D,IAAI,CAAC4B,WAAW,GAAG,IAAIC,iCAAiB,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACxD;IAEA,IAAI,CAACC,sBAAsB,GAAG,MAC5BrB,UAAU,CAACgB,MAAM,CAACE,UAAU,CAAC,CAAEI,MAAM,IACnC,IAAI,CAACrB,QAAQ,GACXqB,MACF,CACF,CAAC;EACL;;EAEA;EACUC,eAAe,GAAGA,CAAA,KAAe,IAAI;EAErCC,mBAAmBA,CAAA,EAAS;IACpC;EACF;AACF;AAACC,OAAA,CAAAC,YAAA,GAAAjB,iBAAA","ignoreList":[]}
@@ -0,0 +1,202 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.shortFrame = exports.scaleSetTimeCommand = exports.readYonkerTemperature = exports.readYonkerBloodPressure = exports.readScaleWeight = exports.read80bMeasurement = exports.longFrame = exports.idOf = exports.commandOf = exports.bpmSetTimeCommand = exports.bodyOf = exports.YONKER_GATT = exports.FIRMWARE_REQUEST = exports.AilinkFrameReader = exports.AILINK_GATT = void 0;
7
+ var _frameReadStatus = require("../../../types/frame-read-status.js");
8
+ var _hexToByte = require("../../../utils/hex-to-byte.js");
9
+ /* eslint-disable import/group-exports */
10
+
11
+ /**
12
+ * Yonker devices and their rebrands, from MedM Health Diary 3.12.11's `CYonker_*` classes.
13
+ *
14
+ * The oximeter, blood-pressure monitor and thermometer share one GATT map and send one frame
15
+ * per notification: a type byte (`80` live, `81` result) and its values, no length, no
16
+ * checksum. The scale (an AiLink module, MedM's `CConmo_WeightScale`) and the YK-80B oximeter
17
+ * frame everything as `A6|A7 xx xx LL CMD body CS 7A`.
18
+ */
19
+ const sig16 = assigned => `0000${assigned}-0000-1000-8000-00805f9b34fb`;
20
+ const YONKER_GATT = exports.YONKER_GATT = {
21
+ service: "cdeacd80-5235-4c07-8846-93a37ee6b86d",
22
+ notify: "cdeacd81-5235-4c07-8846-93a37ee6b86d",
23
+ notifyAlternate: "cdeacd82-5235-4c07-8846-93a37ee6b86d",
24
+ /** Nordic UART; MedM subscribes to its `…0002` characteristic. */
25
+ uartService: "6e400001-b5a3-f393-e0a9-e50e24dcca9e",
26
+ uartNotify: "6e400002-b5a3-f393-e0a9-e50e24dcca9e",
27
+ /** Where the blood-pressure monitor takes its clock. */
28
+ timeService: sig16("1804"),
29
+ timeWrite: sig16("2a07")
30
+ };
31
+
32
+ /** The scale and the YK-80B: notify on `ffe2`, long frames to `ffe1`, short ones to `ffe3`. */
33
+ const AILINK_GATT = exports.AILINK_GATT = {
34
+ service: sig16("ffe0"),
35
+ writeLong: sig16("ffe1"),
36
+ notify: sig16("ffe2"),
37
+ writeShort: sig16("ffe3")
38
+ };
39
+ const bytes = frame => frame.map(byte => (0, _hexToByte.hexToByte)(byte));
40
+ const toHex = values => values.map(value => (value & 0xff).toString(16).padStart(2, "0"));
41
+ const sum = values => values.reduce((total, value) => total + value, 0) & 0xff;
42
+
43
+ /** `8F YY MM DD hh mm` and nine zero bytes, local time. */
44
+ const bpmSetTimeCommand = now => toHex([0x8f, now.getFullYear() - 2000, now.getMonth() + 1, now.getDate(), now.getHours(), now.getMinutes(), ...new Array(9).fill(0)]);
45
+
46
+ /**
47
+ * `81 SYS DIA PULSE USER RECORD YY MM DD hh mm`, mmHg, local time. A zero year means the clock
48
+ * was never set, and the phone's time is used, as MedM does.
49
+ */
50
+ exports.bpmSetTimeCommand = bpmSetTimeCommand;
51
+ const readYonkerBloodPressure = (frame, now) => {
52
+ const b = bytes(frame);
53
+ if (b.length < 11 || b[0] !== 0x81 || !b[1] || !b[2]) {
54
+ return undefined;
55
+ }
56
+ const year = b[6] ?? 0;
57
+ const user = b[4] ?? 0;
58
+ return {
59
+ systolic: b[1],
60
+ diastolic: b[2],
61
+ ...(b[3] ? {
62
+ heartRate: b[3]
63
+ } : {}),
64
+ recordedAt: year === 0 ? now : new Date(2000 + year, (b[7] ?? 1) - 1, b[8] ?? 1, b[9] ?? 0, b[10] ?? 0),
65
+ ...(user > 0 ? {
66
+ memorySlot: user
67
+ } : {})
68
+ };
69
+ };
70
+
71
+ /**
72
+ * `80 hi lo FLAGS X`: hundredths of a degree; flags bit 1 marks Fahrenheit, which MedM ignores
73
+ * and the SDK converts.
74
+ */
75
+ exports.readYonkerBloodPressure = readYonkerBloodPressure;
76
+ const readYonkerTemperature = frame => {
77
+ const b = bytes(frame);
78
+ if (b.length < 5 || b[0] !== 0x80) {
79
+ return undefined;
80
+ }
81
+ const value = ((b[1] ?? 0) << 8 | (b[2] ?? 0)) / 100;
82
+ if (value === 0) {
83
+ return undefined;
84
+ }
85
+ return ((b[3] ?? 0) & 0x02) !== 0 ? Math.round((value - 32) * 5 / 9 * 100) / 100 : value;
86
+ };
87
+
88
+ /** `A7 ID ID (n+1) CMD payload CS 7A`, the checksum covering everything but the first byte. */
89
+ exports.readYonkerTemperature = readYonkerTemperature;
90
+ const longFrame = (id, command, payload = []) => {
91
+ const covered = [id >> 8, id & 0xff, payload.length + 1, command, ...payload];
92
+ return toHex([0xa7, ...covered, sum(covered), 0x7a]);
93
+ };
94
+
95
+ /** `A6 (n+1) CMD payload CS 6A`. */
96
+ exports.longFrame = longFrame;
97
+ const shortFrame = (command, payload = []) => {
98
+ const covered = [payload.length + 1, command, ...payload];
99
+ return toHex([0xa6, ...covered, sum(covered), 0x6a]);
100
+ };
101
+
102
+ /** Scale set time, command `37`: `YY MM DD hh mm ss weekday` (Sunday 1), local time. */
103
+ exports.shortFrame = shortFrame;
104
+ const scaleSetTimeCommand = now => shortFrame(0x37, [now.getFullYear() - 2000, now.getMonth() + 1, now.getDate(), now.getHours(), now.getMinutes(), now.getSeconds(), now.getDay() + 1]);
105
+ exports.scaleSetTimeCommand = scaleSetTimeCommand;
106
+ const idOf = frame => (0, _hexToByte.hexToByte)(frame[1] ?? "00") << 8 | (0, _hexToByte.hexToByte)(frame[2] ?? "00");
107
+ exports.idOf = idOf;
108
+ const commandOf = frame => (0, _hexToByte.hexToByte)(frame[4] ?? "00");
109
+ exports.commandOf = commandOf;
110
+ const bodyOf = frame => bytes(frame.slice(5, -2));
111
+
112
+ /**
113
+ * Scale weight, command `02`: a u24 big-endian raw value, then precision (high nibble, decimal
114
+ * places) and unit (low nibble). Only kilograms (unit 0) are accepted - the SDK sets the scale to
115
+ * kilograms, and the other unit codes are not documented.
116
+ */
117
+ exports.bodyOf = bodyOf;
118
+ const readScaleWeight = body => {
119
+ const raw = (body[0] ?? 0) << 16 | (body[1] ?? 0) << 8 | (body[2] ?? 0);
120
+ const format = body[3] ?? 0;
121
+ if (body.length < 4 || raw === 0 || (format & 0x0f) !== 0) {
122
+ return undefined;
123
+ }
124
+ return raw / 10 ** (format >> 4);
125
+ };
126
+
127
+ /**
128
+ * YK-80B measurement, command `03`: status, SpO2, pulse, PI×10, battery, RR×10, waveform, bar,
129
+ * worn. Dropped when the status or worn flag is zero or the SpO2 is `FF`, as MedM does.
130
+ */
131
+ exports.readScaleWeight = readScaleWeight;
132
+ const read80bMeasurement = frame => {
133
+ const body = bodyOf(frame);
134
+ if (commandOf(frame) !== 0x03 || body.length < 9) {
135
+ return undefined;
136
+ }
137
+ const [status = 0, bloodOxygen = 0, pulseRate = 0, perfusionIndex = 0] = body;
138
+ if (status === 0 || body[8] === 0 || bloodOxygen === 0 || bloodOxygen > 100 || pulseRate === 0 || pulseRate === 0xff) {
139
+ return undefined;
140
+ }
141
+ return {
142
+ bloodOxygen,
143
+ pulseRate,
144
+ ...(perfusionIndex > 0 && perfusionIndex !== 0xff ? {
145
+ perfusionIndex: perfusionIndex / 10
146
+ } : {})
147
+ };
148
+ };
149
+
150
+ /** YK-80B firmware request, the one command MedM writes to it. */
151
+ exports.read80bMeasurement = read80bMeasurement;
152
+ const FIRMWARE_REQUEST = exports.FIRMWARE_REQUEST = shortFrame(0x0e);
153
+
154
+ /** Isolates checked `A7 … 7A` frames (and `A6 … 7A` for the YK-80B) across notifications. */
155
+ class AilinkFrameReader {
156
+ constructor(starts) {
157
+ this.starts = starts;
158
+ }
159
+ readFrame(buffer) {
160
+ const values = bytes(buffer);
161
+ const start = values.findIndex(value => this.starts.includes(value));
162
+ if (start === -1) {
163
+ return {
164
+ status: _frameReadStatus.FrameReadStatus.INCOMPLETE,
165
+ consumedBytes: values.length
166
+ };
167
+ }
168
+ if (start + 4 > values.length) {
169
+ return {
170
+ status: _frameReadStatus.FrameReadStatus.INCOMPLETE,
171
+ consumedBytes: start
172
+ };
173
+ }
174
+ const length = (values[start + 3] ?? 0) + 6;
175
+ if (length < 7) {
176
+ return {
177
+ status: _frameReadStatus.FrameReadStatus.CORRUPT,
178
+ consumedBytes: start + 1
179
+ };
180
+ }
181
+ if (start + length > values.length) {
182
+ return {
183
+ status: _frameReadStatus.FrameReadStatus.INCOMPLETE,
184
+ consumedBytes: start
185
+ };
186
+ }
187
+ const received = values.slice(start, start + length);
188
+ if (received[length - 1] !== 0x7a || received[length - 2] !== sum(received.slice(1, -2))) {
189
+ return {
190
+ status: _frameReadStatus.FrameReadStatus.CORRUPT,
191
+ consumedBytes: start + 1
192
+ };
193
+ }
194
+ return {
195
+ status: _frameReadStatus.FrameReadStatus.COMPLETE,
196
+ consumedBytes: start + length,
197
+ frame: buffer.slice(start, start + length)
198
+ };
199
+ }
200
+ }
201
+ exports.AilinkFrameReader = AilinkFrameReader;
202
+ //# sourceMappingURL=yonker.protocol.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_frameReadStatus","require","_hexToByte","sig16","assigned","YONKER_GATT","exports","service","notify","notifyAlternate","uartService","uartNotify","timeService","timeWrite","AILINK_GATT","writeLong","writeShort","bytes","frame","map","byte","hexToByte","toHex","values","value","toString","padStart","sum","reduce","total","bpmSetTimeCommand","now","getFullYear","getMonth","getDate","getHours","getMinutes","Array","fill","readYonkerBloodPressure","b","length","undefined","year","user","systolic","diastolic","heartRate","recordedAt","Date","memorySlot","readYonkerTemperature","Math","round","longFrame","id","command","payload","covered","shortFrame","scaleSetTimeCommand","getSeconds","getDay","idOf","commandOf","bodyOf","slice","readScaleWeight","body","raw","format","read80bMeasurement","status","bloodOxygen","pulseRate","perfusionIndex","FIRMWARE_REQUEST","AilinkFrameReader","constructor","starts","readFrame","buffer","start","findIndex","includes","FrameReadStatus","INCOMPLETE","consumedBytes","CORRUPT","received","COMPLETE"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/yonker/yonker.protocol.ts"],"mappings":";;;;;;AAGA,IAAAA,gBAAA,GAAAC,OAAA;AAEA,IAAAC,UAAA,GAAAD,OAAA;AALA;;AAQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAME,KAAK,GAAIC,QAAgB,IAAa,OAAOA,QAAQ,8BAA8B;AAElF,MAAMC,WAAW,GAAAC,OAAA,CAAAD,WAAA,GAAG;EACzBE,OAAO,EAAE,sCAAsC;EAC/CC,MAAM,EAAE,sCAAsC;EAC9CC,eAAe,EAAE,sCAAsC;EAEvD;EACAC,WAAW,EAAE,sCAAsC;EACnDC,UAAU,EAAE,sCAAsC;EAElD;EACAC,WAAW,EAAET,KAAK,CAAC,MAAM,CAAC;EAC1BU,SAAS,EAAEV,KAAK,CAAC,MAAM;AACzB,CAAU;;AAEV;AACO,MAAMW,WAAW,GAAAR,OAAA,CAAAQ,WAAA,GAAG;EACzBP,OAAO,EAAEJ,KAAK,CAAC,MAAM,CAAC;EACtBY,SAAS,EAAEZ,KAAK,CAAC,MAAM,CAAC;EACxBK,MAAM,EAAEL,KAAK,CAAC,MAAM,CAAC;EACrBa,UAAU,EAAEb,KAAK,CAAC,MAAM;AAC1B,CAAU;AAEV,MAAMc,KAAK,GAAIC,KAAwB,IAAeA,KAAK,CAACC,GAAG,CAAEC,IAAI,IAAK,IAAAC,oBAAS,EAACD,IAAI,CAAC,CAAC;AAE1F,MAAME,KAAK,GAAIC,MAAyB,IACtCA,MAAM,CAACJ,GAAG,CAAEK,KA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uE,iBAAA,GAAAA,iBAAA","ignoreList":[]}
@@ -0,0 +1,137 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.YonkerSequencer = exports.YonkerScaleSequencer = void 0;
7
+ var _core = require("@ovok/core");
8
+ var _caseType = require("../../../types/case-type.js");
9
+ var _yonkerProtocol = require("./yonker.protocol.js");
10
+ /** A thermometer that repeats the same temperature within this window is reporting it again. */
11
+ const REPEAT_WINDOW_MS = 30_000;
12
+
13
+ /**
14
+ * The Yonker blood-pressure monitor and thermometer push one frame per reading. The monitor is
15
+ * sent the time on connect and then pushes its records by itself.
16
+ */
17
+ class YonkerSequencer {
18
+ recorded = false;
19
+ constructor(params) {
20
+ this.params = params;
21
+ }
22
+ initialCommands = () => this.params.kind === "blood-pressure" ? [{
23
+ serviceUuid: _yonkerProtocol.YONKER_GATT.timeService,
24
+ characteristicUuid: _yonkerProtocol.YONKER_GATT.timeWrite,
25
+ frame: (0, _yonkerProtocol.bpmSetTimeCommand)(this.now())
26
+ }] : [];
27
+ isNormalDisconnect = () => this.recorded;
28
+ nextCommand = frame => {
29
+ const reading = this.params.kind === "blood-pressure" ? this.bloodPressure(frame) : this.temperature(frame);
30
+ if (reading) {
31
+ this.recorded = true;
32
+ this.params.onResult({
33
+ caseType: _caseType.CaseType.RESULT,
34
+ ...reading
35
+ });
36
+ }
37
+ return undefined;
38
+ };
39
+ bloodPressure = frame => {
40
+ const reading = (0, _yonkerProtocol.readYonkerBloodPressure)(frame, this.now());
41
+ return reading && {
42
+ measurementTypeKey: _core.MeasurementTypeKey.bloodPressure,
43
+ ...reading
44
+ };
45
+ };
46
+ temperature = frame => {
47
+ const bodyTemp = (0, _yonkerProtocol.readYonkerTemperature)(frame);
48
+ const now = this.now();
49
+ if (bodyTemp === undefined || this.lastTemperature?.value === bodyTemp && now.getTime() - this.lastTemperature.at < REPEAT_WINDOW_MS) {
50
+ return undefined;
51
+ }
52
+ this.lastTemperature = {
53
+ value: bodyTemp,
54
+ at: now.getTime()
55
+ };
56
+ return {
57
+ measurementTypeKey: _core.MeasurementTypeKey.temperature,
58
+ bodyTemp,
59
+ recordedAt: now
60
+ };
61
+ };
62
+ now = () => this.params.now?.() ?? new Date();
63
+ }
64
+
65
+ /** What the scale's frames ask for. */
66
+ exports.YonkerSequencer = YonkerSequencer;
67
+ const SCALE = {
68
+ weight: 0x02,
69
+ completed: 0x0a,
70
+ completedAck: 0x0f,
71
+ timeRequest: 0x38
72
+ };
73
+
74
+ /** The id word long frames carry until the scale has sent its own. */
75
+ const DEFAULT_SCALE_ID = 0x0032;
76
+
77
+ /**
78
+ * The AiLink scale: disables its encryption, then two seconds later sets the time and kilograms
79
+ * and asks for its software info, as MedM does. Weight frames repeat while it settles; the last
80
+ * one is reported when the scale says the measurement is complete. Body composition is not read.
81
+ */
82
+ class YonkerScaleSequencer {
83
+ id = DEFAULT_SCALE_ID;
84
+ recorded = false;
85
+ constructor(params) {
86
+ this.params = params;
87
+ }
88
+ initialCommands = () => [this.short((0, _yonkerProtocol.shortFrame)(0x42, [0x01, 0x00])), this.short((0, _yonkerProtocol.scaleSetTimeCommand)(this.now()), 2_000), this.long(0x81, [0x01]), this.long(0x0e)];
89
+ isNormalDisconnect = () => this.recorded;
90
+ nextCommand = frame => {
91
+ this.id = (0, _yonkerProtocol.idOf)(frame) || this.id;
92
+ switch ((0, _yonkerProtocol.commandOf)(frame)) {
93
+ case SCALE.weight:
94
+ this.pendingWeight = (0, _yonkerProtocol.readScaleWeight)((0, _yonkerProtocol.bodyOf)(frame));
95
+ return undefined;
96
+ case SCALE.completedAck:
97
+ this.report();
98
+ return [this.long(0x84, [0x00])];
99
+ case SCALE.completed:
100
+ this.report();
101
+ return undefined;
102
+ case SCALE.timeRequest:
103
+ return [this.short((0, _yonkerProtocol.scaleSetTimeCommand)(this.now()))];
104
+ default:
105
+ return undefined;
106
+ }
107
+ };
108
+ report = () => {
109
+ const bodyWeight = this.pendingWeight;
110
+ this.pendingWeight = undefined;
111
+ if (bodyWeight !== undefined) {
112
+ this.recorded = true;
113
+ this.params.onResult({
114
+ caseType: _caseType.CaseType.RESULT,
115
+ measurementTypeKey: _core.MeasurementTypeKey.bodyWeight,
116
+ bodyWeight,
117
+ recordedAt: this.now()
118
+ });
119
+ }
120
+ };
121
+ now = () => this.params.now?.() ?? new Date();
122
+ long = (command, payload = []) => ({
123
+ serviceUuid: _yonkerProtocol.AILINK_GATT.service,
124
+ characteristicUuid: _yonkerProtocol.AILINK_GATT.writeLong,
125
+ frame: (0, _yonkerProtocol.longFrame)(this.id, command, payload)
126
+ });
127
+ short = (frame, delayBeforeWriteMs) => ({
128
+ serviceUuid: _yonkerProtocol.AILINK_GATT.service,
129
+ characteristicUuid: _yonkerProtocol.AILINK_GATT.writeShort,
130
+ frame,
131
+ ...(delayBeforeWriteMs ? {
132
+ delayBeforeWriteMs
133
+ } : {})
134
+ });
135
+ }
136
+ exports.YonkerScaleSequencer = YonkerScaleSequencer;
137
+ //# sourceMappingURL=yonker.sequencer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_core","require","_caseType","_yonkerProtocol","REPEAT_WINDOW_MS","YonkerSequencer","recorded","constructor","params","initialCommands","kind","serviceUuid","YONKER_GATT","timeService","characteristicUuid","timeWrite","frame","bpmSetTimeCommand","now","isNormalDisconnect","nextCommand","reading","bloodPressure","temperature","onResult","caseType","CaseType","RESULT","undefined","readYonkerBloodPressure","measurementTypeKey","MeasurementTypeKey","bodyTemp","readYonkerTemperature","lastTemperature","value","getTime","at","recordedAt","Date","exports","SCALE","weight","completed","completedAck","timeRequest","DEFAULT_SCALE_ID","YonkerScaleSequencer","id","short","shortFrame","scaleSetTimeCommand","long","idOf","commandOf","pendingWeight","readScaleWeight","bodyOf","report","bodyWeight","command","payload","AILINK_GATT","service","writeLong","longFrame","delayBeforeWriteMs","writeShort"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/yonker/yonker.sequencer.ts"],"mapp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AE;MAC5B,IAAI,CAACtB,QAAQ,GAAG,IAAI;MACpB,IAAI,CAACE,MAAM,CAACgB,QAAQ,CAAC;QACnBC,QAAQ,EAAEC,kBAAQ,CAACC,MAAM;QACzBG,kBAAkB,EAAEC,wBAAkB,CAAC4B,UAAU;QACjDA,UAAU;QACVrB,UAAU,EAAE,IAAI,CAACpB,GAAG,CAAC;MACvB,CAAC,CAAC;IACJ;EACF,CAAC;EAEOA,GAAG,GAAGA,CAAA,KAAY,IAAI,CAACV,MAAM,CAACU,GAAG,GAAG,CAAC,IAAI,IAAIqB,IAAI,CAAC,CAAC;EAEnDa,IAAI,GAAGA,CAACQ,OAAe,EAAEC,OAA0B,GAAG,EAAE,MAAqB;IACnFlD,WAAW,EAAEmD,2BAAW,CAACC,OAAO;IAChCjD,kBAAkB,EAAEgD,2BAAW,CAACE,SAAS;IACzChD,KAAK,EAAE,IAAAiD,yBAAS,EAAC,IAAI,CAACjB,EAAE,EAAEY,OAAO,EAAEC,OAAO;EAC5C,CAAC,CAAC;EAEMZ,KAAK,GAAGA,CAACjC,KAAwB,EAAEkD,kBAA2B,MAAqB;IACzFvD,WAAW,EAAEmD,2BAAW,CAACC,OAAO;IAChCjD,kBAAkB,EAAEgD,2BAAW,CAACK,UAAU;IAC1CnD,KAAK;IACL,IAAIkD,kBAAkB,GAAG;MAAEA;IAAmB,CAAC,GAAG,CAAC,CAAC;EACtD,CAAC,CAAC;AACJ;AAAC1B,OAAA,CAAAO,oBAAA,GAAAA,oBAAA","ignoreList":[]}
@@ -77,6 +77,24 @@ let IntegratedDevices = exports.IntegratedDevices = /*#__PURE__*/function (Integ
77
77
  IntegratedDevices["JUMPER_THERMOMETER"] = "Jumper Thermometer";
78
78
  IntegratedDevices["JOYTECH_BPM"] = "Joytech BPM";
79
79
  IntegratedDevices["JOYTECH_THERMOMETER"] = "Joytech Thermometer";
80
+ IntegratedDevices["AND_BPM"] = "A&D BPM";
81
+ IntegratedDevices["AND_BPM_CTS"] = "A&D BPM CTS";
82
+ IntegratedDevices["AND_SCALE"] = "A&D Scale";
83
+ IntegratedDevices["YONKER_OXIMETER"] = "Yonker Oximeter";
84
+ IntegratedDevices["YONKER_BPM"] = "Yonker BPM";
85
+ IntegratedDevices["YONKER_THERMOMETER"] = "Yonker Thermometer";
86
+ IntegratedDevices["YONKER_SCALE"] = "Yonker Scale";
87
+ IntegratedDevices["YONKER_80B"] = "Yonker 80B";
88
+ IntegratedDevices["COFOE_BPM"] = "Cofoe BPM";
89
+ IntegratedDevices["COFOE_BPM_HISTORY"] = "Cofoe BPM History";
90
+ IntegratedDevices["COFOE_GLUCOMETER"] = "Cofoe Glucometer";
91
+ IntegratedDevices["COFOE_GLUCOMETER_CGH25"] = "Cofoe Glucometer CGH25";
92
+ IntegratedDevices["COFOE_THERMOMETER"] = "Cofoe Thermometer";
93
+ IntegratedDevices["TAIDOC_MULTI"] = "TaiDoc Multi";
94
+ IntegratedDevices["TAIDOC_BPM"] = "TaiDoc BPM";
95
+ IntegratedDevices["TAIDOC_THERMOMETER"] = "TaiDoc Thermometer";
96
+ IntegratedDevices["TAIDOC_OXIMETER"] = "TaiDoc Oximeter";
97
+ IntegratedDevices["TAIDOC_SCALE"] = "TaiDoc Scale";
80
98
  return IntegratedDevices;
81
99
  }({});
82
100
  //# sourceMappingURL=integrated-devices.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["IntegratedDevices","exports"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/types/integrated-devices.ts"],"mappings":";;;;;;IAAYA,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EA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AiB;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":[]}
@@ -77,6 +77,24 @@ export const DEVICE_INSTRUCTION_PDFS = {
77
77
  [IntegratedDevices.JUMPER_BPM]: "",
78
78
  [IntegratedDevices.JUMPER_THERMOMETER]: "",
79
79
  [IntegratedDevices.JOYTECH_BPM]: "",
80
- [IntegratedDevices.JOYTECH_THERMOMETER]: ""
80
+ [IntegratedDevices.JOYTECH_THERMOMETER]: "",
81
+ [IntegratedDevices.AND_BPM]: "",
82
+ [IntegratedDevices.AND_BPM_CTS]: "",
83
+ [IntegratedDevices.AND_SCALE]: "",
84
+ [IntegratedDevices.YONKER_OXIMETER]: "",
85
+ [IntegratedDevices.YONKER_BPM]: "",
86
+ [IntegratedDevices.YONKER_THERMOMETER]: "",
87
+ [IntegratedDevices.YONKER_SCALE]: "",
88
+ [IntegratedDevices.YONKER_80B]: "",
89
+ [IntegratedDevices.COFOE_BPM]: "",
90
+ [IntegratedDevices.COFOE_BPM_HISTORY]: "",
91
+ [IntegratedDevices.COFOE_GLUCOMETER]: "",
92
+ [IntegratedDevices.COFOE_GLUCOMETER_CGH25]: "",
93
+ [IntegratedDevices.COFOE_THERMOMETER]: "",
94
+ [IntegratedDevices.TAIDOC_MULTI]: "",
95
+ [IntegratedDevices.TAIDOC_BPM]: "",
96
+ [IntegratedDevices.TAIDOC_THERMOMETER]: "",
97
+ [IntegratedDevices.TAIDOC_OXIMETER]: "",
98
+ [IntegratedDevices.TAIDOC_SCALE]: ""
81
99
  };
82
100
  //# sourceMappingURL=device-instruction-pdfs.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["IntegratedDevices","pdfBaseUrl","DEVICE_INSTRUCTION_PDFS","BP2","F4","LEPU_F4_SCALE","LEPU_F5_SCALE","SPO2","PC60WF","ALIVE_COR","COSINUSS","AOJ20A","TAIDOC_GLUCOSE","GLUCOCHECK","CLEVERTEMP","FORATEMP","ANDESFITTEMP","FORA_SCALE","BC01","RPM_SCALE","CMED","SP80B","S5","BGM","VEROVAL_DUO_CONTROL","VEROVAL_ECG","VEROVAL_ACTIVITY","MYSENSE","GENIAL_T31","ZH_SG_A606","BPW1","CHECKME","CHECKME_POD","CHECKME_POD_WPS","AP20","AP20_WPS","PC68B","PC100","BPM188","PC300","POCTOR_M3102","BIOLAND_BGM","PULSEBIT_EX","CHECKME_EX","CHECKME_LE","PC80B","WBP_02","PM10","LPM311","VIATOM_R20","VIATOM_R200","SP_20","SP_20_BLE","SP_20_WPS","BBSM_S3","VIATOM_BBSM_BS1","PF10AW_ME","SA10AW_PU","PF10BW_VE","TRASENSE_S9","TRANSTEK_BPM","TRANSTEK_SCALE","TRANSTEK_SCALE_1525","TRANSTEK_TRACKER","FAMIDOC_BPM","FAMIDOC_IR_THERMOMETER","FAMIDOC_CONTACT_THERMOMETER","AOJ_BPM","AOJ_BPM_FFF0","AOJ_70B","JUMPER_OXIMETER","JUMPER_BPM","JUMPER_THERMOMETER","JOYTECH_BPM","JOYTECH_THERMOMETER"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/device-instruction-pdfs.ts"],"mappings":";;AAAA,SAASA,iBAAiB,QAAQ,iDAA8C;;AAEhF;AACA;AACA,MAAMC,UAAU,GACd,2EAA2E;AAE7E,OAAO,MAAMC,uBAA0D,GAAG;EACxE,CAACF,iBAAiB,CAACG,GAAG,GAAG,GAAGF,UAAU,yBAAyB;EAC/D,CAACD,iBAAiB,CAACI,EAAE,GAAG,GAAGH,UAAU,yBAAyB;EAC9D,CAACD,iBAAiB,CAACK,aAAa,GAAG,GAAGJ,UAAU,yBAAyB;EACzE,CAACD,iBAAiB,CAACM,aAAa,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C,CAACrD,iBAAiB,CAACsD,OAAO,GAAG,EAAE;EAC/B,CAACtD,iBAAiB,CAACuD,eAAe,GAAG,EAAE;EACvC,CAACvD,iBAAiB,CAACwD,SAAS,GAAG,EAAE;EACjC,CAACxD,iBAAiB,CAACyD,SAAS,GAAG,EAAE;EACjC,CAACzD,iBAAiB,CAAC0D,SAAS,GAAG,EAAE;EACjC,CAAC1D,iBAAiB,CAAC2D,WAAW,GAAG,EAAE;EACnC,CAAC3D,iBAAiB,CAAC4D,YAAY,GAAG,EAAE;EACpC,CAAC5D,iBAAiB,CAAC6D,cAAc,GAAG,EAAE;EACtC,CAAC7D,iBAAiB,CAAC8D,mBAAmB,GAAG,EAAE;EAC3C,CAAC9D,iBAAiB,CAAC+D,gBAAgB,GAAG,EAAE;EACxC,CAAC/D,iBAAiB,CAACgE,WAAW,GAAG,EAAE;EACnC,CAAChE,iBAAiB,CAACiE,sBAAsB,GAAG,EAAE;EAC9C,CAACjE,iBAAiB,CAACkE,2BAA2B,GAAG,EAAE;EACnD,CAAClE,iBAAiB,CAACmE,OAAO,GAAG,EAAE;EAC/B,CAACnE,iBAAiB,CAACoE,YAAY,GAAG,EAAE;EACpC,CAACpE,iBAAiB,CAACqE,OAAO,GAAG,EAAE;EAC/B,CAACrE,iBAAiB,CAACsE,eAAe,GAAG,EAAE;EACvC,CAACtE,iBAAiB,CAACuE,UAAU,GAAG,EAAE;EAClC,CAACvE,iBAAiB,CAACwE,kBAAkB,GAAG,EAAE;EAC1C,CAACxE,iBAAiB,CAACyE,WAAW,GAAG,EAAE;EACnC,CAACzE,iBAAiB,CAAC0E,mBAAmB,GAAG;AAC3C,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["IntegratedDevices","pdfBaseUrl","DEVICE_INSTRUCTION_PDFS","BP2","F4","LEPU_F4_SCALE","LEPU_F5_SCALE","SPO2","PC60WF","ALIVE_COR","COSINUSS","AOJ20A","TAIDOC_GLUCOSE","GLUCOCHECK","CLEVERTEMP","FORATEMP","ANDESFITTEMP","FORA_SCALE","BC01","RPM_SCALE","CMED","SP80B","S5","BGM","VEROVAL_DUO_CONTROL","VEROVAL_ECG","VEROVAL_ACTIVITY","MYSENSE","GENIAL_T31","ZH_SG_A606","BPW1","CHECKME","CHECKME_POD","CHECKME_POD_WPS","AP20","AP20_WPS","PC68B","PC100","BPM188","PC300","POCTOR_M3102","BIOLAND_BGM","PULSEBIT_EX","CHECKME_EX","CHECKME_LE","PC80B","WBP_02","PM10","LPM311","VIATOM_R20","VIATOM_R200","SP_20","SP_20_BLE","SP_20_WPS","BBSM_S3","VIATOM_BBSM_BS1","PF10AW_ME","SA10AW_PU","PF10BW_VE","TRASENSE_S9","TRANSTEK_BPM","TRANSTEK_SCALE","TRANSTEK_SCALE_1525","TRANSTEK_TRACKER","FAMIDOC_BPM","FAMIDOC_IR_THERMOMETER","FAMIDOC_CONTACT_THERMOMETER","AOJ_BPM","AOJ_BPM_FFF0","AOJ_70B","JUMPER_OXIMETER","JUMPER_BPM","JUMPER_THERMOMETER","JOYTECH_BPM","JOYTECH_THERMOMETER","AND_BPM","AND_BPM_CTS","AND_SCALE","YONKER_OXIMETER","YONKER_BPM","YONKER_THERMOMETER","YONKER_SCALE","YONKER_80B","COFOE_BPM","COFOE_BPM_HISTORY","COFOE_GLUCOMETER","COFOE_GLUCOMETER_CGH25","COFOE_THERMOMETER","TAIDOC_MULTI","TAIDOC_BPM","TAIDOC_THERMOMETER","TAIDOC_OXIMETER","TAIDOC_SCALE"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/device-instruction-pdfs.ts"],"mappings":";;AAAA,SAASA,iBAAiB,QAAQ,iDAA8C;;AAEhF;AACA;AACA,MAAMC,UAAU,GACd,2EAA2E;AAE7E,OAAO,MAAMC,uBAA0D,GAAG;EACxE,CAACF,iBAAiB,CAACG,GAAG,GAAG,GAAGF,UAAU,yBAAyB;EAC/D,CAACD,iBAAiB,CAACI,EAAE,GAAG,GAAGH,UAAU,yBAAyB;EAC9D,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AAC6E,SAAS,GAAG,EAAE;EACjC,CAAC7E,iBAAiB,CAAC8E,eAAe,GAAG,EAAE;EACvC,CAAC9E,iBAAiB,CAAC+E,UAAU,GAAG,EAAE;EAClC,CAAC/E,iBAAiB,CAACgF,kBAAkB,GAAG,EAAE;EAC1C,CAAChF,iBAAiB,CAACiF,YAAY,GAAG,EAAE;EACpC,CAACjF,iBAAiB,CAACkF,UAAU,GAAG,EAAE;EAClC,CAAClF,iBAAiB,CAACmF,SAAS,GAAG,EAAE;EACjC,CAACnF,iBAAiB,CAACoF,iBAAiB,GAAG,EAAE;EACzC,CAACpF,iBAAiB,CAACqF,gBAAgB,GAAG,EAAE;EACxC,CAACrF,iBAAiB,CAACsF,sBAAsB,GAAG,EAAE;EAC9C,CAACtF,iBAAiB,CAACuF,iBAAiB,GAAG,EAAE;EACzC,CAACvF,iBAAiB,CAACwF,YAAY,GAAG,EAAE;EACpC,CAACxF,iBAAiB,CAACyF,UAAU,GAAG,EAAE;EAClC,CAACzF,iBAAiB,CAAC0F,kBAAkB,GAAG,EAAE;EAC1C,CAAC1F,iBAAiB,CAAC2F,eAAe,GAAG,EAAE;EACvC,CAAC3F,iBAAiB,CAAC4F,YAAY,GAAG;AACpC,CAAC","ignoreList":[]}
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+
3
+ import { bloodPressureMonitorIllustration, bloodPressureMonitorIllustrationCredit, weightScaleIllustration, weightScaleIllustrationCredit } from "./supported-device-catalog-assets.js";
4
+
5
+ /** Catalog art for `AND_MEDICAL_DEVICE_VARIANTS`, keyed by model. */
6
+ const AND_MEDICAL_VARIANT_ART = {
7
+ "A&D UC-352BLE": {
8
+ key: "a-d-uc-352ble",
9
+ manufacturerKey: "a-d",
10
+ logo: weightScaleIllustration,
11
+ creditsForImage: weightScaleIllustrationCredit
12
+ },
13
+ "A&D UA-651BLE": {
14
+ key: "a-d-ua-651ble",
15
+ manufacturerKey: "a-d",
16
+ logo: bloodPressureMonitorIllustration,
17
+ creditsForImage: bloodPressureMonitorIllustrationCredit
18
+ },
19
+ "A&D UA-911BT-C": {
20
+ key: "a-d-ua-911bt-c",
21
+ manufacturerKey: "a-d",
22
+ logo: bloodPressureMonitorIllustration,
23
+ creditsForImage: bloodPressureMonitorIllustrationCredit
24
+ },
25
+ "A&D UB-1100BLE": {
26
+ key: "a-d-ub-1100ble",
27
+ manufacturerKey: "a-d",
28
+ logo: bloodPressureMonitorIllustration,
29
+ creditsForImage: bloodPressureMonitorIllustrationCredit
30
+ },
31
+ "A&D UA-656BLE": {
32
+ key: "a-d-ua-656ble",
33
+ manufacturerKey: "a-d",
34
+ logo: bloodPressureMonitorIllustration,
35
+ creditsForImage: bloodPressureMonitorIllustrationCredit
36
+ },
37
+ "A&D UA-1200BLE": {
38
+ key: "a-d-ua-1200ble",
39
+ manufacturerKey: "a-d",
40
+ logo: bloodPressureMonitorIllustration,
41
+ creditsForImage: bloodPressureMonitorIllustrationCredit
42
+ }
43
+ };
44
+ export { AND_MEDICAL_VARIANT_ART };
45
+ //# sourceMappingURL=supported-device-catalog-and-medical-variants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["bloodPressureMonitorIllustration","bloodPressureMonitorIllustrationCredit","weightScaleIllustration","weightScaleIllustrationCredit","AND_MEDICAL_VARIANT_ART","key","manufacturerKey","logo","creditsForImage"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/supported-device-catalog-and-medical-variants.ts"],"mappings":";;AAIA,SACEA,gCAAgC,EAChCC,sCAAsC,EACtCC,uBAAuB,EACvBC,6BAA6B,QACxB,sCAAmC;;AAE1C;AACA,MAAMC,uBAA6D,GAAG;EACpE,eAAe,EAAE;IACfC,GAAG,EAAE,eAAe;IACpBC,eAAe,EAAE,KAAK;IACtBC,IAAI,EAAEL,uBAAuB;IAC7BM,eAAe,EAAEL;EACnB,CAAC;EACD,eAAe,EAAE;IACfE,GAAG,EAAE,eAAe;IACpBC,eAAe,EAAE,KAAK;IACtBC,IAAI,EAAEP,gCAAgC;IACtCQ,eAAe,EAAEP;EACnB,CAAC;EACD,gBAAgB,EAAE;IAChBI,GAAG,EAAE,gBAAgB;IACrBC,eAAe,EAAE,KAAK;IACtBC,IAAI,EAAEP,gCAAgC;IACtCQ,eAAe,EAAEP;EACnB,CAAC;EACD,gBAAgB,EAAE;IAChBI,GAAG,EAAE,gBAAgB;IACrBC,eAAe,EAAE,KAAK;IACtBC,IAAI,EAAEP,gCAAgC;IACtCQ,eAAe,EAAEP;EACnB,CAAC;EACD,eAAe,EAAE;IACfI,GAAG,EAAE,eAAe;IACpBC,eAAe,EAAE,KAAK;IACtBC,IAAI,EAAEP,gCAAgC;IACtCQ,eAAe,EAAEP;EACnB,CAAC;EACD,gBAAgB,EAAE;IAChBI,GAAG,EAAE,gBAAgB;IACrBC,eAAe,EAAE,KAAK;IACtBC,IAAI,EAAEP,gCAAgC;IACtCQ,eAAe,EAAEP;EACnB;AACF,CAAC;AAED,SAASG,uBAAuB","ignoreList":[]}