@ovok/native 1.10.12 → 1.10.14

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 (592) hide show
  1. package/lib/commonjs/modules/bt-device/components/btdevice-instruction.js +1 -1
  2. package/lib/commonjs/modules/bt-device/components/btdevice-instruction.js.map +1 -1
  3. package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js +4 -78
  4. package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
  5. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.js +577 -0
  6. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.js.map +1 -0
  7. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-variants.js +2 -0
  8. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-variants.js.map +1 -1
  9. package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js +1 -0
  10. package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
  11. package/lib/commonjs/modules/bt-management/constants/device-variants.js +2 -1
  12. package/lib/commonjs/modules/bt-management/constants/device-variants.js.map +1 -1
  13. package/lib/commonjs/modules/bt-management/constants/no-parsing-cases.js +12 -0
  14. package/lib/commonjs/modules/bt-management/constants/no-parsing-cases.js.map +1 -0
  15. package/lib/commonjs/modules/bt-management/constants/transtek-a6-bp-device-variants.js +478 -0
  16. package/lib/commonjs/modules/bt-management/constants/transtek-a6-bp-device-variants.js.map +1 -0
  17. package/lib/commonjs/modules/bt-management/core/resolve-device-key.js +8 -1
  18. package/lib/commonjs/modules/bt-management/core/resolve-device-key.js.map +1 -1
  19. package/lib/commonjs/modules/bt-management/services/device-classes.js +3 -2
  20. package/lib/commonjs/modules/bt-management/services/device-classes.js.map +1 -1
  21. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js +0 -4
  22. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js.map +1 -1
  23. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.device.js +3 -10
  24. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.device.js.map +1 -1
  25. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.protocol.js +12 -12
  26. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.protocol.js.map +1 -1
  27. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-70b.device.js +2 -8
  28. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-70b.device.js.map +1 -1
  29. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.device.js +2 -9
  30. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.device.js.map +1 -1
  31. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js +12 -11
  32. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js.map +1 -1
  33. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.device.js +0 -1
  34. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.device.js.map +1 -1
  35. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js +1 -3
  36. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
  37. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
  38. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js +0 -4
  39. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -1
  40. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js +5 -0
  41. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  42. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.device.js +2 -13
  43. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.device.js.map +1 -1
  44. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.device.js +0 -4
  45. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.device.js.map +1 -1
  46. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.device.js +0 -4
  47. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.device.js.map +1 -1
  48. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.device.js +2 -9
  49. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.device.js.map +1 -1
  50. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.protocol.js +14 -17
  51. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.protocol.js.map +1 -1
  52. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.records.js +2 -2
  53. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe.records.js.map +1 -1
  54. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  55. package/lib/commonjs/modules/bt-management/services/devices/f4/f4.device.js.map +1 -1
  56. package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.device.js +2 -9
  57. package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.device.js.map +1 -1
  58. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.device.js +3 -9
  59. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.device.js.map +1 -1
  60. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.protocol.js +10 -9
  61. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.protocol.js.map +1 -1
  62. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +0 -1
  63. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -1
  64. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.device.js +2 -8
  65. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.device.js.map +1 -1
  66. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.protocol.js +10 -9
  67. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.protocol.js.map +1 -1
  68. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.device.js +2 -9
  69. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.device.js.map +1 -1
  70. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.protocol.js +10 -12
  71. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.protocol.js.map +1 -1
  72. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +5 -4
  73. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
  74. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +4 -6
  75. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js.map +1 -1
  76. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.device.js +3 -9
  77. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.device.js.map +1 -1
  78. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.protocol.js +4 -3
  79. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.protocol.js.map +1 -1
  80. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.js +103 -0
  81. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.js.map +1 -0
  82. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +97 -0
  83. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -0
  84. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.protocol.js +7 -1
  85. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.protocol.js.map +1 -1
  86. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +5 -53
  87. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -1
  88. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6.device.js +53 -0
  89. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6.device.js.map +1 -0
  90. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6.sequencer.js +70 -0
  91. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6.sequencer.js.map +1 -0
  92. package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.device.js +3 -10
  93. package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.device.js.map +1 -1
  94. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.device.js +4 -10
  95. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.device.js.map +1 -1
  96. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.protocol.js +21 -21
  97. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.protocol.js.map +1 -1
  98. package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.device.js +0 -4
  99. package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.device.js.map +1 -1
  100. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.activity-device.js +0 -4
  101. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.activity-device.js.map +1 -1
  102. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.js +2 -1
  103. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.js.map +1 -1
  104. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +0 -6
  105. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
  106. package/lib/commonjs/modules/bt-management/services/devices/viatom/ap20.device.js +2 -9
  107. package/lib/commonjs/modules/bt-management/services/devices/viatom/ap20.device.js.map +1 -1
  108. package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.js +2 -9
  109. package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.js.map +1 -1
  110. package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.device.js +2 -9
  111. package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.device.js.map +1 -1
  112. package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.device.js +3 -10
  113. package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.device.js.map +1 -1
  114. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc68b.device.js +2 -9
  115. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc68b.device.js.map +1 -1
  116. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.device.js +2 -9
  117. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.device.js.map +1 -1
  118. package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.device.js +2 -9
  119. package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.device.js.map +1 -1
  120. package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.device.js +2 -9
  121. package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.device.js.map +1 -1
  122. package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.device.js +2 -9
  123. package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.device.js.map +1 -1
  124. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.device.js +2 -9
  125. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.device.js.map +1 -1
  126. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js +2 -9
  127. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js.map +1 -1
  128. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.device.js +2 -9
  129. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.device.js.map +1 -1
  130. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.device.js +2 -9
  131. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.device.js.map +1 -1
  132. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.device.js +3 -10
  133. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.device.js.map +1 -1
  134. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.device.js +3 -10
  135. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.device.js.map +1 -1
  136. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.device.js +2 -9
  137. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.device.js.map +1 -1
  138. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.protocol.js +16 -16
  139. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.protocol.js.map +1 -1
  140. package/lib/commonjs/modules/bt-management/types/clock-sync.js +1 -0
  141. package/lib/commonjs/modules/bt-management/types/clock-sync.js.map +1 -1
  142. package/lib/commonjs/modules/bt-management/types/integrated-devices.js +1 -0
  143. package/lib/commonjs/modules/bt-management/types/integrated-devices.js.map +1 -1
  144. package/lib/commonjs/modules/bt-management/utils/bytes-to-hex.js +10 -0
  145. package/lib/commonjs/modules/bt-management/utils/bytes-to-hex.js.map +1 -0
  146. package/lib/commonjs/modules/bt-management/utils/frame-bytes.js +11 -0
  147. package/lib/commonjs/modules/bt-management/utils/frame-bytes.js.map +1 -0
  148. package/lib/commonjs/modules/bt-management/utils/sig-uuid.js +10 -0
  149. package/lib/commonjs/modules/bt-management/utils/sig-uuid.js.map +1 -0
  150. package/lib/module/modules/bt-device/components/btdevice-instruction.js +1 -1
  151. package/lib/module/modules/bt-device/components/btdevice-instruction.js.map +1 -1
  152. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js +4 -78
  153. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
  154. package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.js +575 -0
  155. package/lib/module/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.js.map +1 -0
  156. package/lib/module/modules/bt-device/constants/supported-device-catalog-variants.js +2 -0
  157. package/lib/module/modules/bt-device/constants/supported-device-catalog-variants.js.map +1 -1
  158. package/lib/module/modules/bt-management/constants/built-in-measurement-types.js +1 -0
  159. package/lib/module/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
  160. package/lib/module/modules/bt-management/constants/device-variants.js +2 -1
  161. package/lib/module/modules/bt-management/constants/device-variants.js.map +1 -1
  162. package/lib/module/modules/bt-management/constants/no-parsing-cases.js +8 -0
  163. package/lib/module/modules/bt-management/constants/no-parsing-cases.js.map +1 -0
  164. package/lib/module/modules/bt-management/constants/transtek-a6-bp-device-variants.js +476 -0
  165. package/lib/module/modules/bt-management/constants/transtek-a6-bp-device-variants.js.map +1 -0
  166. package/lib/module/modules/bt-management/core/resolve-device-key.js +7 -1
  167. package/lib/module/modules/bt-management/core/resolve-device-key.js.map +1 -1
  168. package/lib/module/modules/bt-management/services/device-classes.js +3 -2
  169. package/lib/module/modules/bt-management/services/device-classes.js.map +1 -1
  170. package/lib/module/modules/bt-management/services/devices/a606/a606.device.js +0 -4
  171. package/lib/module/modules/bt-management/services/devices/a606/a606.device.js.map +1 -1
  172. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.device.js +3 -10
  173. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.device.js.map +1 -1
  174. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.protocol.js +12 -12
  175. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.protocol.js.map +1 -1
  176. package/lib/module/modules/bt-management/services/devices/aoj/aoj-70b.device.js +2 -8
  177. package/lib/module/modules/bt-management/services/devices/aoj/aoj-70b.device.js.map +1 -1
  178. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.device.js +2 -9
  179. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.device.js.map +1 -1
  180. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js +12 -11
  181. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.protocol.js.map +1 -1
  182. package/lib/module/modules/bt-management/services/devices/aoj/aoj.device.js +0 -1
  183. package/lib/module/modules/bt-management/services/devices/aoj/aoj.device.js.map +1 -1
  184. package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js +1 -3
  185. package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
  186. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
  187. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js +0 -4
  188. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -1
  189. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js +5 -0
  190. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  191. package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.device.js +2 -13
  192. package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.device.js.map +1 -1
  193. package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.device.js +0 -4
  194. package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.device.js.map +1 -1
  195. package/lib/module/modules/bt-management/services/devices/checkme/checkme.device.js +0 -4
  196. package/lib/module/modules/bt-management/services/devices/checkme/checkme.device.js.map +1 -1
  197. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.device.js +2 -9
  198. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.device.js.map +1 -1
  199. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.protocol.js +13 -15
  200. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.protocol.js.map +1 -1
  201. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.records.js +2 -2
  202. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe.records.js.map +1 -1
  203. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  204. package/lib/module/modules/bt-management/services/devices/f4/f4.device.js.map +1 -1
  205. package/lib/module/modules/bt-management/services/devices/f5/f5-scale.device.js +2 -9
  206. package/lib/module/modules/bt-management/services/devices/f5/f5-scale.device.js.map +1 -1
  207. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.device.js +3 -9
  208. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.device.js.map +1 -1
  209. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.protocol.js +10 -9
  210. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.protocol.js.map +1 -1
  211. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +0 -1
  212. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -1
  213. package/lib/module/modules/bt-management/services/devices/joytech/joytech.device.js +2 -8
  214. package/lib/module/modules/bt-management/services/devices/joytech/joytech.device.js.map +1 -1
  215. package/lib/module/modules/bt-management/services/devices/joytech/joytech.protocol.js +10 -9
  216. package/lib/module/modules/bt-management/services/devices/joytech/joytech.protocol.js.map +1 -1
  217. package/lib/module/modules/bt-management/services/devices/jumper/jumper.device.js +2 -9
  218. package/lib/module/modules/bt-management/services/devices/jumper/jumper.device.js.map +1 -1
  219. package/lib/module/modules/bt-management/services/devices/jumper/jumper.protocol.js +10 -12
  220. package/lib/module/modules/bt-management/services/devices/jumper/jumper.protocol.js.map +1 -1
  221. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +2 -1
  222. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
  223. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +2 -3
  224. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js.map +1 -1
  225. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.device.js +3 -9
  226. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.device.js.map +1 -1
  227. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.protocol.js +4 -3
  228. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.protocol.js.map +1 -1
  229. package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.js +98 -0
  230. package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.js.map +1 -0
  231. package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +92 -0
  232. package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -0
  233. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.protocol.js +6 -0
  234. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.protocol.js.map +1 -1
  235. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +6 -54
  236. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -1
  237. package/lib/module/modules/bt-management/services/devices/transtek/a6.device.js +48 -0
  238. package/lib/module/modules/bt-management/services/devices/transtek/a6.device.js.map +1 -0
  239. package/lib/module/modules/bt-management/services/devices/transtek/a6.sequencer.js +66 -0
  240. package/lib/module/modules/bt-management/services/devices/transtek/a6.sequencer.js.map +1 -0
  241. package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.device.js +3 -10
  242. package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.device.js.map +1 -1
  243. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.device.js +4 -10
  244. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.device.js.map +1 -1
  245. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.protocol.js +21 -21
  246. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.protocol.js.map +1 -1
  247. package/lib/module/modules/bt-management/services/devices/trasense/s9.device.js +0 -4
  248. package/lib/module/modules/bt-management/services/devices/trasense/s9.device.js.map +1 -1
  249. package/lib/module/modules/bt-management/services/devices/veroval/veroval.activity-device.js +0 -4
  250. package/lib/module/modules/bt-management/services/devices/veroval/veroval.activity-device.js.map +1 -1
  251. package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.js +2 -1
  252. package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.js.map +1 -1
  253. package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +0 -6
  254. package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
  255. package/lib/module/modules/bt-management/services/devices/viatom/ap20.device.js +2 -9
  256. package/lib/module/modules/bt-management/services/devices/viatom/ap20.device.js.map +1 -1
  257. package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.js +2 -9
  258. package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.js.map +1 -1
  259. package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.device.js +2 -9
  260. package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.device.js.map +1 -1
  261. package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.device.js +3 -10
  262. package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.device.js.map +1 -1
  263. package/lib/module/modules/bt-management/services/devices/viatom/pc68b.device.js +2 -9
  264. package/lib/module/modules/bt-management/services/devices/viatom/pc68b.device.js.map +1 -1
  265. package/lib/module/modules/bt-management/services/devices/viatom/pc80b.device.js +2 -9
  266. package/lib/module/modules/bt-management/services/devices/viatom/pc80b.device.js.map +1 -1
  267. package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.device.js +2 -9
  268. package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.device.js.map +1 -1
  269. package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.device.js +2 -9
  270. package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.device.js.map +1 -1
  271. package/lib/module/modules/bt-management/services/devices/viatom/sp20.device.js +2 -9
  272. package/lib/module/modules/bt-management/services/devices/viatom/sp20.device.js.map +1 -1
  273. package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.device.js +2 -9
  274. package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.device.js.map +1 -1
  275. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js +2 -9
  276. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.device.js.map +1 -1
  277. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.device.js +2 -9
  278. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.device.js.map +1 -1
  279. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.device.js +2 -9
  280. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.device.js.map +1 -1
  281. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.device.js +3 -10
  282. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.device.js.map +1 -1
  283. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.device.js +3 -10
  284. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.device.js.map +1 -1
  285. package/lib/module/modules/bt-management/services/devices/yonker/yonker.device.js +2 -9
  286. package/lib/module/modules/bt-management/services/devices/yonker/yonker.device.js.map +1 -1
  287. package/lib/module/modules/bt-management/services/devices/yonker/yonker.protocol.js +16 -16
  288. package/lib/module/modules/bt-management/services/devices/yonker/yonker.protocol.js.map +1 -1
  289. package/lib/module/modules/bt-management/types/clock-sync.js +1 -0
  290. package/lib/module/modules/bt-management/types/clock-sync.js.map +1 -1
  291. package/lib/module/modules/bt-management/types/device-measurement-map.js.map +1 -1
  292. package/lib/module/modules/bt-management/types/integrated-devices.js +1 -0
  293. package/lib/module/modules/bt-management/types/integrated-devices.js.map +1 -1
  294. package/lib/module/modules/bt-management/utils/bytes-to-hex.js +5 -0
  295. package/lib/module/modules/bt-management/utils/bytes-to-hex.js.map +1 -0
  296. package/lib/module/modules/bt-management/utils/frame-bytes.js +7 -0
  297. package/lib/module/modules/bt-management/utils/frame-bytes.js.map +1 -0
  298. package/lib/module/modules/bt-management/utils/sig-uuid.js +5 -0
  299. package/lib/module/modules/bt-management/utils/sig-uuid.js.map +1 -0
  300. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts +2 -1
  301. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  302. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.d.ts +5 -0
  303. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.d.ts.map +1 -0
  304. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-variants.d.ts.map +1 -1
  305. package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -1
  306. package/lib/typescript/commonjs/src/modules/bt-management/constants/device-variants.d.ts.map +1 -1
  307. package/lib/typescript/commonjs/src/modules/bt-management/constants/no-parsing-cases.d.ts +4 -0
  308. package/lib/typescript/commonjs/src/modules/bt-management/constants/no-parsing-cases.d.ts.map +1 -0
  309. package/lib/typescript/commonjs/src/modules/bt-management/constants/transtek-a6-bp-device-variants.d.ts +5 -0
  310. package/lib/typescript/commonjs/src/modules/bt-management/constants/transtek-a6-bp-device-variants.d.ts.map +1 -0
  311. package/lib/typescript/commonjs/src/modules/bt-management/core/resolve-device-key.d.ts.map +1 -1
  312. package/lib/typescript/commonjs/src/modules/bt-management/services/device-classes.d.ts +3 -2
  313. package/lib/typescript/commonjs/src/modules/bt-management/services/device-classes.d.ts.map +1 -1
  314. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.device.d.ts +0 -2
  315. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/a606/a606.device.d.ts.map +1 -1
  316. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts +0 -2
  317. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts.map +1 -1
  318. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts +9 -0
  319. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts.map +1 -1
  320. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-70b.device.d.ts +0 -2
  321. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-70b.device.d.ts.map +1 -1
  322. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.device.d.ts +0 -2
  323. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.device.d.ts.map +1 -1
  324. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.protocol.d.ts +7 -0
  325. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj-bp.protocol.d.ts.map +1 -1
  326. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.device.d.ts +0 -1
  327. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.device.d.ts.map +1 -1
  328. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +0 -1
  329. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
  330. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +0 -1
  331. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -1
  332. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.device.d.ts +0 -2
  333. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bpw1/bpw1.device.d.ts.map +1 -1
  334. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts +3 -2
  335. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  336. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.device.d.ts +0 -4
  337. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.device.d.ts.map +1 -1
  338. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.device.d.ts +0 -2
  339. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.device.d.ts.map +1 -1
  340. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts +0 -2
  341. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts.map +1 -1
  342. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts +0 -2
  343. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts.map +1 -1
  344. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts +0 -1
  345. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts.map +1 -1
  346. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts +0 -1
  347. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  348. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f4/f4.device.d.ts +0 -1
  349. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f4/f4.device.d.ts.map +1 -1
  350. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.device.d.ts +0 -2
  351. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.device.d.ts.map +1 -1
  352. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.device.d.ts +0 -2
  353. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.device.d.ts.map +1 -1
  354. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.protocol.d.ts +8 -0
  355. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/famidoc/famidoc.protocol.d.ts.map +1 -1
  356. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/genial-t31/genial-t31.device.d.ts +0 -1
  357. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/genial-t31/genial-t31.device.d.ts.map +1 -1
  358. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.device.d.ts +0 -2
  359. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.device.d.ts.map +1 -1
  360. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.protocol.d.ts +8 -0
  361. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/joytech/joytech.protocol.d.ts.map +1 -1
  362. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts +0 -2
  363. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts.map +1 -1
  364. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.protocol.d.ts +4 -0
  365. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/jumper/jumper.protocol.d.ts.map +1 -1
  366. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.d.ts.map +1 -1
  367. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +1 -2
  368. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
  369. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts +0 -2
  370. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts.map +1 -1
  371. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts.map +1 -1
  372. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.d.ts +19 -0
  373. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.d.ts.map +1 -0
  374. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.d.ts +27 -0
  375. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.d.ts.map +1 -0
  376. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.protocol.d.ts +6 -0
  377. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.protocol.d.ts.map +1 -1
  378. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.sequencer.d.ts +3 -9
  379. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.sequencer.d.ts.map +1 -1
  380. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6.device.d.ts +14 -0
  381. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6.device.d.ts.map +1 -0
  382. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6.sequencer.d.ts +23 -0
  383. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6.sequencer.d.ts.map +1 -0
  384. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts +0 -2
  385. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts.map +1 -1
  386. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.device.d.ts +0 -2
  387. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.device.d.ts.map +1 -1
  388. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.protocol.d.ts +10 -0
  389. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/transtek-command.protocol.d.ts.map +1 -1
  390. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/trasense/s9.device.d.ts +0 -2
  391. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/trasense/s9.device.d.ts.map +1 -1
  392. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.activity-device.d.ts +0 -2
  393. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.activity-device.d.ts.map +1 -1
  394. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.d.ts.map +1 -1
  395. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-device.d.ts +0 -3
  396. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-device.d.ts.map +1 -1
  397. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/ap20.device.d.ts +0 -2
  398. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/ap20.device.d.ts.map +1 -1
  399. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.d.ts +0 -2
  400. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.d.ts.map +1 -1
  401. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.device.d.ts +0 -2
  402. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.device.d.ts.map +1 -1
  403. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.device.d.ts +0 -2
  404. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.device.d.ts.map +1 -1
  405. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc68b.device.d.ts +0 -2
  406. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc68b.device.d.ts.map +1 -1
  407. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.device.d.ts +0 -2
  408. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.device.d.ts.map +1 -1
  409. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.device.d.ts +0 -2
  410. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.device.d.ts.map +1 -1
  411. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.device.d.ts +0 -2
  412. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.device.d.ts.map +1 -1
  413. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.device.d.ts +0 -2
  414. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.device.d.ts.map +1 -1
  415. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.device.d.ts +0 -2
  416. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.device.d.ts.map +1 -1
  417. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.d.ts +0 -2
  418. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.d.ts.map +1 -1
  419. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.device.d.ts +0 -2
  420. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.device.d.ts.map +1 -1
  421. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.device.d.ts +0 -2
  422. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.device.d.ts.map +1 -1
  423. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.device.d.ts +0 -2
  424. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.device.d.ts.map +1 -1
  425. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.device.d.ts +0 -2
  426. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.device.d.ts.map +1 -1
  427. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts +0 -2
  428. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts.map +1 -1
  429. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts +8 -0
  430. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts.map +1 -1
  431. package/lib/typescript/commonjs/src/modules/bt-management/types/clock-sync.d.ts.map +1 -1
  432. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +1 -0
  433. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  434. package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts +1 -0
  435. package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
  436. package/lib/typescript/commonjs/src/modules/bt-management/utils/bytes-to-hex.d.ts +3 -0
  437. package/lib/typescript/commonjs/src/modules/bt-management/utils/bytes-to-hex.d.ts.map +1 -0
  438. package/lib/typescript/commonjs/src/modules/bt-management/utils/frame-bytes.d.ts +3 -0
  439. package/lib/typescript/commonjs/src/modules/bt-management/utils/frame-bytes.d.ts.map +1 -0
  440. package/lib/typescript/commonjs/src/modules/bt-management/utils/sig-uuid.d.ts +3 -0
  441. package/lib/typescript/commonjs/src/modules/bt-management/utils/sig-uuid.d.ts.map +1 -0
  442. package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts +2 -1
  443. package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  444. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.d.ts +5 -0
  445. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-transtek-a6-bp-variants.d.ts.map +1 -0
  446. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-variants.d.ts.map +1 -1
  447. package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -1
  448. package/lib/typescript/module/src/modules/bt-management/constants/device-variants.d.ts.map +1 -1
  449. package/lib/typescript/module/src/modules/bt-management/constants/no-parsing-cases.d.ts +4 -0
  450. package/lib/typescript/module/src/modules/bt-management/constants/no-parsing-cases.d.ts.map +1 -0
  451. package/lib/typescript/module/src/modules/bt-management/constants/transtek-a6-bp-device-variants.d.ts +5 -0
  452. package/lib/typescript/module/src/modules/bt-management/constants/transtek-a6-bp-device-variants.d.ts.map +1 -0
  453. package/lib/typescript/module/src/modules/bt-management/core/resolve-device-key.d.ts.map +1 -1
  454. package/lib/typescript/module/src/modules/bt-management/services/device-classes.d.ts +3 -2
  455. package/lib/typescript/module/src/modules/bt-management/services/device-classes.d.ts.map +1 -1
  456. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.device.d.ts +0 -2
  457. package/lib/typescript/module/src/modules/bt-management/services/devices/a606/a606.device.d.ts.map +1 -1
  458. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts +0 -2
  459. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.device.d.ts.map +1 -1
  460. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts +9 -0
  461. package/lib/typescript/module/src/modules/bt-management/services/devices/and-medical/and-medical.protocol.d.ts.map +1 -1
  462. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-70b.device.d.ts +0 -2
  463. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-70b.device.d.ts.map +1 -1
  464. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.device.d.ts +0 -2
  465. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.device.d.ts.map +1 -1
  466. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.protocol.d.ts +7 -0
  467. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj-bp.protocol.d.ts.map +1 -1
  468. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.device.d.ts +0 -1
  469. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.device.d.ts.map +1 -1
  470. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +0 -1
  471. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
  472. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +0 -1
  473. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -1
  474. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.device.d.ts +0 -2
  475. package/lib/typescript/module/src/modules/bt-management/services/devices/bpw1/bpw1.device.d.ts.map +1 -1
  476. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts +3 -2
  477. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  478. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.device.d.ts +0 -4
  479. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.device.d.ts.map +1 -1
  480. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.device.d.ts +0 -2
  481. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.device.d.ts.map +1 -1
  482. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts +0 -2
  483. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.device.d.ts.map +1 -1
  484. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts +0 -2
  485. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.device.d.ts.map +1 -1
  486. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts +0 -1
  487. package/lib/typescript/module/src/modules/bt-management/services/devices/cofoe/cofoe.protocol.d.ts.map +1 -1
  488. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts +0 -1
  489. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  490. package/lib/typescript/module/src/modules/bt-management/services/devices/f4/f4.device.d.ts +0 -1
  491. package/lib/typescript/module/src/modules/bt-management/services/devices/f4/f4.device.d.ts.map +1 -1
  492. package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.device.d.ts +0 -2
  493. package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.device.d.ts.map +1 -1
  494. package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.device.d.ts +0 -2
  495. package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.device.d.ts.map +1 -1
  496. package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.protocol.d.ts +8 -0
  497. package/lib/typescript/module/src/modules/bt-management/services/devices/famidoc/famidoc.protocol.d.ts.map +1 -1
  498. package/lib/typescript/module/src/modules/bt-management/services/devices/genial-t31/genial-t31.device.d.ts +0 -1
  499. package/lib/typescript/module/src/modules/bt-management/services/devices/genial-t31/genial-t31.device.d.ts.map +1 -1
  500. package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.device.d.ts +0 -2
  501. package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.device.d.ts.map +1 -1
  502. package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.protocol.d.ts +8 -0
  503. package/lib/typescript/module/src/modules/bt-management/services/devices/joytech/joytech.protocol.d.ts.map +1 -1
  504. package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts +0 -2
  505. package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.device.d.ts.map +1 -1
  506. package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.protocol.d.ts +4 -0
  507. package/lib/typescript/module/src/modules/bt-management/services/devices/jumper/jumper.protocol.d.ts.map +1 -1
  508. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.d.ts.map +1 -1
  509. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +1 -2
  510. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
  511. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts +0 -2
  512. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.device.d.ts.map +1 -1
  513. package/lib/typescript/module/src/modules/bt-management/services/devices/taidoc/taidoc.protocol.d.ts.map +1 -1
  514. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.d.ts +19 -0
  515. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.measurements.d.ts.map +1 -0
  516. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.d.ts +27 -0
  517. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.d.ts.map +1 -0
  518. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.protocol.d.ts +6 -0
  519. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.protocol.d.ts.map +1 -1
  520. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.sequencer.d.ts +3 -9
  521. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.sequencer.d.ts.map +1 -1
  522. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6.device.d.ts +14 -0
  523. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6.device.d.ts.map +1 -0
  524. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6.sequencer.d.ts +23 -0
  525. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6.sequencer.d.ts.map +1 -0
  526. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts +0 -2
  527. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/mambo-a5.device.d.ts.map +1 -1
  528. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.device.d.ts +0 -2
  529. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.device.d.ts.map +1 -1
  530. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.protocol.d.ts +10 -0
  531. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/transtek-command.protocol.d.ts.map +1 -1
  532. package/lib/typescript/module/src/modules/bt-management/services/devices/trasense/s9.device.d.ts +0 -2
  533. package/lib/typescript/module/src/modules/bt-management/services/devices/trasense/s9.device.d.ts.map +1 -1
  534. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.activity-device.d.ts +0 -2
  535. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.activity-device.d.ts.map +1 -1
  536. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.duo-control-sequencer.d.ts.map +1 -1
  537. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-device.d.ts +0 -3
  538. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-device.d.ts.map +1 -1
  539. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/ap20.device.d.ts +0 -2
  540. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/ap20.device.d.ts.map +1 -1
  541. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.d.ts +0 -2
  542. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.device.d.ts.map +1 -1
  543. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.device.d.ts +0 -2
  544. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.device.d.ts.map +1 -1
  545. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.device.d.ts +0 -2
  546. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.device.d.ts.map +1 -1
  547. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc68b.device.d.ts +0 -2
  548. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc68b.device.d.ts.map +1 -1
  549. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.device.d.ts +0 -2
  550. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.device.d.ts.map +1 -1
  551. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.device.d.ts +0 -2
  552. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.device.d.ts.map +1 -1
  553. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.device.d.ts +0 -2
  554. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.device.d.ts.map +1 -1
  555. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.device.d.ts +0 -2
  556. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.device.d.ts.map +1 -1
  557. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.device.d.ts +0 -2
  558. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.device.d.ts.map +1 -1
  559. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.d.ts +0 -2
  560. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.device.d.ts.map +1 -1
  561. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.device.d.ts +0 -2
  562. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.device.d.ts.map +1 -1
  563. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.device.d.ts +0 -2
  564. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.device.d.ts.map +1 -1
  565. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.device.d.ts +0 -2
  566. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.device.d.ts.map +1 -1
  567. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.device.d.ts +0 -2
  568. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.device.d.ts.map +1 -1
  569. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts +0 -2
  570. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.device.d.ts.map +1 -1
  571. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts +8 -0
  572. package/lib/typescript/module/src/modules/bt-management/services/devices/yonker/yonker.protocol.d.ts.map +1 -1
  573. package/lib/typescript/module/src/modules/bt-management/types/clock-sync.d.ts.map +1 -1
  574. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +1 -0
  575. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  576. package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts +1 -0
  577. package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
  578. package/lib/typescript/module/src/modules/bt-management/utils/bytes-to-hex.d.ts +3 -0
  579. package/lib/typescript/module/src/modules/bt-management/utils/bytes-to-hex.d.ts.map +1 -0
  580. package/lib/typescript/module/src/modules/bt-management/utils/frame-bytes.d.ts +3 -0
  581. package/lib/typescript/module/src/modules/bt-management/utils/frame-bytes.d.ts.map +1 -0
  582. package/lib/typescript/module/src/modules/bt-management/utils/sig-uuid.d.ts +3 -0
  583. package/lib/typescript/module/src/modules/bt-management/utils/sig-uuid.d.ts.map +1 -0
  584. package/package.json +1 -1
  585. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.device.js +0 -50
  586. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.device.js.map +0 -1
  587. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.device.js +0 -45
  588. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.device.js.map +0 -1
  589. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.device.d.ts +0 -16
  590. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/transtek/a6-scale.device.d.ts.map +0 -1
  591. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.device.d.ts +0 -16
  592. package/lib/typescript/module/src/modules/bt-management/services/devices/transtek/a6-scale.device.d.ts.map +0 -1
@@ -4,20 +4,17 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.viatomR20MainServices = exports.ViatomR20Device = void 0;
7
+ var _noParsingCases = require("../../../constants/no-parsing-cases.js");
7
8
  var _btManagedDevice = require("../bt-managed-device.js");
8
9
  var _viatomR20Protocol = require("./viatom-r20.protocol.js");
9
10
  var _viatomR20Sequencer = require("./viatom-r20.sequencer.js");
10
11
  /* eslint-disable import/group-exports */
11
12
 
12
- const acceptNothing = {
13
- caseValuePosition: [],
14
- cases: []
15
- };
16
13
  const viatomR20MainServices = exports.viatomR20MainServices = [{
17
14
  uuid: _viatomR20Protocol.VIATOM_R20_SERVICE,
18
15
  monitorUuids: [{
19
16
  uuid: _viatomR20Protocol.VIATOM_R20_NOTIFY,
20
- parsingModel: acceptNothing
17
+ parsingModel: _noParsingCases.NO_PARSING_CASES
21
18
  }],
22
19
  writeUuid: {
23
20
  uuid: _viatomR20Protocol.VIATOM_R20_WRITE,
@@ -28,7 +25,6 @@ const viatomR20MainServices = exports.viatomR20MainServices = [{
28
25
  class ViatomR20Device extends _btManagedDevice.BTManagedDevice {
29
26
  mainServices = viatomR20MainServices;
30
27
  stuckDataTimeout = 60_000;
31
- onStreamStart = undefined;
32
28
  preferredMtu = 247;
33
29
  getSupportedMeasurementTypeKeys() {
34
30
  return [_viatomR20Protocol.VIATOM_R20_MEASUREMENT_TYPE];
@@ -49,9 +45,6 @@ class ViatomR20Device extends _btManagedDevice.BTManagedDevice {
49
45
  onResult: result => this.onResult?.(result)
50
46
  });
51
47
  }
52
- handleSuccessResult() {
53
- return;
54
- }
55
48
  }
56
49
  exports.ViatomR20Device = ViatomR20Device;
57
50
  //# sourceMappingURL=viatom-r20.device.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_btManagedDevice","require","_viatomR20Protocol","_viatomR20Sequencer","acceptNothing","caseValuePosition","cases","viatomR20MainServices","exports","uuid","VIATOM_R20_SERVICE","monitorUuids","VIATOM_R20_NOTIFY","parsingModel","writeUuid","VIATOM_R20_WRITE","mainCommandUuid","ViatomR20Device","BTManagedDevice","mainServices","stuckDataTimeout","onStreamStart","undefined","preferredMtu","getSupportedMeasurementTypeKeys","VIATOM_R20_MEASUREMENT_TYPE","constructor","device","params","oneReadingPerConnection","frameReader","ViatomR20FrameReader","createCommandSequencer","ViatomR20Sequencer","encrypted","parseViatomR20Advertisement","manufacturerData","write","serviceUuid","characteristicUuid","clockSync","onResult","result","handleSuccessResult"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom-r20.device.ts"],"mappings":";;;;;;AAUA,IAAAA,gBAAA,GAAAC,OAAA;AAEA,IAAAC,kBAAA,GAAAD,OAAA;AAQA,IAAAE,mBAAA,GAAAF,OAAA;AApBA;;AAsBA,MAAMG,aAAa,GAAG;EAAEC,iBAAiB,EAAE,EAAE;EAAEC,KAAK,EAAE;AAAG,CAAC;AAEnD,MAAMC,qBAAiC,GAAAC,OAAA,CAAAD,qBAAA,GAAG,CAC/C;EACEE,IAAI,EAAEC,qCAAkB;EACxBC,YAAY,EAAE,CAAC;IAAEF,IAAI,EAAEG,oCAAiB;IAAEC,YAAY,EAAET;EAAc,CAAC,CAAC;EACxEU,SAAS,EAAE;IAAEL,IAAI,EAAEM,mCAAgB;IAAEC,eAAe,EAAE;EAAK;AAC7D,CAAC,CACF;AAMD;AACO,MAAMC,eAAe,SAASC,gCAAe,CAAsB;EAC9DC,YAAY,GAAGZ,qBAAqB;EACpCa,gBAAgB,GAAG,MAAM;EACzBC,aAAa,GAAGC,SAAS;EAChBC,YAAY,GAAG,GAAG;EAElBC,+BAA+BA,CAAA,EAAyB;IACzE,OAAO,CAACC,8CAA2B,CAAC;EACtC;EAEOC,WAAWA,CAChBC,MAAc,EACdC,MAA+C,EAC/C;IACA,KAAK,CAACD,MAAM,EAAE;MACZ,GAAGC,MAAM;MACTC,uBAAuB,EAAED,MAAM,CAACC,uBAAuB,IAAI;IAC7D,CAAC,CAAC;IACF,IAAI,CAACC,WAAW,GAAG,IAAIC,uCAAoB,CAAC,CAAC;IAC7C,IAAI,CAACC,sBAAsB,GAAG,MAC5B,IAAIC,sCAAkB,CAAC;MACrBC,SAAS,EAAE,IAAAC,8CAA2B,EAACR,MAAM,CAACS,gBAAgB,CAAC,CAC5DF,SAAS;MACZG,KAAK,EAAE;QACLC,WAAW,EAAE5B,qCAAkB;QAC/B6B,kBAAkB,EAAExB;MACtB,CAAC;MACDyB,SAAS,EAAEZ,MAAM,CAACY,SAAS;MAC3BC,QAAQ,EAAGC,MAAM,IACf,IAAI,CAACD,QAAQ,GACXC,MAGF;IACJ,CAAC,CAAC;EACN;EAEUC,mBAAmBA,CAAA,EAAS;IACpC;EACF;AACF;AAACnC,OAAA,CAAAS,eAAA,GAAAA,eAAA","ignoreList":[]}
1
+ {"version":3,"names":["_noParsingCases","require","_btManagedDevice","_viatomR20Protocol","_viatomR20Sequencer","viatomR20MainServices","exports","uuid","VIATOM_R20_SERVICE","monitorUuids","VIATOM_R20_NOTIFY","parsingModel","NO_PARSING_CASES","writeUuid","VIATOM_R20_WRITE","mainCommandUuid","ViatomR20Device","BTManagedDevice","mainServices","stuckDataTimeout","preferredMtu","getSupportedMeasurementTypeKeys","VIATOM_R20_MEASUREMENT_TYPE","constructor","device","params","oneReadingPerConnection","frameReader","ViatomR20FrameReader","createCommandSequencer","ViatomR20Sequencer","encrypted","parseViatomR20Advertisement","manufacturerData","write","serviceUuid","characteristicUuid","clockSync","onResult","result"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom-r20.device.ts"],"mappings":";;;;;;AAKA,IAAAA,eAAA,GAAAC,OAAA;A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@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.bpm188MainServices = exports.Bpm188Device = void 0;
7
+ var _noParsingCases = require("../../../constants/no-parsing-cases.js");
7
8
  var _btManagedDevice = require("../bt-managed-device.js");
8
9
  var _viatomBpm188Protocol = require("./viatom.bpm188.protocol.js");
9
10
  var _viatomBpm188Sequencer = require("./viatom.bpm188.sequencer.js");
10
11
  /* eslint-disable import/group-exports */
11
12
 
12
- const acceptNothing = {
13
- caseValuePosition: [],
14
- cases: []
15
- };
16
13
  const bpm188MainServices = exports.bpm188MainServices = [{
17
14
  uuid: _viatomBpm188Protocol.BPM188_SERVICE,
18
15
  monitorUuids: [{
19
16
  uuid: _viatomBpm188Protocol.BPM188_NOTIFY,
20
- parsingModel: acceptNothing
17
+ parsingModel: _noParsingCases.NO_PARSING_CASES
21
18
  }],
22
19
  writeUuid: {
23
20
  uuid: _viatomBpm188Protocol.BPM188_WRITE,
@@ -29,7 +26,6 @@ const bpm188MainServices = exports.bpm188MainServices = [{
29
26
  class Bpm188Device extends _btManagedDevice.BTManagedDevice {
30
27
  mainServices = bpm188MainServices;
31
28
  stuckDataTimeout = 180_000;
32
- onStreamStart = undefined;
33
29
  preferredMtu = 247;
34
30
  constructor(device, params) {
35
31
  super(device, params);
@@ -42,9 +38,6 @@ class Bpm188Device extends _btManagedDevice.BTManagedDevice {
42
38
  onResult: result => this.onResult?.(result)
43
39
  });
44
40
  }
45
- handleSuccessResult() {
46
- return;
47
- }
48
41
  }
49
42
  exports.Bpm188Device = Bpm188Device;
50
43
  //# sourceMappingURL=viatom.bpm188.device.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_btManagedDevice","require","_viatomBpm188Protocol","_viatomBpm188Sequencer","acceptNothing","caseValuePosition","cases","bpm188MainServices","exports","uuid","BPM188_SERVICE","monitorUuids","BPM188_NOTIFY","parsingModel","writeUuid","BPM188_WRITE","mainCommandUuid","Bpm188Device","BTManagedDevice","mainServices","stuckDataTimeout","onStreamStart","undefined","preferredMtu","constructor","device","params","frameReader","Bpm188FrameReader","createCommandSequencer","Bpm188Sequencer","write","serviceUuid","characteristicUuid","onResult","result","handleSuccessResult"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.bpm188.device.ts"],"mappings":";;;;;;AASA,IAAAA,gBAAA,GAAAC,OAAA;AAEA,IAAAC,qBAAA,GAAAD,OAAA;AAMA,IAAAE,sBAAA,GAAAF,OAAA;AAjBA;;AAmBA,MAAMG,aAAa,GAAG;EAAEC,iBAAiB,EAAE,EAAE;EAAEC,KAAK,EAAE;AAAG,CAAC;AAEnD,MAAMC,kBAA8B,GAAAC,OAAA,CAAAD,kBAAA,GAAG,CAC5C;EACEE,IAAI,EAAEC,oCAAc;EACpBC,YAAY,EAAE,CAAC;IAAEF,IAAI,EAAEG,mCAAa;IAAEC,YAAY,EAAET;EAAc,CAAC,CAAC;EACpEU,SAAS,EAAE;IACTL,IAAI,EAAEM,kCAAY;IAClBC,eAAe,EAAE;EACnB;AACF,CAAC,CACF;;AAED;AACO,MAAMC,YAAY,SAASC,gCAAe,CAA2B;EAChEC,YAAY,GAAGZ,kBAAkB;EACjCa,gBAAgB,GAAG,OAAO;EAC1BC,aAAa,GAAGC,SAAS;EAChBC,YAAY,GAAG,GAAG;EAE9BC,WAAWA,CAChBC,MAAc,EACdC,MAAoD,EACpD;IACA,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IACrB,IAAI,CAACC,WAAW,GAAG,IAAIC,uCAAiB,CAAC,CAAC;IAC1C,IAAI,CAACC,sBAAsB,GAAG,MAC5B,IAAIC,sCAAe,CAAC;MAClBC,KAAK,EAAE;QACLC,WAAW,EAAEtB,oCAAc;QAC3BuB,kBAAkB,EAAElB;MACtB,CAAC;MACDmB,QAAQ,EAAGC,MAAM,IACf,IAAI,CAACD,QAAQ,GACXC,MAGF;IACJ,CAAC,CAAC;EACN;EAEUC,mBAAmBA,CAAA,EAAS;IACpC;EACF;AACF;AAAC5B,OAAA,CAAAS,YAAA,GAAAA,YAAA","ignoreList":[]}
1
+ {"version":3,"names":["_noParsingCases","require","_btManagedDevice","_viatomBpm188Protocol","_viatomBpm188Sequencer","bpm188MainServices","exports","uuid","BPM188_SERVICE","monitorUuids","BPM188_NOTIFY","parsingModel","NO_PARSING_CASES","writeUuid","BPM188_WRITE","mainCommandUuid","Bpm188Device","BTManagedDevice","mainServices","stuckDataTimeout","preferredMtu","constructor","device","params","frameReader","Bpm188FrameReader","createCommandSequencer","Bpm188Sequencer","write","serviceUuid","characteristicUuid","onResult","result"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.bpm188.device.ts"],"mappings":";;;;;;AAIA,IAAAA,eAAA,GAAAC,OAAA;AAMA,IAAAC,gBAAA,GAAAD,OAAA;AAEA,IAAAE,qBAAA,GAAAF,OAAA;AAMA,IAAAG,sBAAA,GAAAH,OAAA;AAlBA;;AAoBO,MAAMI,kBAA8B,GAAAC,OAAA,CAAAD,kBAAA,GAAG,CAC5C;EACEE,IAAI,EAAEC,oCAAc;EACpBC,YAAY,EAAE,CAAC;IAAEF,IAAI,EAAEG,mCAAa;IAAEC,YAAY,EAAEC;EAAiB,CAAC,CAAC;EACvEC,SAAS,EAAE;IACTN,IAAI,EAAEO,kCAAY;IAClBC,eAAe,EAAE;EACnB;AACF,CAAC,CACF;;AAED;AACO,MAAMC,YAAY,SAASC,gCAAe,CAA2B;EAChEC,YAAY,GAAGb,kBAAkB;EACjCc,gBAAgB,GAAG,OAAO;EACjBC,YAAY,GAAG,GAAG;EAE9BC,WAAWA,CAChBC,MAAc,EACdC,MAAoD,EACpD;IACA,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IACrB,IAAI,CAACC,WAAW,GAAG,IAAIC,uCAAiB,CAAC,CAAC;IAC1C,IAAI,CAACC,sBAAsB,GAAG,MAC5B,IAAIC,sCAAe,CAAC;MAClBC,KAAK,EAAE;QACLC,WAAW,EAAErB,oCAAc;QAC3BsB,kBAAkB,EAAEhB;MACtB,CAAC;MACDiB,QAAQ,EAAGC,MAAM,IACf,IAAI,CAACD,QAAQ,GACXC,MAGF;IACJ,CAAC,CAAC;EACN;AAEF;AAAC1B,OAAA,CAAAU,YAAA,GAAAA,YAAA","ignoreList":[]}
@@ -4,20 +4,17 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.pc100MainServices = exports.Pc100Device = void 0;
7
+ var _noParsingCases = require("../../../constants/no-parsing-cases.js");
7
8
  var _btManagedDevice = require("../bt-managed-device.js");
8
9
  var _viatomPc100Protocol = require("./viatom.pc100.protocol.js");
9
10
  var _viatomPc100Sequencer = require("./viatom.pc100.sequencer.js");
10
11
  /* eslint-disable import/group-exports */
11
12
 
12
- const acceptNothing = {
13
- caseValuePosition: [],
14
- cases: []
15
- };
16
13
  const pc100MainServices = exports.pc100MainServices = [{
17
14
  uuid: _viatomPc100Protocol.PC100_SERVICE,
18
15
  monitorUuids: [{
19
16
  uuid: _viatomPc100Protocol.PC100_NOTIFY,
20
- parsingModel: acceptNothing
17
+ parsingModel: _noParsingCases.NO_PARSING_CASES
21
18
  }],
22
19
  writeUuid: {
23
20
  uuid: _viatomPc100Protocol.PC100_WRITE,
@@ -29,7 +26,6 @@ const pc100MainServices = exports.pc100MainServices = [{
29
26
  class Pc100Device extends _btManagedDevice.BTManagedDevice {
30
27
  mainServices = pc100MainServices;
31
28
  stuckDataTimeout = 60_000;
32
- onStreamStart = undefined;
33
29
  preferredMtu = 247;
34
30
  constructor(device, params) {
35
31
  super(device, params);
@@ -42,9 +38,6 @@ class Pc100Device extends _btManagedDevice.BTManagedDevice {
42
38
  onResult: result => this.onResult?.(result)
43
39
  });
44
40
  }
45
- handleSuccessResult() {
46
- return;
47
- }
48
41
  }
49
42
  exports.Pc100Device = Pc100Device;
50
43
  //# sourceMappingURL=viatom.pc100.device.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_btManagedDevice","require","_viatomPc100Protocol","_viatomPc100Sequencer","acceptNothing","caseValuePosition","cases","pc100MainServices","exports","uuid","PC100_SERVICE","monitorUuids","PC100_NOTIFY","parsingModel","writeUuid","PC100_WRITE","mainCommandUuid","Pc100Device","BTManagedDevice","mainServices","stuckDataTimeout","onStreamStart","undefined","preferredMtu","constructor","device","params","frameReader","Pc100FrameReader","createCommandSequencer","Pc100Sequencer","write","serviceUuid","characteristicUuid","onResult","result","handleSuccessResult"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.pc100.device.ts"],"mappings":";;;;;;AASA,IAAAA,gBAAA,GAAAC,OAAA;AAEA,IAAAC,oBAAA,GAAAD,OAAA;AAMA,IAAAE,qBAAA,GAAAF,OAAA;AAjBA;;AAmBA,MAAMG,aAAa,GAAG;EAAEC,iBAAiB,EAAE,EAAE;EAAEC,KAAK,EAAE;AAAG,CAAC;AAEnD,MAAMC,iBAA6B,GAAAC,OAAA,CAAAD,iBAAA,GAAG,CAC3C;EACEE,IAAI,EAAEC,kCAAa;EACnBC,YAAY,EAAE,CAAC;IAAEF,IAAI,EAAEG,iCAAY;IAAEC,YAAY,EAAET;EAAc,CAAC,CAAC;EACnEU,SAAS,EAAE;IACTL,IAAI,EAAEM,gCAAW;IACjBC,eAAe,EAAE;EACnB;AACF,CAAC,CACF;;AAED;AACO,MAAMC,WAAW,SAASC,gCAAe,CAA0B;EAC9DC,YAAY,GAAGZ,iBAAiB;EAChCa,gBAAgB,GAAG,MAAM;EACzBC,aAAa,GAAGC,SAAS;EAChBC,YAAY,GAAG,GAAG;EAE9BC,WAAWA,CAChBC,MAAc,EACdC,MAAmD,EACnD;IACA,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IACrB,IAAI,CAACC,WAAW,GAAG,IAAIC,qCAAgB,CAAC,CAAC;IACzC,IAAI,CAACC,sBAAsB,GAAG,MAC5B,IAAIC,oCAAc,CAAC;MACjBC,KAAK,EAAE;QACLC,WAAW,EAAEtB,kCAAa;QAC1BuB,kBAAkB,EAAElB;MACtB,CAAC;MACDmB,QAAQ,EAAGC,MAAM,IACf,IAAI,CAACD,QAAQ,GACXC,MAGF;IACJ,CAAC,CAAC;EACN;EAEUC,mBAAmBA,CAAA,EAAS;IACpC;EACF;AACF;AAAC5B,OAAA,CAAAS,WAAA,GAAAA,WAAA","ignoreList":[]}
1
+ {"version":3,"names":["_noParsingCases","require","_btManagedDevice","_viatomPc100Protocol","_viatomPc100Sequencer","pc100MainServices","exports","uuid","PC100_SERVICE","monitorUuids","PC100_NOTIFY","parsingModel","NO_PARSING_CASES","writeUuid","PC100_WRITE","mainCommandUuid","Pc100Device","BTManagedDevice","mainServices","stuckDataTimeout","preferredMtu","constructor","device","params","frameReader","Pc100FrameReader","createCommandSequencer","Pc100Sequencer","write","serviceUuid","characteristicUuid","onResult","result"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.pc100.device.ts"],"mappings":";;;;;;AAIA,IAAAA,eAAA,GAAAC,OAAA;AAMA,IAAAC,gBAAA,GAAAD,OAAA;AAEA,IAAAE,oBAAA,GAAAF,OAAA;AAMA,IAAAG,qBAAA,GAAAH,OAAA;AAlBA;;AAoBO,MAAMI,iBAA6B,GAAAC,OAAA,CAAAD,iBAAA,GAAG,CAC3C;EACEE,IAAI,EAAEC,kCAAa;EACnBC,YAAY,EAAE,CAAC;IAAEF,IAAI,EAAEG,iCAAY;IAAEC,YAAY,EAAEC;EAAiB,CAAC,CAAC;EACtEC,SAAS,EAAE;IACTN,IAAI,EAAEO,gCAAW;IACjBC,eAAe,EAAE;EACnB;AACF,CAAC,CACF;;AAED;AACO,MAAMC,WAAW,SAASC,gCAAe,CAA0B;EAC9DC,YAAY,GAAGb,iBAAiB;EAChCc,gBAAgB,GAAG,MAAM;EAChBC,YAAY,GAAG,GAAG;EAE9BC,WAAWA,CAChBC,MAAc,EACdC,MAAmD,EACnD;IACA,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IACrB,IAAI,CAACC,WAAW,GAAG,IAAIC,qCAAgB,CAAC,CAAC;IACzC,IAAI,CAACC,sBAAsB,GAAG,MAC5B,IAAIC,oCAAc,CAAC;MACjBC,KAAK,EAAE;QACLC,WAAW,EAAErB,kCAAa;QAC1BsB,kBAAkB,EAAEhB;MACtB,CAAC;MACDiB,QAAQ,EAAGC,MAAM,IACf,IAAI,CAACD,QAAQ,GACXC,MAGF;IACJ,CAAC,CAAC;EACN;AAEF;AAAC1B,OAAA,CAAAU,WAAA,GAAAA,WAAA","ignoreList":[]}
@@ -4,20 +4,17 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.pc300MainServices = exports.Pc300Device = void 0;
7
+ var _noParsingCases = require("../../../constants/no-parsing-cases.js");
7
8
  var _btManagedDevice = require("../bt-managed-device.js");
8
9
  var _viatomPc300Protocol = require("./viatom.pc300.protocol.js");
9
10
  var _viatomPc300Sequencer = require("./viatom.pc300.sequencer.js");
10
11
  /* eslint-disable import/group-exports */
11
12
 
12
- const acceptNothing = {
13
- caseValuePosition: [],
14
- cases: []
15
- };
16
13
  const pc300MainServices = exports.pc300MainServices = [{
17
14
  uuid: _viatomPc300Protocol.PC300_SERVICE,
18
15
  monitorUuids: [{
19
16
  uuid: _viatomPc300Protocol.PC300_NOTIFY,
20
- parsingModel: acceptNothing
17
+ parsingModel: _noParsingCases.NO_PARSING_CASES
21
18
  }],
22
19
  writeUuid: {
23
20
  uuid: _viatomPc300Protocol.PC300_WRITE,
@@ -29,7 +26,6 @@ const pc300MainServices = exports.pc300MainServices = [{
29
26
  class Pc300Device extends _btManagedDevice.BTManagedDevice {
30
27
  mainServices = pc300MainServices;
31
28
  stuckDataTimeout = 60_000;
32
- onStreamStart = undefined;
33
29
  preferredMtu = 247;
34
30
  constructor(device, params) {
35
31
  super(device, params);
@@ -42,9 +38,6 @@ class Pc300Device extends _btManagedDevice.BTManagedDevice {
42
38
  onResult: result => this.onResult?.(result)
43
39
  });
44
40
  }
45
- handleSuccessResult() {
46
- return;
47
- }
48
41
  }
49
42
  exports.Pc300Device = Pc300Device;
50
43
  //# sourceMappingURL=viatom.pc300.device.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_btManagedDevice","require","_viatomPc300Protocol","_viatomPc300Sequencer","acceptNothing","caseValuePosition","cases","pc300MainServices","exports","uuid","PC300_SERVICE","monitorUuids","PC300_NOTIFY","parsingModel","writeUuid","PC300_WRITE","mainCommandUuid","Pc300Device","BTManagedDevice","mainServices","stuckDataTimeout","onStreamStart","undefined","preferredMtu","constructor","device","params","frameReader","Pc300FrameReader","createCommandSequencer","Pc300Sequencer","write","serviceUuid","characteristicUuid","onResult","result","handleSuccessResult"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.pc300.device.ts"],"mappings":";;;;;;AASA,IAAAA,gBAAA,GAAAC,OAAA;AAEA,IAAAC,oBAAA,GAAAD,OAAA;AAMA,IAAAE,qBAAA,GAAAF,OAAA;AAjBA;;AAmBA,MAAMG,aAAa,GAAG;EAAEC,iBAAiB,EAAE,EAAE;EAAEC,KAAK,EAAE;AAAG,CAAC;AAEnD,MAAMC,iBAA6B,GAAAC,OAAA,CAAAD,iBAAA,GAAG,CAC3C;EACEE,IAAI,EAAEC,kCAAa;EACnBC,YAAY,EAAE,CAAC;IAAEF,IAAI,EAAEG,iCAAY;IAAEC,YAAY,EAAET;EAAc,CAAC,CAAC;EACnEU,SAAS,EAAE;IACTL,IAAI,EAAEM,gCAAW;IACjBC,eAAe,EAAE;EACnB;AACF,CAAC,CACF;;AAED;AACO,MAAMC,WAAW,SAASC,gCAAe,CAA0B;EAC9DC,YAAY,GAAGZ,iBAAiB;EAChCa,gBAAgB,GAAG,MAAM;EACzBC,aAAa,GAAGC,SAAS;EAChBC,YAAY,GAAG,GAAG;EAE9BC,WAAWA,CAChBC,MAAc,EACdC,MAAmD,EACnD;IACA,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IACrB,IAAI,CAACC,WAAW,GAAG,IAAIC,qCAAgB,CAAC,CAAC;IACzC,IAAI,CAACC,sBAAsB,GAAG,MAC5B,IAAIC,oCAAc,CAAC;MACjBC,KAAK,EAAE;QACLC,WAAW,EAAEtB,kCAAa;QAC1BuB,kBAAkB,EAAElB;MACtB,CAAC;MACDmB,QAAQ,EAAGC,MAAM,IACf,IAAI,CAACD,QAAQ,GACXC,MAGF;IACJ,CAAC,CAAC;EACN;EAEUC,mBAAmBA,CAAA,EAAS;IACpC;EACF;AACF;AAAC5B,OAAA,CAAAS,WAAA,GAAAA,WAAA","ignoreList":[]}
1
+ {"version":3,"names":["_noParsingCases","require","_btManagedDevice","_viatomPc300Protocol","_viatomPc300Sequencer","pc300MainServices","exports","uuid","PC300_SERVICE","monitorUuids","PC300_NOTIFY","parsingModel","NO_PARSING_CASES","writeUuid","PC300_WRITE","mainCommandUuid","Pc300Device","BTManagedDevice","mainServices","stuckDataTimeout","preferredMtu","constructor","device","params","frameReader","Pc300FrameReader","createCommandSequencer","Pc300Sequencer","write","serviceUuid","characteristicUuid","onResult","result"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.pc300.device.ts"],"mappings":";;;;;;AAIA,IAAAA,eAAA,GAAAC,OAAA;AAMA,IAAAC,gBAAA,GAAAD,OAAA;AAEA,IAAAE,oBAAA,GAAAF,OAAA;AAMA,IAAAG,qBAAA,GAAAH,OAAA;AAlBA;;AAoBO,MAAMI,iBAA6B,GAAAC,OAAA,CAAAD,iBAAA,GAAG,CAC3C;EACEE,IAAI,EAAEC,kCAAa;EACnBC,YAAY,EAAE,CAAC;IAAEF,IAAI,EAAEG,iCAAY;IAAEC,YAAY,EAAEC;EAAiB,CAAC,CAAC;EACtEC,SAAS,EAAE;IACTN,IAAI,EAAEO,gCAAW;IACjBC,eAAe,EAAE;EACnB;AACF,CAAC,CACF;;AAED;AACO,MAAMC,WAAW,SAASC,gCAAe,CAA0B;EAC9DC,YAAY,GAAGb,iBAAiB;EAChCc,gBAAgB,GAAG,MAAM;EAChBC,YAAY,GAAG,GAAG;EAE9BC,WAAWA,CAChBC,MAAc,EACdC,MAAmD,EACnD;IACA,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IACrB,IAAI,CAACC,WAAW,GAAG,IAAIC,qCAAgB,CAAC,CAAC;IACzC,IAAI,CAACC,sBAAsB,GAAG,MAC5B,IAAIC,oCAAc,CAAC;MACjBC,KAAK,EAAE;QACLC,WAAW,EAAErB,kCAAa;QAC1BsB,kBAAkB,EAAEhB;MACtB,CAAC;MACDiB,QAAQ,EAAGC,MAAM,IACf,IAAI,CAACD,QAAQ,GACXC,MAGF;IACJ,CAAC,CAAC;EACN;AAEF;AAAC1B,OAAA,CAAAU,WAAA,GAAAA,WAAA","ignoreList":[]}
@@ -7,17 +7,14 @@ exports.pm10MainServices = exports.Pm10Device = void 0;
7
7
  var _btManagedDevice = require("../bt-managed-device.js");
8
8
  var _viatomPm10Protocol = require("./viatom.pm10.protocol.js");
9
9
  var _viatomPm10Sequencer = require("./viatom.pm10.sequencer.js");
10
- /* eslint-disable import/group-exports, import/order, padding-line-between-statements */
10
+ var _noParsingCases = require("../../../constants/no-parsing-cases.js");
11
+ /* eslint-disable import/group-exports, import/order */
11
12
 
12
- const acceptEverything = {
13
- caseValuePosition: [],
14
- cases: []
15
- };
16
13
  const pm10MainServices = exports.pm10MainServices = [{
17
14
  uuid: _viatomPm10Protocol.PM10_SERVICE,
18
15
  monitorUuids: [{
19
16
  uuid: _viatomPm10Protocol.PM10_NOTIFY,
20
- parsingModel: acceptEverything
17
+ parsingModel: _noParsingCases.NO_PARSING_CASES
21
18
  }],
22
19
  writeUuid: {
23
20
  uuid: _viatomPm10Protocol.PM10_WRITE,
@@ -27,7 +24,6 @@ const pm10MainServices = exports.pm10MainServices = [{
27
24
  class Pm10Device extends _btManagedDevice.BTManagedDevice {
28
25
  mainServices = pm10MainServices;
29
26
  stuckDataTimeout = 120_000;
30
- onStreamStart = undefined;
31
27
  preferredMtu = 247;
32
28
  constructor(device, params) {
33
29
  super(device, params);
@@ -40,9 +36,6 @@ class Pm10Device extends _btManagedDevice.BTManagedDevice {
40
36
  onResult: result => this.onResult?.(result)
41
37
  });
42
38
  }
43
- handleSuccessResult() {
44
- return;
45
- }
46
39
  }
47
40
  exports.Pm10Device = Pm10Device;
48
41
  //# sourceMappingURL=viatom.pm10.device.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_btManagedDevice","require","_viatomPm10Protocol","_viatomPm10Sequencer","acceptEverything","caseValuePosition","cases","pm10MainServices","exports","uuid","PM10_SERVICE","monitorUuids","PM10_NOTIFY","parsingModel","writeUuid","PM10_WRITE","mainCommandUuid","Pm10Device","BTManagedDevice","mainServices","stuckDataTimeout","onStreamStart","undefined","preferredMtu","constructor","device","params","frameReader","Pm10FrameReader","createCommandSequencer","Pm10Sequencer","write","serviceUuid","characteristicUuid","onResult","result","handleSuccessResult"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.pm10.device.ts"],"mappings":";;;;;;AAQA,IAAAA,gBAAA,GAAAC,OAAA;AACA,IAAAC,mBAAA,GAAAD,OAAA;AACA,IAAAE,oBAAA,GAAAF,OAAA;AAVA;;AAYA,MAAMG,gBAAgB,GAAG;EAAEC,iBAAiB,EAAE,EAAE;EAAEC,KAAK,EAAE;AAAG,CAAC;AACtD,MAAMC,gBAA4B,GAAAC,OAAA,CAAAD,gBAAA,GAAG,CAAC;EAAEE,IAAI,EAAEC,gCAAY;EAAEC,YAAY,EAAE,CAAC;IAAEF,IAAI,EAAEG,+BAAW;IAAEC,YAAY,EAAET;EAAiB,CAAC,CAAC;EAAEU,SAAS,EAAE;IAAEL,IAAI,EAAEM,8BAAU;IAAEC,eAAe,EAAE;EAAK;AAAE,CAAC,CAAC;AAC5L,MAAMC,UAAU,SAASC,gCAAe,CAAyB;EAC5DC,YAAY,GAAGZ,gBAAgB;EAC/Ba,gBAAgB,GAAG,OAAO;EAC1BC,aAAa,GAAGC,SAAS;EAChBC,YAAY,GAAG,GAAG;EAC9BC,WAAWA,CAACC,MAAc,EAAEC,MAAkD,EAAE;IACrF,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IACrB,IAAI,CAACC,WAAW,GAAG,IAAIC,mCAAe,CAAC,CAAC;IACxC,IAAI,CAACC,sBAAsB,GAAG,MAAM,IAAIC,kCAAa,CAAC;MAAEC,KAAK,EAAE;QAAEC,WAAW,EAAEtB,gCAAY;QAAEuB,kBAAkB,EAAElB;MAAW,CAAC;MAAEmB,QAAQ,EAAGC,MAAM,IAAK,IAAI,CAACD,QAAQ,GAAGC,MAAuF;IAAE,CAAC,CAAC;EACjQ;EACUC,mBAAmBA,CAAA,EAAS;IAAE;EAAQ;AAClD;AAAC5B,OAAA,CAAAS,UAAA,GAAAA,UAAA","ignoreList":[]}
1
+ {"version":3,"names":["_btManagedDevice","require","_viatomPm10Protocol","_viatomPm10Sequencer","_noParsingCases","pm10MainServices","exports","uuid","PM10_SERVICE","monitorUuids","PM10_NOTIFY","parsingModel","NO_PARSING_CASES","writeUuid","PM10_WRITE","mainCommandUuid","Pm10Device","BTManagedDevice","mainServices","stuckDataTimeout","preferredMtu","constructor","device","params","frameReader","Pm10FrameReader","createCommandSequencer","Pm10Sequencer","write","serviceUuid","characteristicUuid","onResult","result"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.pm10.device.ts"],"mappings":";;;;;;AAQA,IAAAA,gBAAA,GAAAC,OAAA;AACA,IAAAC,mBAAA,GAAAD,OAAA;AACA,IAAAE,oBAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAH,OAAA;AAXA;;AAaO,MAAMI,gBAA4B,GAAAC,OAAA,CAAAD,gBAAA,GAAG,CAAC;EAAEE,IAAI,EAAEC,gCAAY;EAAEC,YAAY,EAAE,CAAC;IAAEF,IAAI,EAAEG,+BAAW;IAAEC,YAAY,EAAEC;EAAiB,CAAC,CAAC;EAAEC,SAAS,EAAE;IAAEN,IAAI,EAAEO,8BAAU;IAAEC,eAAe,EAAE;EAAK;AAAE,CAAC,CAAC;AAC5L,MAAMC,UAAU,SAASC,gCAAe,CAAyB;EAC5DC,YAAY,GAAGb,gBAAgB;EAC/Bc,gBAAgB,GAAG,OAAO;EACjBC,YAAY,GAAG,GAAG;EAC9BC,WAAWA,CAACC,MAAc,EAAEC,MAAkD,EAAE;IACrF,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IACrB,IAAI,CAACC,WAAW,GAAG,IAAIC,mCAAe,CAAC,CAAC;IACxC,IAAI,CAACC,sBAAsB,GAAG,MAAM,IAAIC,kCAAa,CAAC;MAAEC,KAAK,EAAE;QAAEC,WAAW,EAAErB,gCAAY;QAAEsB,kBAAkB,EAAEhB;MAAW,CAAC;MAAEiB,QAAQ,EAAGC,MAAM,IAAK,IAAI,CAACD,QAAQ,GAAGC,MAAuF;IAAE,CAAC,CAAC;EACjQ;AACF;AAAC1B,OAAA,CAAAU,UAAA,GAAAA,UAAA","ignoreList":[]}
@@ -7,17 +7,14 @@ exports.wbp02MainServices = exports.Wbp02Device = void 0;
7
7
  var _btManagedDevice = require("../bt-managed-device.js");
8
8
  var _viatomWbp02Protocol = require("./viatom.wbp02.protocol.js");
9
9
  var _viatomWbp02Sequencer = require("./viatom.wbp02.sequencer.js");
10
- /* eslint-disable import/group-exports, import/order, padding-line-between-statements */
10
+ var _noParsingCases = require("../../../constants/no-parsing-cases.js");
11
+ /* eslint-disable import/group-exports, import/order */
11
12
 
12
- const acceptEverything = {
13
- caseValuePosition: [],
14
- cases: []
15
- };
16
13
  const wbp02MainServices = exports.wbp02MainServices = [{
17
14
  uuid: _viatomWbp02Protocol.WBP02_DATA_SERVICE,
18
15
  monitorUuids: [{
19
16
  uuid: _viatomWbp02Protocol.WBP02_NOTIFY,
20
- parsingModel: acceptEverything
17
+ parsingModel: _noParsingCases.NO_PARSING_CASES
21
18
  }]
22
19
  }, {
23
20
  uuid: _viatomWbp02Protocol.WBP02_CONTROL_SERVICE,
@@ -30,7 +27,6 @@ const wbp02MainServices = exports.wbp02MainServices = [{
30
27
  class Wbp02Device extends _btManagedDevice.BTManagedDevice {
31
28
  mainServices = wbp02MainServices;
32
29
  stuckDataTimeout = 120_000;
33
- onStreamStart = undefined;
34
30
  constructor(device, params) {
35
31
  super(device, params);
36
32
  this.frameReader = new _viatomWbp02Protocol.Wbp02FrameReader();
@@ -42,9 +38,6 @@ class Wbp02Device extends _btManagedDevice.BTManagedDevice {
42
38
  onResult: result => this.onResult?.(result)
43
39
  });
44
40
  }
45
- handleSuccessResult() {
46
- return;
47
- }
48
41
  }
49
42
  exports.Wbp02Device = Wbp02Device;
50
43
  //# sourceMappingURL=viatom.wbp02.device.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_btManagedDevice","require","_viatomWbp02Protocol","_viatomWbp02Sequencer","acceptEverything","caseValuePosition","cases","wbp02MainServices","exports","uuid","WBP02_DATA_SERVICE","monitorUuids","WBP02_NOTIFY","parsingModel","WBP02_CONTROL_SERVICE","writeUuid","WBP02_WRITE","mainCommandUuid","Wbp02Device","BTManagedDevice","mainServices","stuckDataTimeout","onStreamStart","undefined","constructor","device","params","frameReader","Wbp02FrameReader","createCommandSequencer","Wbp02Sequencer","write","serviceUuid","characteristicUuid","onResult","result","handleSuccessResult"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.wbp02.device.ts"],"mappings":";;;;;;AAQA,IAAAA,gBAAA,GAAAC,OAAA;AACA,IAAAC,oBAAA,GAAAD,OAAA;AACA,IAAAE,qBAAA,GAAAF,OAAA;AAVA;;AAYA,MAAMG,gBAAgB,GAAG;EAAEC,iBAAiB,EAAE,EAAE;EAAEC,KAAK,EAAE;AAAG,CAAC;AACtD,MAAMC,iBAA6B,GAAAC,OAAA,CAAAD,iBAAA,GAAG,CAC3C;EAAEE,IAAI,EAAEC,uCAAkB;EAAEC,YAAY,EAAE,CAAC;IAAEF,IAAI,EAAEG,iCAAY;IAAEC,YAAY,EAAET;EAAiB,CAAC;AAAE,CAAC,EACpG;EAAEK,IAAI,EAAEK,0CAAqB;EAAEH,YAAY,EAAE,EAAE;EAAEI,SAAS,EAAE;IAAEN,IAAI,EAAEO,gCAAW;IAAEC,eAAe,EAAE;EAAK;AAAE,CAAC,CAC3G;AAEM,MAAMC,WAAW,SAASC,gCAAe,CAA2B;EAC/DC,YAAY,GAAGb,iBAAiB;EAChCc,gBAAgB,GAAG,OAAO;EAC1BC,aAAa,GAAGC,SAAS;EAC5BC,WAAWA,CAACC,MAAc,EAAEC,MAAoD,EAAE;IACvF,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IACrB,IAAI,CAACC,WAAW,GAAG,IAAIC,qCAAgB,CAAC,CAAC;IACzC,IAAI,CAACC,sBAAsB,GAAG,MAAM,IAAIC,oCAAc,CAAC;MAAEC,KAAK,EAAE;QAAEC,WAAW,EAAElB,0CAAqB;QAAEmB,kBAAkB,EAAEjB;MAAY,CAAC;MAAEkB,QAAQ,EAAGC,MAAM,IAAK,IAAI,CAACD,QAAQ,GAAGC,MAAyF;IAAE,CAAC,CAAC;EAC9Q;EACUC,mBAAmBA,CAAA,EAAS;IAAE;EAAQ;AAClD;AAAC5B,OAAA,CAAAU,WAAA,GAAAA,WAAA","ignoreList":[]}
1
+ {"version":3,"names":["_btManagedDevice","require","_viatomWbp02Protocol","_viatomWbp02Sequencer","_noParsingCases","wbp02MainServices","exports","uuid","WBP02_DATA_SERVICE","monitorUuids","WBP02_NOTIFY","parsingModel","NO_PARSING_CASES","WBP02_CONTROL_SERVICE","writeUuid","WBP02_WRITE","mainCommandUuid","Wbp02Device","BTManagedDevice","mainServices","stuckDataTimeout","constructor","device","params","frameReader","Wbp02FrameReader","createCommandSequencer","Wbp02Sequencer","write","serviceUuid","characteristicUuid","onResult","result"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.wbp02.device.ts"],"mappings":";;;;;;AAQA,IAAAA,gBAAA,GAAAC,OAAA;AACA,IAAAC,oBAAA,GAAAD,OAAA;AACA,IAAAE,qBAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAH,OAAA;AAXA;;AAaO,MAAMI,iBAA6B,GAAAC,OAAA,CAAAD,iBAAA,GAAG,CAC3C;EAAEE,IAAI,EAAEC,uCAAkB;EAAEC,YAAY,EAAE,CAAC;IAAEF,IAAI,EAAEG,iCAAY;IAAEC,YAAY,EAAEC;EAAiB,CAAC;AAAE,CAAC,EACpG;EAAEL,IAAI,EAAEM,0CAAqB;EAAEJ,YAAY,EAAE,EAAE;EAAEK,SAAS,EAAE;IAAEP,IAAI,EAAEQ,gCAAW;IAAEC,eAAe,EAAE;EAAK;AAAE,CAAC,CAC3G;AAEM,MAAMC,WAAW,SAASC,gCAAe,CAA2B;EAC/DC,YAAY,GAAGd,iBAAiB;EAChCe,gBAAgB,GAAG,OAAO;EAC7BC,WAAWA,CAACC,MAAc,EAAEC,MAAoD,EAAE;IACvF,KAAK,CAACD,MAAM,EAAEC,MAAM,CAAC;IACrB,IAAI,CAACC,WAAW,GAAG,IAAIC,qCAAgB,CAAC,CAAC;IACzC,IAAI,CAACC,sBAAsB,GAAG,MAAM,IAAIC,oCAAc,CAAC;MAAEC,KAAK,EAAE;QAAEC,WAAW,EAAEhB,0CAAqB;QAAEiB,kBAAkB,EAAEf;MAAY,CAAC;MAAEgB,QAAQ,EAAGC,MAAM,IAAK,IAAI,CAACD,QAAQ,GAAGC,MAAyF;IAAE,CAAC,CAAC;EAC9Q;AACF;AAAC1B,OAAA,CAAAW,WAAA,GAAAA,WAAA","ignoreList":[]}
@@ -4,21 +4,18 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.YonkerDevice = void 0;
7
+ var _noParsingCases = require("../../../constants/no-parsing-cases.js");
7
8
  var _integratedDevices = require("../../../types/integrated-devices.js");
8
9
  var _btManagedDevice = require("../bt-managed-device.js");
9
10
  var _liveOximeterSequencer = require("../live-oximeter.sequencer.js");
10
11
  var _yonkerProtocol = require("./yonker.protocol.js");
11
12
  var _yonkerSequencer = require("./yonker.sequencer.js");
12
- const passThrough = {
13
- caseValuePosition: [],
14
- cases: []
15
- };
16
13
  const service = (uuid, notify, optional = false) => ({
17
14
  uuid,
18
15
  optional,
19
16
  monitorUuids: notify.map(monitor => ({
20
17
  uuid: monitor,
21
- parsingModel: passThrough
18
+ parsingModel: _noParsingCases.NO_PARSING_CASES
22
19
  }))
23
20
  });
24
21
 
@@ -68,7 +65,6 @@ const SEQUENCERS = {
68
65
  */
69
66
  class YonkerDeviceClass extends _btManagedDevice.BTManagedDevice {
70
67
  stuckDataTimeout = 120_000;
71
- onStreamStart = undefined;
72
68
  constructor(device, params) {
73
69
  super(device, params);
74
70
  this.mainServices = SERVICES[params.deviceName];
@@ -82,9 +78,6 @@ class YonkerDeviceClass extends _btManagedDevice.BTManagedDevice {
82
78
 
83
79
  /** The oximeter, monitor and thermometer send one frame per notification. */
84
80
  validatePackage = () => true;
85
- handleSuccessResult() {
86
- return;
87
- }
88
81
  }
89
82
  exports.YonkerDevice = YonkerDeviceClass;
90
83
  //# sourceMappingURL=yonker.device.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_integratedDevices","require","_btManagedDevice","_liveOximeterSequencer","_yonkerProtocol","_yonkerSequencer","passThrough","caseValuePosition","cases","service","uuid","notify","optional","monitorUuids","map","monitor","parsingModel","YONKER_SERVICES","YONKER_GATT","notifyAlternate","uartService","uartNotify","SERVICES","IntegratedDevices","YONKER_OXIMETER","YONKER_BPM","YONKER_THERMOMETER","YONKER_SCALE","AILINK_GATT","YONKER_80B","Yonker80bSequencer","LiveOximeterSequencer","initialCommands","serviceUuid","characteristicUuid","writeShort","frame","FIRMWARE_REQUEST","SEQUENCERS","onResult","readValues","readOximeterData","AOJ_VALUES","YonkerSequencer","kind","YonkerScaleSequencer","read80bMeasurement","YonkerDeviceClass","BTManagedDevice","stuckDataTimeout","onStreamStart","undefined","constructor","device","params","mainServices","deviceName","frameReader","AilinkFrameReader","createCommandSequencer","result","validatePackage","handleSuccessResult","exports","YonkerDevice"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/yonker/yonker.device.ts"],"mappings":";;;;;;AAKA,IAAAA,kBAAA,GAAAC,OAAA;AAGA,IAAAC,gBAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAF,OAAA;AAEA,IAAAG,eAAA,GAAAH,OAAA;AAOA,IAAAI,gBAAA,GAAAJ,OAAA;AAWA,MAAMK,WAAW,GAAG;EAAEC,iBAAiB,EAAE,EAAE;EAAEC,KAAK,EAAE;AAAG,CAAC;AAExD,MAAMC,OAAO,GAAGA,CAACC,IAAY,EAAEC,MAAyB,EAAEC,QAAQ,GAAG,KAAK,MAAgB;EACxFF,IAAI;EACJE,QAAQ;EACRC,YAAY,EAAEF,MAAM,CAACG,GAAG,CAAEC,OAAO,KAAM;IAAEL,IAAI,EAAEK,OAAO;IAAEC,YAAY,EAAEV;EAAY,CAAC,CAAC;AACtF,CAAC,CAAC;;AAEF;AACA,MAAMW,eAA2B,GAAG,CAClCR,OAAO,CAACS,2BAAW,CAACT,OAAO,EAAE,CAACS,2BAAW,CAACP,MAAM,EAAEO,2BAAW,CAACC,eAAe,CAAC,EAAE,IAAI,CAAC,EACrFV,OAAO,CAACS,2BAAW,CAACE,WAAW,EAAE,CAACF,2BAAW,CAACG,UAAU,CAAC,EAAE,IAAI,CAAC,CACjE;AAED,MAAMC,QAA0C,GAAG;EACjD,CAACC,oCAAiB,CAACC,eAAe,GAAGP,eAAe;EACpD,CAACM,oCAAiB,CAACE,UAAU,GAAGR,eAAe;EAC/C,CAACM,oCAAiB,CAACG,kBAAkB,GAAGT,eAAe;EACvD,CAACM,oCAAiB,CAACI,YAAY,GAAG,CAAClB,OAAO,CAACmB,2BAAW,CAACnB,OAAO,EAAE,CAACmB,2BAAW,CAACjB,MAAM,CAAC,CAAC,CAAC;EACtF,CAACY,oCAAi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AM,EAAEC,MAAM,CAAC;IACrB,IAAI,CAACC,YAAY,GAAGjC,QAAQ,CAACgC,MAAM,CAACE,UAAU,CAAC;IAE/C,IAAIF,MAAM,CAACE,UAAU,KAAKjC,oCAAiB,CAACI,YAAY,EAAE;MACxD,IAAI,CAAC8B,WAAW,GAAG,IAAIC,iCAAiB,CAAC,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC,MAAM,IAAIJ,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":[]}
1
+ {"version":3,"names":["_noParsingCases","require","_integratedDevices","_btManagedDevice","_liveOximeterSequencer","_yonkerProtocol","_yonkerSequencer","service","uuid","notify","optional","monitorUuids","map","monitor","parsingModel","NO_PARSING_CASES","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","constructor","device","params","mainServices","deviceName","frameReader","AilinkFrameReader","createCommandSequencer","result","validatePackage","exports","YonkerDevice"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/yonker/yonker.device.ts"],"mappings":";;;;;;AAEA,IAAAA,eAAA,GAAAC,OAAA;AAIA,IAAAC,kBAAA,GAAAD,OAAA;AAGA,IAAAE,gBAAA,GAAAF,OAAA;AACA,IAAAG,sBAAA,GAAAH,OAAA;AAEA,IAAAI,eAAA,GAAAJ,OAAA;AAOA,IAAAK,gBAAA,GAAAL,OAAA;AAWA,MAAMM,OAAO,GAAGA,CAACC,IAAY,EAAEC,MAAyB,EAAEC,QAAQ,GAAG,KAAK,MAAgB;EACxFF,IAAI;EACJE,QAAQ;EACRC,YAAY,EAAEF,MAAM,CAACG,GAAG,CAAEC,OAAO,KAAM;IAAEL,IAAI,EAAEK,OAAO;IAAEC,YAAY,EAAEC;EAAiB,CAAC,CAAC;AAC3F,CAAC,CAAC;;AAEF;AACA,MAAMC,eAA2B,GAAG,CAClCT,OAAO,CAACU,2BAAW,CAACV,OAAO,EAAE,CAACU,2BAAW,CAACR,MAAM,EAAEQ,2BAAW,CAACC,eAAe,CAAC,EAAE,IAAI,CAAC,EACrFX,OAAO,CAACU,2BAAW,CAACE,WAAW,EAAE,CAACF,2BAAW,CAACG,UAAU,CAAC,EAAE,IAAI,CAAC,CACjE;AAED,MAAMC,QAA0C,GAAG;EACjD,CAACC,oCAAiB,CAACC,eAAe,GAAGP,eAAe;EACpD,CAACM,oCAAiB,CAACE,UAAU,GAAGR,eAAe;EAC/C,CAACM,oCAAiB,CAACG,kBAAkB,GAAGT,eAAe;EACvD,CAACM,oCAAiB,CAACI,YAAY,GAAG,CAACnB,OAAO,CAACoB,2BAAW,CAACpB,OAAO,EAAE,CAACoB,2BAAW,CAAClB,MAAM,CAAC,CAAC,CAAC;EACtF,CAACa,oCAAiB,CAACM,UAAU,GAAG,CAACrB,OAAO,CAACoB,2BAAW,CAACpB,OAAO,EAAE,CAACoB,2BAAW,CAAClB,MAAM,CAAC,CAAC;AACrF,CA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,CAACI,YAAY,EAAE;MACxD,IAAI,CAAC4B,WAAW,GAAG,IAAIC,iCAAiB,CAAC,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC,MAAM,IAAIJ,MAAM,CAACE,UAAU,KAAK/B,oCAAiB,CAACM,UAAU,EAAE;MAC7D,IAAI,CAAC0B,WAAW,GAAG,IAAIC,iCAAiB,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACxD;IAEA,IAAI,CAACC,sBAAsB,GAAG,MAC5BnB,UAAU,CAACc,MAAM,CAACE,UAAU,CAAC,CAAEI,MAAM,IACnC,IAAI,CAACnB,QAAQ,GACXmB,MACF,CACF,CAAC;EACL;;EAEA;EACUC,eAAe,GAAGA,CAAA,KAAe,IAAI;AAEjD;AAACC,OAAA,CAAAC,YAAA,GAAAd,iBAAA","ignoreList":[]}
@@ -5,7 +5,10 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
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
7
  var _frameReadStatus = require("../../../types/frame-read-status.js");
8
+ var _bytesToHex = require("../../../utils/bytes-to-hex.js");
9
+ var _frameBytes = require("../../../utils/frame-bytes.js");
8
10
  var _hexToByte = require("../../../utils/hex-to-byte.js");
11
+ var _sigUuid = require("../../../utils/sig-uuid.js");
9
12
  /* eslint-disable import/group-exports */
10
13
 
11
14
  /**
@@ -16,7 +19,6 @@ var _hexToByte = require("../../../utils/hex-to-byte.js");
16
19
  * checksum. The scale (an AiLink module, MedM's `CConmo_WeightScale`) and the YK-80B oximeter
17
20
  * frame everything as `A6|A7 xx xx LL CMD body CS 7A`.
18
21
  */
19
- const sig16 = assigned => `0000${assigned}-0000-1000-8000-00805f9b34fb`;
20
22
  const YONKER_GATT = exports.YONKER_GATT = {
21
23
  service: "cdeacd80-5235-4c07-8846-93a37ee6b86d",
22
24
  notify: "cdeacd81-5235-4c07-8846-93a37ee6b86d",
@@ -25,23 +27,21 @@ const YONKER_GATT = exports.YONKER_GATT = {
25
27
  uartService: "6e400001-b5a3-f393-e0a9-e50e24dcca9e",
26
28
  uartNotify: "6e400002-b5a3-f393-e0a9-e50e24dcca9e",
27
29
  /** Where the blood-pressure monitor takes its clock. */
28
- timeService: sig16("1804"),
29
- timeWrite: sig16("2a07")
30
+ timeService: (0, _sigUuid.sigUuid)("1804"),
31
+ timeWrite: (0, _sigUuid.sigUuid)("2a07")
30
32
  };
31
33
 
32
34
  /** The scale and the YK-80B: notify on `ffe2`, long frames to `ffe1`, short ones to `ffe3`. */
33
35
  const AILINK_GATT = exports.AILINK_GATT = {
34
- service: sig16("ffe0"),
35
- writeLong: sig16("ffe1"),
36
- notify: sig16("ffe2"),
37
- writeShort: sig16("ffe3")
36
+ service: (0, _sigUuid.sigUuid)("ffe0"),
37
+ writeLong: (0, _sigUuid.sigUuid)("ffe1"),
38
+ notify: (0, _sigUuid.sigUuid)("ffe2"),
39
+ writeShort: (0, _sigUuid.sigUuid)("ffe3")
38
40
  };
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
41
  const sum = values => values.reduce((total, value) => total + value, 0) & 0xff;
42
42
 
43
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)]);
44
+ const bpmSetTimeCommand = now => (0, _bytesToHex.bytesToHex)([0x8f, now.getFullYear() - 2000, now.getMonth() + 1, now.getDate(), now.getHours(), now.getMinutes(), ...new Array(9).fill(0)]);
45
45
 
46
46
  /**
47
47
  * `81 SYS DIA PULSE USER RECORD YY MM DD hh mm`, mmHg, local time. A zero year means the clock
@@ -49,7 +49,7 @@ const bpmSetTimeCommand = now => toHex([0x8f, now.getFullYear() - 2000, now.getM
49
49
  */
50
50
  exports.bpmSetTimeCommand = bpmSetTimeCommand;
51
51
  const readYonkerBloodPressure = (frame, now) => {
52
- const b = bytes(frame);
52
+ const b = (0, _frameBytes.frameBytes)(frame);
53
53
  if (b.length < 11 || b[0] !== 0x81 || !b[1] || !b[2]) {
54
54
  return undefined;
55
55
  }
@@ -74,7 +74,7 @@ const readYonkerBloodPressure = (frame, now) => {
74
74
  */
75
75
  exports.readYonkerBloodPressure = readYonkerBloodPressure;
76
76
  const readYonkerTemperature = frame => {
77
- const b = bytes(frame);
77
+ const b = (0, _frameBytes.frameBytes)(frame);
78
78
  if (b.length < 5 || b[0] !== 0x80) {
79
79
  return undefined;
80
80
  }
@@ -89,14 +89,14 @@ const readYonkerTemperature = frame => {
89
89
  exports.readYonkerTemperature = readYonkerTemperature;
90
90
  const longFrame = (id, command, payload = []) => {
91
91
  const covered = [id >> 8, id & 0xff, payload.length + 1, command, ...payload];
92
- return toHex([0xa7, ...covered, sum(covered), 0x7a]);
92
+ return (0, _bytesToHex.bytesToHex)([0xa7, ...covered, sum(covered), 0x7a]);
93
93
  };
94
94
 
95
95
  /** `A6 (n+1) CMD payload CS 6A`. */
96
96
  exports.longFrame = longFrame;
97
97
  const shortFrame = (command, payload = []) => {
98
98
  const covered = [payload.length + 1, command, ...payload];
99
- return toHex([0xa6, ...covered, sum(covered), 0x6a]);
99
+ return (0, _bytesToHex.bytesToHex)([0xa6, ...covered, sum(covered), 0x6a]);
100
100
  };
101
101
 
102
102
  /** Scale set time, command `37`: `YY MM DD hh mm ss weekday` (Sunday 1), local time. */
@@ -107,7 +107,7 @@ const idOf = frame => (0, _hexToByte.hexToByte)(frame[1] ?? "00") << 8 | (0, _he
107
107
  exports.idOf = idOf;
108
108
  const commandOf = frame => (0, _hexToByte.hexToByte)(frame[4] ?? "00");
109
109
  exports.commandOf = commandOf;
110
- const bodyOf = frame => bytes(frame.slice(5, -2));
110
+ const bodyOf = frame => (0, _frameBytes.frameBytes)(frame.slice(5, -2));
111
111
 
112
112
  /**
113
113
  * Scale weight, command `02`: a u24 big-endian raw value, then precision (high nibble, decimal
@@ -157,7 +157,7 @@ class AilinkFrameReader {
157
157
  this.starts = starts;
158
158
  }
159
159
  readFrame(buffer) {
160
- const values = bytes(buffer);
160
+ const values = (0, _frameBytes.frameBytes)(buffer);
161
161
  const start = values.findIndex(value => this.starts.includes(value));
162
162
  if (start === -1) {
163
163
  return {
@@ -1 +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,OAA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AAO;QAAE+B,MAAM,EAAEa,gCAAe,CAACC,UAAU;QAAEC,aAAa,EAAEL;MAAM,CAAC;IACrE;IAEA,MAAMO,QAAQ,GAAGlE,MAAM,CAAC2C,KAAK,CAACgB,KAAK,EAAEA,KAAK,GAAGzC,MAAM,CAAC;IAEpD,IAAIgD,QAAQ,CAAChD,MAAM,GAAG,CAAC,CAAC,KAAK,IAAI,IAAIgD,QAAQ,CAAChD,MAAM,GAAG,CAAC,CAAC,KAAKd,GAAG,CAAC8D,QAAQ,CAACvB,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE;MACxF,OAAO;QAAEM,MAAM,EAAEa,gCAAe,CAACG,OAAO;QAAED,aAAa,EAAEL,KAAK,GAAG;MAAE,CAAC;IACtE;IAEA,OAAO;MACLV,MAAM,EAAEa,gCAAe,CAACK,QAAQ;MAChCH,aAAa,EAAEL,KAAK,GAAGzC,MAAM;MAC7BvB,KAAK,EAAE+D,MAAM,CAACf,KAAK,CAACgB,KAAK,EAAEA,KAAK,GAAGzC,MAAM;IAC3C,CAAC;EACH;AACF;AAACnC,OAAA,CAAAuE,iBAAA,GAAAA,iBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_frameReadStatus","require","_bytesToHex","_frameBytes","_hexToByte","_sigUuid","YONKER_GATT","exports","service","notify","notifyAlternate","uartService","uartNotify","timeService","sigUuid","timeWrite","AILINK_GATT","writeLong","writeShort","sum","values","reduce","total","value","bpmSetTimeCommand","now","bytesToHex","getFullYear","getMonth","getDate","getHours","getMinutes","Array","fill","readYonkerBloodPressure","frame","b","frameBytes","length","undefined","year","user","systolic","diastolic","heartRate","recordedAt","Date","memorySlot","readYonkerTemperature","Math","round","longFrame","id","command","payload","covered","shortFrame","scaleSetTimeCommand","getSeconds","getDay","idOf","hexToByte","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,WAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AARA;;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMK,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,EAAE,IAAAC,gBAAO,EAAC,MAAM,CAAC;EAC5BC,SAAS,EAAE,IAAAD,gBAAO,EAAC,MAAM;AAC3B,CAAU;;AAEV;AACO,MAAME,WAAW,GAAAT,OAAA,CAAAS,WAAA,GAAG;EACzBR,OAAO,EAAE,IAAAM,gBAAO,EAAC,MAAM,CAAC;EACxBG,SAAS,EAAE,IAAAH,gBAAO,EAAC,MAAM,CAAC;EAC1BL,MAAM,EAAE,IAAAK,gBAAO,EAAC,MAAM,CAAC;EACvBI,UAAU,EAAE,IAAAJ,gBAAO,EAAC,MAAM;AAC5B,CAAU;AAEV,MAAMK,GAAG,GAAIC,MAAyB,IACpCA,MAAM,CAACC,MAAM,CAAC,CAACC,KAAK,EAAEC,KAAK,KAAKD,KAAK,GAAGC,KAAK,EAAE,CAAC,CAAC,GAAG,IAAI;;AAE1D;AACO,MAAMC,iBAAiB,GAAIC,GAAS,IACzC,IAAAC,sBAAU,EAAC,CACT,IAAI,EACJD,GAAG,CAACE,WAAW,CAAC,CAAC,GAAG,IAAI,EACxBF,GAAG,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,EAAE;MACd,OAAO;QAAEgC,MAAM,EAAEa,gCAAe,CAACG,OAAO;QAAED,aAAa,EAAEL,KAAK,GAAG;MAAE,CAAC;IACtE;IAEA,IAAIA,KAAK,GAAG1C,MAAM,GAAGlB,MAAM,CAACkB,MAAM,EAAE;MAClC,OAAO;QAAEgC,MAAM,EAAEa,gCAAe,CAACC,UAAU;QAAEC,aAAa,EAAEL;MAAM,CAAC;IACrE;IAEA,MAAMO,QAAQ,GAAGnE,MAAM,CAAC4C,KAAK,CAACgB,KAAK,EAAEA,KAAK,GAAG1C,MAAM,CAAC;IAEpD,IAAIiD,QAAQ,CAACjD,MAAM,GAAG,CAAC,CAAC,KAAK,IAAI,IAAIiD,QAAQ,CAACjD,MAAM,GAAG,CAAC,CAAC,KAAKnB,GAAG,CAACoE,QAAQ,CAACvB,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE;MACxF,OAAO;QAAEM,MAAM,EAAEa,gCAAe,CAACG,OAAO;QAAED,aAAa,EAAEL,KAAK,GAAG;MAAE,CAAC;IACtE;IAEA,OAAO;MACLV,MAAM,EAAEa,gCAAe,CAACK,QAAQ;MAChCH,aAAa,EAAEL,KAAK,GAAG1C,MAAM;MAC7BH,KAAK,EAAE4C,MAAM,CAACf,KAAK,CAACgB,KAAK,EAAEA,KAAK,GAAG1C,MAAM;IAC3C,CAAC;EACH;AACF;AAAC/B,OAAA,CAAAoE,iBAAA,GAAAA,iBAAA","ignoreList":[]}
@@ -37,6 +37,7 @@ const clockSyncCapabilityForDevice = deviceName => {
37
37
  case _integratedDevices.IntegratedDevices.AOJ20A:
38
38
  case _integratedDevices.IntegratedDevices.BP2:
39
39
  case _integratedDevices.IntegratedDevices.RPM_SCALE:
40
+ case _integratedDevices.IntegratedDevices.TRANSTEK_A6_BPM:
40
41
  case _integratedDevices.IntegratedDevices.MAMBO_A5:
41
42
  case _integratedDevices.IntegratedDevices.VIATOM_R20:
42
43
  case _integratedDevices.IntegratedDevices.VIATOM_R200:
@@ -1 +1 @@
1
- {"version":3,"names":["_integratedDevices","require","isClockSyncEnabled","options","enabled","exports","getClockParts","date","timezone","year","getUTCFullYear","month","getUTCMonth","day","getUTCDate","hours","getUTCHours","minutes","getUTCMinutes","seconds","getUTCSeconds","milliseconds","getUTCMilliseconds","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","clockSyncCapabilityForDevice","deviceName","IntegratedDevices","BC01","MYSENSE","VEROVAL_ECG","AOJ20A","BP2","RPM_SCALE","MAMBO_A5","VIATOM_R20","VIATOM_R200","VIATOM_BBSM_BS1","VEROVAL_ACTIVITY","GENIAL_T31","ZH_SG_A606","TRASENSE_S9"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/types/clock-sync.ts"],"mappings":";;;;;;AAEA,IAAAA,kBAAA,GAAAC,OAAA;AAFA;;AAoBO,MAAMC,kBAAkB,GAAIC,OAA0B,IAC3DA,OAAO,EAAEC,OAAO,KAAK,KAAK;AAACC,OAAA,CAAAH,kBAAA,GAAAA,kBAAA;AAEtB,MAAMI,aAAa,GAAGA,CAC3BC,IAAU,EACVC,QAA2B,GAAG,OAAO,KAErCA,QAAQ,KAAK,KAAK,GACd;EACEC,IAAI,EAAEF,IAAI,CAACG,cAAc,CAAC,CAAC;EAC3BC,KAAK,EAAEJ,IAAI,CAACK,WAAW,CAAC,CAAC,GAAG,CAAC;EAC7BC,GAAG,EAAEN,IAAI,CAACO,UAAU,CAAC,CAAC;EACtBC,KAAK,EAAER,IAAI,CAACS,WAAW,CAAC,CAAC;EACzBC,OAAO,EAAEV,IAAI,CAACW,aAAa,CAAC,CAAC;EAC7BC,OAAO,EAAEZ,IAAI,CAACa,aAAa,CAAC,CAAC;EAC7BC,YAAY,EAAEd,IAAI,CAACe,kBAAkB,CAAC;AACxC,CAAC,GACD;EACEb,IAAI,EAAEF,IAAI,CAACgB,WAAW,CAAC,CAAC;EACxBZ,KAAK,EAAEJ,IAAI,CAACiB,QAAQ,CAAC,CAAC,GAAG,CAAC;EAC1BX,GAAG,EAAEN,IAAI,CAACkB,OAAO,CAAC,CAAC;EACnBV,KAAK,EAAER,IAAI,CAACmB,QAAQ,CAAC,CAAC;EACtBT,OAAO,EAAEV,IAAI,CAACoB,UAAU,CAAC,CAAC;EAC1BR,OAAO,EAAEZ,IAAI,CAACqB,UAAU,CAAC,CAAC;EAC1BP,YAAY,EAAEd,IAAI,CAACsB,eAAe,CAAC;AACrC,CAAC;;AAEP;AAAAxB,OAAA,CAAAC,aAAA,GAAAA,aAAA;AACO,MAAMwB,4BAA4B,GACvCC,UAAkB,IACM;EACxB,QAAQA,UAAU;IAChB,KAAKC,oCAAiB,CAACC,IAAI;IAC3B,KAAKD,oCAAiB,CAACE,OAAO;IAC9B,KAAKF,oCAAiB,CAACG,WAAW;IAClC,KAAKH,oCAAiB,CAACI,MAAM;IAC7B,KAAKJ,oCAAiB,CAACK,GAAG;IAC1B,KAAKL,oCAAiB,CAACM,SAAS;IAChC,KAAKN,oCAAiB,CAACO,QAAQ;IAC/B,KAAKP,oCAAiB,CAACQ,UAAU;IACjC,KAAKR,oCAAiB,CAACS,WAAW;IAClC,KAAKT,oCAAiB,CAACU,eAAe;MACpC,OAAO,WAAW;IACpB,KAAKV,oCAAiB,CAACW,gBAAgB;MACrC,OAAO,aAAa;IACtB,KAAKX,oCAAiB,CAACY,UAAU;IACjC,KAAKZ,oCAAiB,CAACa,UAAU;IACjC,KAAKb,oCAAiB,CAACc,WAAW;MAChC,OAAO,WAAW;IACpB;MACE,OAAO,SAAS;EACpB;AACF,CAAC;AAACzC,OAAA,CAAAyB,4BAAA,GAAAA,4BAAA","ignoreList":[]}
1
+ {"version":3,"names":["_integratedDevices","require","isClockSyncEnabled","options","enabled","exports","getClockParts","date","timezone","year","getUTCFullYear","month","getUTCMonth","day","getUTCDate","hours","getUTCHours","minutes","getUTCMinutes","seconds","getUTCSeconds","milliseconds","getUTCMilliseconds","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","clockSyncCapabilityForDevice","deviceName","IntegratedDevices","BC01","MYSENSE","VEROVAL_ECG","AOJ20A","BP2","RPM_SCALE","TRANSTEK_A6_BPM","MAMBO_A5","VIATOM_R20","VIATOM_R200","VIATOM_BBSM_BS1","VEROVAL_ACTIVITY","GENIAL_T31","ZH_SG_A606","TRASENSE_S9"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/types/clock-sync.ts"],"mappings":";;;;;;AAEA,IAAAA,kBAAA,GAAAC,OAAA;AAFA;;AAoBO,MAAMC,kBAAkB,GAAIC,OAA0B,IAC3DA,OAAO,EAAEC,OAAO,KAAK,KAAK;AAACC,OAAA,CAAAH,kBAAA,GAAAA,kBAAA;AAEtB,MAAMI,aAAa,GAAGA,CAC3BC,IAAU,EACVC,QAA2B,GAAG,OAAO,KAErCA,QAAQ,KAAK,KAAK,GACd;EACEC,IAAI,EAAEF,IAAI,CAACG,cAAc,CAAC,CAAC;EAC3BC,KAAK,EAAEJ,IAAI,CAACK,WAAW,CAAC,CAAC,GAAG,CAAC;EAC7BC,GAAG,EAAEN,IAAI,CAACO,UAAU,CAAC,CAAC;EACtBC,KAAK,EAAER,IAAI,CAACS,WAAW,CAAC,CAAC;EACzBC,OAAO,EAAEV,IAAI,CAACW,aAAa,CAAC,CAAC;EAC7BC,OAAO,EAAEZ,IAAI,CAACa,aAAa,CAAC,CAAC;EAC7BC,YAAY,EAAEd,IAAI,CAACe,kBAAkB,CAAC;AACxC,CAAC,GACD;EACEb,IAAI,EAAEF,IAAI,CAACgB,WAAW,CAAC,CAAC;EACxBZ,KAAK,EAAEJ,IAAI,CAACiB,QAAQ,CAAC,CAAC,GAAG,CAAC;EAC1BX,GAAG,EAAEN,IAAI,CAACkB,OAAO,CAAC,CAAC;EACnBV,KAAK,EAAER,IAAI,CAACmB,QAAQ,CAAC,CAAC;EACtBT,OAAO,EAAEV,IAAI,CAACoB,UAAU,CAAC,CAAC;EAC1BR,OAAO,EAAEZ,IAAI,CAACqB,UAAU,CAAC,CAAC;EAC1BP,YAAY,EAAEd,IAAI,CAACsB,eAAe,CAAC;AACrC,CAAC;;AAEP;AAAAxB,OAAA,CAAAC,aAAA,GAAAA,aAAA;AACO,MAAMwB,4BAA4B,GACvCC,UAAkB,IACM;EACxB,QAAQA,UAAU;IAChB,KAAKC,oCAAiB,CAACC,IAAI;IAC3B,KAAKD,oCAAiB,CAACE,OAAO;IAC9B,KAAKF,oCAAiB,CAACG,WAAW;IAClC,KAAKH,oCAAiB,CAACI,MAAM;IAC7B,KAAKJ,oCAAiB,CAACK,GAAG;IAC1B,KAAKL,oCAAiB,CAACM,SAAS;IAChC,KAAKN,oCAAiB,CAACO,eAAe;IACtC,KAAKP,oCAAiB,CAACQ,QAAQ;IAC/B,KAAKR,oCAAiB,CAACS,UAAU;IACjC,KAAKT,oCAAiB,CAACU,WAAW;IAClC,KAAKV,oCAAiB,CAACW,eAAe;MACpC,OAAO,WAAW;IACpB,KAAKX,oCAAiB,CAACY,gBAAgB;MACrC,OAAO,aAAa;IACtB,KAAKZ,oCAAiB,CAACa,UAAU;IACjC,KAAKb,oCAAiB,CAACc,UAAU;IACjC,KAAKd,oCAAiB,CAACe,WAAW;MAChC,OAAO,WAAW;IACpB;MACE,OAAO,SAAS;EACpB;AACF,CAAC;AAAC1C,OAAA,CAAAyB,4BAAA,GAAAA,4BAAA","ignoreList":[]}
@@ -21,6 +21,7 @@ let IntegratedDevices = exports.IntegratedDevices = /*#__PURE__*/function (Integ
21
21
  IntegratedDevices["BC01"] = "BC01";
22
22
  IntegratedDevices["FORA_SCALE"] = "FORA W550";
23
23
  IntegratedDevices["RPM_SCALE"] = "GBS-2012-B";
24
+ IntegratedDevices["TRANSTEK_A6_BPM"] = "Transtek A6 BPM";
24
25
  IntegratedDevices["MAMBO_A5"] = "Mambo A5";
25
26
  IntegratedDevices["CLEVERTEMP"] = "TAIDOC TD1107";
26
27
  IntegratedDevices["CMED"] = "cmed";
@@ -1 +1 @@
1
- {"version":3,"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AAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.bytesToHex = void 0;
7
+ /** Byte values to two-digit lowercase hex frame bytes; values wrap to 0-255. */
8
+ const bytesToHex = bytes => bytes.map(value => (value & 0xff).toString(16).padStart(2, "0"));
9
+ exports.bytesToHex = bytesToHex;
10
+ //# sourceMappingURL=bytes-to-hex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["bytesToHex","bytes","map","value","toString","padStart","exports"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/utils/bytes-to-hex.ts"],"mappings":";;;;;;AAAA;AACO,MAAMA,UAAU,GAAIC,KAAwB,IACjDA,KAAK,CAACC,GAAG,CAAEC,KAAK,IAAK,CAACA,KAAK,GAAG,IAAI,EAAEC,QAAQ,CAAC,EAAE,CAAC,CAACC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;AAACC,OAAA,CAAAN,UAAA,GAAAA,UAAA","ignoreList":[]}