@ovok/native 1.3.0 → 1.4.0

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 (308) hide show
  1. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js +9 -3
  2. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
  3. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js +8 -2
  4. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
  5. package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js +22 -22
  6. package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
  7. package/lib/commonjs/modules/bt-device/constants/device-list-items.js +36 -0
  8. package/lib/commonjs/modules/bt-device/constants/device-list-items.js.map +1 -1
  9. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js +36 -0
  10. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -0
  11. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-entries.js +45 -0
  12. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -0
  13. package/lib/commonjs/modules/bt-device/constants/supported-devices.js +198 -42
  14. package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
  15. package/lib/commonjs/modules/bt-management/components/bluetooth-device-picker.js +88 -0
  16. package/lib/commonjs/modules/bt-management/components/bluetooth-device-picker.js.map +1 -0
  17. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js +15 -8
  18. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  19. package/lib/commonjs/modules/bt-management/constants/integrated-devices-map.js +1 -1
  20. package/lib/commonjs/modules/bt-management/constants/integrated-devices-map.js.map +1 -1
  21. package/lib/commonjs/modules/bt-management/index.js +55 -0
  22. package/lib/commonjs/modules/bt-management/index.js.map +1 -1
  23. package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js +10 -4
  24. package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -1
  25. package/lib/commonjs/modules/bt-management/services/bt-manager.js +43 -5
  26. package/lib/commonjs/modules/bt-management/services/bt-manager.js.map +1 -1
  27. package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js +6 -2
  28. package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
  29. package/lib/commonjs/modules/bt-management/services/device-creator.js +19 -8
  30. package/lib/commonjs/modules/bt-management/services/device-creator.js.map +1 -1
  31. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js +1 -1
  32. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
  33. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-builders.js +50 -0
  34. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-builders.js.map +1 -0
  35. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js +78 -127
  36. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js.map +1 -1
  37. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js +2 -0
  38. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
  39. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.frame-reader.js +60 -0
  40. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.frame-reader.js.map +1 -0
  41. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +74 -0
  42. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -0
  43. package/lib/commonjs/modules/bt-management/services/devices/boso/boso.medicus.js +1 -1
  44. package/lib/commonjs/modules/bt-management/services/devices/boso/boso.medicus.js.map +1 -1
  45. package/lib/commonjs/modules/bt-management/services/devices/bt-command-writer.js +3 -0
  46. package/lib/commonjs/modules/bt-management/services/devices/bt-command-writer.js.map +1 -1
  47. package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js +1 -1
  48. package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
  49. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +37 -4
  50. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  51. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.file-transfer.js.map +1 -1
  52. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js +4 -1
  53. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
  54. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +2 -1
  55. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js.map +1 -1
  56. package/lib/commonjs/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js +1 -1
  57. package/lib/commonjs/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js.map +1 -1
  58. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js +1 -1
  59. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js.map +1 -1
  60. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js +1 -1
  61. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js.map +1 -1
  62. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-files.js +35 -0
  63. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-files.js.map +1 -0
  64. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +3 -2
  65. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
  66. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js +2 -1
  67. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
  68. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js +1 -1
  69. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
  70. package/lib/commonjs/modules/bt-management/types/device-measurement-map.js.map +1 -1
  71. package/lib/commonjs/modules/data-sync/services/managers/data-processor.js +11 -2
  72. package/lib/commonjs/modules/data-sync/services/managers/data-processor.js.map +1 -1
  73. package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js +3 -1
  74. package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
  75. package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js +3 -1
  76. package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
  77. package/lib/commonjs/modules/data-sync/utils/health-units.js +22 -0
  78. package/lib/commonjs/modules/data-sync/utils/health-units.js.map +1 -0
  79. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js +9 -3
  80. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
  81. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js +8 -2
  82. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
  83. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js +1 -1
  84. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
  85. package/lib/module/modules/bt-device/constants/device-list-items.js +36 -0
  86. package/lib/module/modules/bt-device/constants/device-list-items.js.map +1 -1
  87. package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js +33 -0
  88. package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -0
  89. package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js +41 -0
  90. package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -0
  91. package/lib/module/modules/bt-device/constants/supported-devices.js +188 -32
  92. package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
  93. package/lib/module/modules/bt-management/components/bluetooth-device-picker.js +83 -0
  94. package/lib/module/modules/bt-management/components/bluetooth-device-picker.js.map +1 -0
  95. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js +15 -8
  96. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  97. package/lib/module/modules/bt-management/constants/integrated-devices-map.js +1 -1
  98. package/lib/module/modules/bt-management/constants/integrated-devices-map.js.map +1 -1
  99. package/lib/module/modules/bt-management/index.js +5 -0
  100. package/lib/module/modules/bt-management/index.js.map +1 -1
  101. package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js +10 -4
  102. package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -1
  103. package/lib/module/modules/bt-management/services/bt-manager.js +45 -6
  104. package/lib/module/modules/bt-management/services/bt-manager.js.map +1 -1
  105. package/lib/module/modules/bt-management/services/custom/define-custom-device.js +6 -2
  106. package/lib/module/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
  107. package/lib/module/modules/bt-management/services/device-creator.js +19 -8
  108. package/lib/module/modules/bt-management/services/device-creator.js.map +1 -1
  109. package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js +1 -1
  110. package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
  111. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-builders.js +40 -0
  112. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-builders.js.map +1 -0
  113. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js +59 -109
  114. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js.map +1 -1
  115. package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js +2 -0
  116. package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
  117. package/lib/module/modules/bt-management/services/devices/bc01/bc01.frame-reader.js +56 -0
  118. package/lib/module/modules/bt-management/services/devices/bc01/bc01.frame-reader.js.map +1 -0
  119. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +69 -0
  120. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -0
  121. package/lib/module/modules/bt-management/services/devices/boso/boso.medicus.js +1 -1
  122. package/lib/module/modules/bt-management/services/devices/boso/boso.medicus.js.map +1 -1
  123. package/lib/module/modules/bt-management/services/devices/bt-command-writer.js +3 -0
  124. package/lib/module/modules/bt-management/services/devices/bt-command-writer.js.map +1 -1
  125. package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js +1 -1
  126. package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
  127. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +36 -4
  128. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  129. package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js +2 -1
  130. package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js.map +1 -1
  131. package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js +4 -1
  132. package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
  133. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +2 -1
  134. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js.map +1 -1
  135. package/lib/module/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js +1 -1
  136. package/lib/module/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js.map +1 -1
  137. package/lib/module/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js +1 -1
  138. package/lib/module/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js.map +1 -1
  139. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js +1 -1
  140. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js.map +1 -1
  141. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-files.js +31 -0
  142. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-files.js.map +1 -0
  143. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +3 -2
  144. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
  145. package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js +2 -1
  146. package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
  147. package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js +1 -1
  148. package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
  149. package/lib/module/modules/bt-management/types/device-measurement-map.js.map +1 -1
  150. package/lib/module/modules/data-sync/services/managers/data-processor.js +11 -2
  151. package/lib/module/modules/data-sync/services/managers/data-processor.js.map +1 -1
  152. package/lib/module/modules/data-sync/utils/get-samples-from-health.js +3 -1
  153. package/lib/module/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
  154. package/lib/module/modules/data-sync/utils/get-total-samples-count.js +3 -1
  155. package/lib/module/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
  156. package/lib/module/modules/data-sync/utils/health-units.js +17 -0
  157. package/lib/module/modules/data-sync/utils/health-units.js.map +1 -0
  158. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
  159. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
  160. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts +1 -1
  161. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  162. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-list-items.d.ts.map +1 -1
  163. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +31 -0
  164. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -0
  165. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts +3 -0
  166. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -0
  167. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts +36 -22
  168. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  169. package/lib/typescript/commonjs/src/modules/bt-management/components/bluetooth-device-picker.d.ts +11 -0
  170. package/lib/typescript/commonjs/src/modules/bt-management/components/bluetooth-device-picker.d.ts.map +1 -0
  171. package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  172. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts +5 -0
  173. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
  174. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts +5 -1
  175. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -1
  176. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts +19 -2
  177. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  178. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
  179. package/lib/typescript/commonjs/src/modules/bt-management/services/device-creator.d.ts +1 -1
  180. package/lib/typescript/commonjs/src/modules/bt-management/services/device-creator.d.ts.map +1 -1
  181. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts +2 -2
  182. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts.map +1 -1
  183. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts +31 -0
  184. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts.map +1 -0
  185. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts +6 -5
  186. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts.map +1 -1
  187. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +2 -0
  188. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
  189. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts +16 -0
  190. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts.map +1 -0
  191. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +19 -0
  192. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -0
  193. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts +1 -1
  194. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts.map +1 -1
  195. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-command-writer.d.ts.map +1 -1
  196. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts +1 -0
  197. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  198. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts +3 -2
  199. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts.map +1 -1
  200. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts +3 -2
  201. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
  202. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +2 -2
  203. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
  204. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts +1 -1
  205. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts.map +1 -1
  206. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
  207. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
  208. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts +1 -1
  209. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts.map +1 -1
  210. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts +9 -0
  211. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts.map +1 -0
  212. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts +1 -1
  213. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts.map +1 -1
  214. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts +1 -1
  215. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts.map +1 -1
  216. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts +1 -1
  217. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts.map +1 -1
  218. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts +1 -0
  219. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  220. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-spec.d.ts +6 -4
  221. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-spec.d.ts.map +1 -1
  222. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-lepu-spec.d.ts +2 -0
  223. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-lepu-spec.d.ts.map +1 -1
  224. package/lib/typescript/commonjs/src/modules/bt-management/types/device-command.d.ts +5 -0
  225. package/lib/typescript/commonjs/src/modules/bt-management/types/device-command.d.ts.map +1 -1
  226. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +4 -4
  227. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  228. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
  229. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
  230. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
  231. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts +3 -0
  232. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts.map +1 -0
  233. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
  234. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
  235. package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts +1 -1
  236. package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  237. package/lib/typescript/module/src/modules/bt-device/constants/device-list-items.d.ts.map +1 -1
  238. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +31 -0
  239. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -0
  240. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts +3 -0
  241. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -0
  242. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts +36 -22
  243. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  244. package/lib/typescript/module/src/modules/bt-management/components/bluetooth-device-picker.d.ts +11 -0
  245. package/lib/typescript/module/src/modules/bt-management/components/bluetooth-device-picker.d.ts.map +1 -0
  246. package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  247. package/lib/typescript/module/src/modules/bt-management/index.d.ts +5 -0
  248. package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
  249. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts +5 -1
  250. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -1
  251. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts +19 -2
  252. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  253. package/lib/typescript/module/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
  254. package/lib/typescript/module/src/modules/bt-management/services/device-creator.d.ts +1 -1
  255. package/lib/typescript/module/src/modules/bt-management/services/device-creator.d.ts.map +1 -1
  256. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts +2 -2
  257. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts.map +1 -1
  258. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts +31 -0
  259. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts.map +1 -0
  260. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts +6 -5
  261. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts.map +1 -1
  262. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +2 -0
  263. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
  264. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts +16 -0
  265. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts.map +1 -0
  266. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +19 -0
  267. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -0
  268. package/lib/typescript/module/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts +1 -1
  269. package/lib/typescript/module/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts.map +1 -1
  270. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-command-writer.d.ts.map +1 -1
  271. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts +1 -0
  272. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  273. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts +3 -2
  274. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts.map +1 -1
  275. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts +3 -2
  276. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
  277. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +2 -2
  278. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
  279. package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts +1 -1
  280. package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts.map +1 -1
  281. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
  282. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
  283. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts +1 -1
  284. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts.map +1 -1
  285. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts +9 -0
  286. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts.map +1 -0
  287. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts +1 -1
  288. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts.map +1 -1
  289. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts +1 -1
  290. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts.map +1 -1
  291. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts +1 -1
  292. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts.map +1 -1
  293. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts +1 -0
  294. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  295. package/lib/typescript/module/src/modules/bt-management/types/custom-device-spec.d.ts +6 -4
  296. package/lib/typescript/module/src/modules/bt-management/types/custom-device-spec.d.ts.map +1 -1
  297. package/lib/typescript/module/src/modules/bt-management/types/custom-lepu-spec.d.ts +2 -0
  298. package/lib/typescript/module/src/modules/bt-management/types/custom-lepu-spec.d.ts.map +1 -1
  299. package/lib/typescript/module/src/modules/bt-management/types/device-command.d.ts +5 -0
  300. package/lib/typescript/module/src/modules/bt-management/types/device-command.d.ts.map +1 -1
  301. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +4 -4
  302. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  303. package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
  304. package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
  305. package/lib/typescript/module/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
  306. package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts +3 -0
  307. package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts.map +1 -0
  308. package/package.json +5 -3
@@ -2,6 +2,7 @@
2
2
 
3
3
  import Healthkit from "@kingstinct/react-native-healthkit";
4
4
  import { addSeconds } from "date-fns";
5
+ import { healthUnitFor } from "./health-units.js";
5
6
  export const getSamplesFromHealth = async ({
6
7
  startDate: _startDate,
7
8
  typeIdentifier,
@@ -18,7 +19,8 @@ export const getSamplesFromHealth = async ({
18
19
  from: startDate,
19
20
  to: endDate,
20
21
  limit: chunkSize,
21
- anchor
22
+ anchor,
23
+ unit: healthUnitFor(typeIdentifier)
22
24
  });
23
25
  if (samples.length === 0 && deletedSamples.length === 0) {
24
26
  return {
@@ -1 +1 @@
1
- {"version":3,"names":["Healthkit","addSeconds","getSamplesFromHealth","startDate","_startDate","typeIdentifier","anchor","chunkSize","undefined","endDate","Date","samples","deletedSamples","newAnchor","queryQuantitySamplesWithAnchor","from","to","limit","length","data"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/utils/get-samples-from-health.ts"],"mappings":";;AAAA,OAAOA,SAAS,MAGT,oCAAoC;AAC3C,SAASC,UAAU,QAAQ,UAAU;AAIrC,OAAO,MAAMC,oBAAoB,GAAG,MAAAA,CAAO;EACzCC,SAAS,EAAEC,UAAU;EACrBC,cAAc;EACdC,MAAM;EACNC,SAAS,GAAG;AACsC,CAAC,KAAK;EACxD,MAAMJ,SAAS,GAAGC,UAAU,GAAGH,UAAU,CAACG,UAAU,EAAE,CAAC,CAAC,GAAGI,SAAS;EAEpE,MAAMC,OAAO,GAAG,IAAIC,IAAI,CAAC,CAAC;EAE1B,MAAM;IAAEC,OAAO;IAAEC,cAAc;IAAEC;EAAU,CAAC,GAC1C,MAAMb,SAAS,CAACc,8BAA8B,CAACT,cAAc,EAAE;IAC7DU,IAAI,EAAEZ,SAAS;IACfa,EAAE,EAAEP,OAAO;IACXQ,KAAK,EAAEV,SAAS;IAChBD;EACF,CAAC,CAAC;EAEJ,IAAIK,OAAO,CAACO,MAAM,KAAK,CAAC,IAAIN,cAAc,CAACM,MAAM,KAAK,CAAC,EAAE;IACvD,OAAO;MACLC,IAAI,EAAE,EAAkD;MACxDb,MAAM,EAAEE;IACV,CAAC;EACH;EAEA,OAAO;IACLW,IAAI,EAAER,OAAuD;IAC7DL,MAAM,EAAEO,SAAS,GACb;MACER,cAAc;MACdC,MAAM,EAAEO;IACV,CAAC,GACDL;EACN,CAAC;AACH,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["Healthkit","addSeconds","healthUnitFor","getSamplesFromHealth","startDate","_startDate","typeIdentifier","anchor","chunkSize","undefined","endDate","Date","samples","deletedSamples","newAnchor","queryQuantitySamplesWithAnchor","from","to","limit","unit","length","data"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/utils/get-samples-from-health.ts"],"mappings":";;AAAA,OAAOA,SAAS,MAGT,oCAAoC;AAC3C,SAASC,UAAU,QAAQ,UAAU;AAIrC,SAASC,aAAa,QAAQ,mBAAgB;AAE9C,OAAO,MAAMC,oBAAoB,GAAG,MAAAA,CAAO;EACzCC,SAAS,EAAEC,UAAU;EACrBC,cAAc;EACdC,MAAM;EACNC,SAAS,GAAG;AACsC,CAAC,KAAK;EACxD,MAAMJ,SAAS,GAAGC,UAAU,GAAGJ,UAAU,CAACI,UAAU,EAAE,CAAC,CAAC,GAAGI,SAAS;EAEpE,MAAMC,OAAO,GAAG,IAAIC,IAAI,CAAC,CAAC;EAE1B,MAAM;IAAEC,OAAO;IAAEC,cAAc;IAAEC;EAAU,CAAC,GAC1C,MAAMd,SAAS,CAACe,8BAA8B,CAACT,cAAc,EAAE;IAC7DU,IAAI,EAAEZ,SAAS;IACfa,EAAE,EAAEP,OAAO;IACXQ,KAAK,EAAEV,SAAS;IAChBD,MAAM;IACNY,IAAI,EAAEjB,aAAa,CAACI,cAAc;EACpC,CAAC,CAAC;EAEJ,IAAIM,OAAO,CAACQ,MAAM,KAAK,CAAC,IAAIP,cAAc,CAACO,MAAM,KAAK,CAAC,EAAE;IACvD,OAAO;MACLC,IAAI,EAAE,EAAkD;MACxDd,MAAM,EAAEE;IACV,CAAC;EACH;EAEA,OAAO;IACLY,IAAI,EAAET,OAAuD;IAC7DL,MAAM,EAAEO,SAAS,GACb;MACER,cAAc;MACdC,MAAM,EAAEO;IACV,CAAC,GACDL;EACN,CAAC;AACH,CAAC","ignoreList":[]}
@@ -2,6 +2,7 @@
2
2
 
3
3
  import Healthkit from "@kingstinct/react-native-healthkit";
4
4
  import { addSeconds } from "date-fns";
5
+ import { healthUnitFor } from "./health-units.js";
5
6
  export const getTotalSamplesCount = async ({
6
7
  typeIdentifier,
7
8
  startDate: _startDate,
@@ -13,7 +14,8 @@ export const getTotalSamplesCount = async ({
13
14
  const result = await Healthkit.queryQuantitySamplesWithAnchor(typeIdentifier, {
14
15
  from: startDate,
15
16
  to: endDate,
16
- anchor
17
+ anchor,
18
+ unit: healthUnitFor(typeIdentifier)
17
19
  });
18
20
  if (!result || !result.samples) {
19
21
  return 0;
@@ -1 +1 @@
1
- {"version":3,"names":["Healthkit","addSeconds","getTotalSamplesCount","typeIdentifier","startDate","_startDate","anchor","undefined","endDate","Date","result","queryQuantitySamplesWithAnchor","from","to","samples","totalSamples","length"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/utils/get-total-samples-count.ts"],"mappings":";;AAAA,OAAOA,SAAS,MAET,oCAAoC;AAC3C,SAASC,UAAU,QAAQ,UAAU;AAQrC,OAAO,MAAMC,oBAAoB,GAAG,MAAAA,CAAO;EACzCC,cAAc;EACdC,SAAS,EAAEC,UAAU;EACrBC;AACyB,CAAC,KAAsB;EAChD,MAAMF,SAAS,GAAGC,UAAU,GAAGJ,UAAU,CAACI,UAAU,EAAE,CAAC,CAAC,GAAGE,SAAS;EAEpE,MAAMC,OAAO,GAAG,IAAIC,IAAI,CAAC,CAAC;EAE1B,IAAI;IACF,MAAMC,MAAM,GAAG,MAAMV,SAAS,CAACW,8BAA8B,CAC3DR,cAAc,EACd;MACES,IAAI,EAAER,SAAS;MACfS,EAAE,EAAEL,OAAO;MACXF;IACF,CACF,CAAC;IAED,IAAI,CAACI,MAAM,IAAI,CAACA,MAAM,CAACI,OAAO,EAAE;MAC9B,OAAO,CAAC;IACV;IAEA,MAAM;MAAEA,OAAO,EAAEC;IAAa,CAAC,GAAGL,MAAM;IAExC,OAAOK,YAAY,CAACC,MAAM;EAC5B,CAAC,CAAC,MAAM;IACN;IACA,OAAO,CAAC;EACV;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["Healthkit","addSeconds","healthUnitFor","getTotalSamplesCount","typeIdentifier","startDate","_startDate","anchor","undefined","endDate","Date","result","queryQuantitySamplesWithAnchor","from","to","unit","samples","totalSamples","length"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/utils/get-total-samples-count.ts"],"mappings":";;AAAA,OAAOA,SAAS,MAET,oCAAoC;AAC3C,SAASC,UAAU,QAAQ,UAAU;AAErC,SAASC,aAAa,QAAQ,mBAAgB;AAQ9C,OAAO,MAAMC,oBAAoB,GAAG,MAAAA,CAAO;EACzCC,cAAc;EACdC,SAAS,EAAEC,UAAU;EACrBC;AACyB,CAAC,KAAsB;EAChD,MAAMF,SAAS,GAAGC,UAAU,GAAGL,UAAU,CAACK,UAAU,EAAE,CAAC,CAAC,GAAGE,SAAS;EAEpE,MAAMC,OAAO,GAAG,IAAIC,IAAI,CAAC,CAAC;EAE1B,IAAI;IACF,MAAMC,MAAM,GAAG,MAAMX,SAAS,CAACY,8BAA8B,CAC3DR,cAAc,EACd;MACES,IAAI,EAAER,SAAS;MACfS,EAAE,EAAEL,OAAO;MACXF,MAAM;MACNQ,IAAI,EAAEb,aAAa,CAACE,cAAc;IACpC,CACF,CAAC;IAED,IAAI,CAACO,MAAM,IAAI,CAACA,MAAM,CAACK,OAAO,EAAE;MAC9B,OAAO,CAAC;IACV;IAEA,MAAM;MAAEA,OAAO,EAAEC;IAAa,CAAC,GAAGN,MAAM;IAExC,OAAOM,YAAY,CAACC,MAAM;EAC5B,CAAC,CAAC,MAAM;IACN;IACA,OAAO,CAAC;EACV;AACF,CAAC","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ import { HKQuantityTypeIdentifier } from "@kingstinct/react-native-healthkit";
4
+ const HEALTH_UNITS = {
5
+ [HKQuantityTypeIdentifier.bodyMass]: "kg",
6
+ [HKQuantityTypeIdentifier.bodyTemperature]: "degC",
7
+ [HKQuantityTypeIdentifier.basalBodyTemperature]: "degC",
8
+ [HKQuantityTypeIdentifier.bloodPressureSystolic]: "mmHg",
9
+ [HKQuantityTypeIdentifier.bloodPressureDiastolic]: "mmHg",
10
+ [HKQuantityTypeIdentifier.bloodGlucose]: "mg/dL",
11
+ [HKQuantityTypeIdentifier.oxygenSaturation]: "%",
12
+ [HKQuantityTypeIdentifier.heartRate]: "count/min",
13
+ [HKQuantityTypeIdentifier.restingHeartRate]: "count/min",
14
+ [HKQuantityTypeIdentifier.walkingHeartRateAverage]: "count/min"
15
+ };
16
+ export const healthUnitFor = typeIdentifier => HEALTH_UNITS[typeIdentifier];
17
+ //# sourceMappingURL=health-units.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["HKQuantityTypeIdentifier","HEALTH_UNITS","bodyMass","bodyTemperature","basalBodyTemperature","bloodPressureSystolic","bloodPressureDiastolic","bloodGlucose","oxygenSaturation","heartRate","restingHeartRate","walkingHeartRateAverage","healthUnitFor","typeIdentifier"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/utils/health-units.ts"],"mappings":";;AAAA,SACEA,wBAAwB,QAEnB,oCAAoC;AAE3C,MAAMC,YAA+D,GAAG;EACtE,CAACD,wBAAwB,CAACE,QAAQ,GAAG,IAAI;EACzC,CAACF,wBAAwB,CAACG,eAAe,GAAG,MAAM;EAClD,CAACH,wBAAwB,CAACI,oBAAoB,GAAG,MAAM;EACvD,CAACJ,wBAAwB,CAACK,qBAAqB,GAAG,MAAM;EACxD,CAACL,wBAAwB,CAACM,sBAAsB,GAAG,MAAM;EACzD,CAACN,wBAAwB,CAACO,YAAY,GAAG,OAAO;EAChD,CAACP,wBAAwB,CAACQ,gBAAgB,GAAG,GAAG;EAChD,CAACR,wBAAwB,CAACS,SAAS,GAAG,WAAW;EACjD,CAACT,wBAAwB,CAACU,gBAAgB,GAAG,WAAW;EACxD,CAACV,wBAAwB,CAACW,uBAAuB,GAAG;AACtD,CAAC;AAED,OAAO,MAAMC,aAAa,GACxBC,cAAiB,IAEjBZ,YAAY,CAACY,cAAc,CAAqC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"apple-login-button.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/sign-in/components/social-logins/apple-login-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,eAAO,MAAM,gBAAgB,GAAI,iFAS9B,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAAC,6BAyF1C,CAAC"}
1
+ {"version":3,"file":"apple-login-button.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/sign-in/components/social-logins/apple-login-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,eAAO,MAAM,gBAAgB,GAAI,iFAS9B,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAAC,6BAkG1C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"google-login-button.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/sign-in/components/social-logins/google-login-button.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,eAAO,MAAM,iBAAiB,GAAI,uHAW/B,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,sBAoG3C,CAAC"}
1
+ {"version":3,"file":"google-login-button.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/sign-in/components/social-logins/google-login-button.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,eAAO,MAAM,iBAAiB,GAAI,uHAW/B,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,sBA0G3C,CAAC"}
@@ -1,3 +1,3 @@
1
- import { IntegratedDevices } from "../../bt-management";
1
+ import { IntegratedDevices } from "../../bt-management/types/integrated-devices";
2
2
  export declare const DEVICE_INSTRUCTION_PDFS: Record<IntegratedDevices, string>;
3
3
  //# sourceMappingURL=device-instruction-pdfs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"device-instruction-pdfs.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/device-instruction-pdfs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAOxD,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAsBrE,CAAC"}
1
+ {"version":3,"file":"device-instruction-pdfs.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/device-instruction-pdfs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAOjF,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAsBrE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"device-list-items.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/device-list-items.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAI3D,eAAO,MAAM,eAAe,EAAE,cAAc,EA0G3C,CAAC"}
1
+ {"version":3,"file":"device-list-items.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/device-list-items.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAI3D,eAAO,MAAM,eAAe,EAAE,cAAc,EAsJ3C,CAAC"}
@@ -0,0 +1,31 @@
1
+ declare const verovalBpu26Image = "https://cdn.hartmann.info/product/40938_43.jpg";
2
+ declare const verovalBpw26Image = "https://cdn.hartmann.info/product/40385_43.jpg";
3
+ declare const bosoMedicusSystemImage = "https://www.boso.de/fileadmin/_processed_/0/b/csm_medicus_system_1019_9ce057ffcc.png";
4
+ declare const visomatComfortSoftBtImage = "https://www.visomat.de/wp-content/uploads/2023/10/prd_slider_comfort-soft-BT.jpg";
5
+ declare const viatomBp2Image = "https://static.wixstatic.com/media/34caa4_9f911afc220e4832a17af0b44e515915~mv2.jpg/v1/crop/x_0,y_2,w_380,h_380/fill/w_532,h_532,al_c,lg_1,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/BP2.jpg";
6
+ declare const viatomBp3Image = "https://static.wixstatic.com/media/c3f028_2bf2ec93f3284fff868b2786a64bc8cc~mv2.jpg/v1/fill/w_2500,h_1666,al_c/c3f028_2bf2ec93f3284fff868b2786a64bc8cc~mv2.jpg";
7
+ declare const viatomF4Image = "https://static.wixstatic.com/media/5118d8_190c0d815e2445b28baa9ca15cbb71fc~mv2.png/v1/fill/w_608,h_608,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/F4%20body%20scale.png";
8
+ declare const viatomO2RingImage = "https://static.wixstatic.com/media/5118d8_5424b9d2006a4e918e2f9afc2f038f37~mv2.png/v1/fill/w_492,h_492,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/O2ring_edited_edited_edited.png";
9
+ declare const viatomEr1Image = "https://static.wixstatic.com/media/c3f028_1cde982861754abaab00abbaae81a697~mv2.png/v1/fill/w_586,h_586,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/ER1-LW.png";
10
+ declare const viatomAojImage = "https://static.wixstatic.com/media/34caa4_2b929fc2abc847bba39252b6e2a12a93~mv2.jpg/v1/fill/w_540,h_540,al_c,lg_1,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/AOJ.jpg";
11
+ declare const bundledAssetCredit = "OVOK Mobile SDK bundled image asset: src/modules/bt-device/constants/device-images.ts";
12
+ declare const hartmannDuoControlCredit = "HARTMANN official product image: https://www.hartmann.info/en-za/products/diagnostics/blood-pressure-monitors/upper-arm-products/veroval%C2%AE-duo-control";
13
+ declare const hartmannEcgCredit = "HARTMANN official product image: https://www.hartmann.info/es-es/productos/monitorizaci%C3%B3n/electrocardiograma/veroval%C2%AE-ecg";
14
+ declare const hartmannBpu26Credit = "HARTMANN official product image: https://www.hartmann.info/en/products/diagnostics/blood-pressure-monitors/upper-arm-products/veroval%C2%AE-compact-%2C-pl-%2C-upper-arm-blood-pressure-monitor";
15
+ declare const hartmannBpw26Credit = "HARTMANN official product image: https://www.hartmann.info/en/products/diagnostics/blood-pressure-monitors/wrist-products/veroval%C2%AE-compact-%2C-pl-%2C-wrist-blood-pressure-monitor";
16
+ declare const bosoMedicusSystemCredit = "boso official product image: https://www.boso.de/en/products-for-home-users/blood-pressure-instruments/boso-medicus-system";
17
+ declare const visomatComfortSoftBtCredit = "visomat official product image: https://www.visomat.de/produkte/comfort-soft-bt/";
18
+ declare const viatomBloodPressureCredit = "Viatom official product image: https://www.viatomtech.com/blood-pressure-monitor";
19
+ declare const viatomBp3Credit = "Viatom official product image: https://www.viatomtech.com/upper-arm-desk-blood-pressure-monitor";
20
+ declare const viatomBodyScaleCredit = "Viatom official product image: https://www.viatomtech.com/bodyscale";
21
+ declare const viatomOximeterCredit = "Viatom official product image: https://www.viatomtech.com/pulse-oximeter";
22
+ declare const viatomEcgCredit = "Viatom official product image: https://www.viatomtech.com/ecg-ekg-monitor";
23
+ declare const aojCredit = "Viatom official product image: https://www.viatomtech.com/thermometer";
24
+ declare const taidocCredit = "TaiDoc official product catalogue: https://taidoc.com/downloads/";
25
+ declare const foraCredit = "FORA official support materials: https://foracare.com/support/";
26
+ declare const cosinussCredit = "cosinuss\u00B0 official product page: https://www.cosinuss.com/en/products/in-ear-sensors/one/";
27
+ declare const alivecorCredit = "AliveCor official KardiaMobile product page: https://www.alivecor.com/kardiamobile";
28
+ declare const contecCredit = "Contec official BC401 product page: https://contechealth.com/collections/hot-sales/products/contec-bc401-handheld-urine-analyzer-11-parameter-600pcs-test-strip-bluetooth";
29
+ declare const transtekCredit = "Transtek official product page: https://www.transtekmed.com/product/transtek-body-scale-gbs-2012-b1";
30
+ export { alivecorCredit, aojCredit, bosoMedicusSystemCredit, bosoMedicusSystemImage, bundledAssetCredit, contecCredit, cosinussCredit, foraCredit, hartmannBpu26Credit, hartmannBpw26Credit, hartmannDuoControlCredit, hartmannEcgCredit, taidocCredit, transtekCredit, viatomAojImage, viatomBodyScaleCredit, viatomBp2Image, viatomBp3Credit, viatomBp3Image, viatomBloodPressureCredit, viatomEcgCredit, viatomEr1Image, viatomF4Image, viatomO2RingImage, viatomOximeterCredit, verovalBpu26Image, verovalBpw26Image, visomatComfortSoftBtCredit, visomatComfortSoftBtImage, };
31
+ //# sourceMappingURL=supported-device-catalog-assets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supported-device-catalog-assets.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-assets.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,iBAAiB,mDAAmD,CAAC;AAE3E,QAAA,MAAM,iBAAiB,mDAAmD,CAAC;AAE3E,QAAA,MAAM,sBAAsB,yFAC4D,CAAC;AAEzF,QAAA,MAAM,yBAAyB,qFACqD,CAAC;AAErF,QAAA,MAAM,cAAc,oMAC+K,CAAC;AAEpM,QAAA,MAAM,cAAc,kKAC6I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ACjB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,0BAA0B,EAC1B,yBAAyB,GAC1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { SupportedDevice } from "./supported-devices";
2
+ export declare const additionalSupportedDevices: readonly [SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, ...SupportedDevice[]];
3
+ //# sourceMappingURL=supported-device-catalog-entries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supported-device-catalog-entries.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-entries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAuF3D,eAAO,MAAM,0BAA0B,8PA0GQ,CAAC"}
@@ -1,4 +1,6 @@
1
- export type SupportedDevice = {
1
+ import { MeasurementTypeKey } from "@ovok/core";
2
+ import type { AcceptedDevice } from "../../bt-management/types/accepted-device";
3
+ type SupportedDevice = {
2
4
  name: string;
3
5
  nameKey: string;
4
6
  manufacturer: string;
@@ -6,6 +8,13 @@ export type SupportedDevice = {
6
8
  logo: string;
7
9
  creditsForImage: string;
8
10
  };
11
+ type SupportedDeviceDefinition = SupportedDevice & {
12
+ /** Ready to pass directly to BTProvider.acceptedDevices. */
13
+ id: string;
14
+ acceptedDevices: readonly AcceptedDevice[];
15
+ measurementTypes: readonly MeasurementTypeKey[];
16
+ manualUrl?: string;
17
+ };
9
18
  /**
10
19
  * Concrete devices and device families supported by the Bluetooth module.
11
20
  *
@@ -14,34 +23,34 @@ export type SupportedDevice = {
14
23
  * Every entry has an image value. Existing product assets are reused where available, while
15
24
  * official manufacturer and standards-organization images cover the remaining entries.
16
25
  */
17
- export declare const Devices: readonly [{
26
+ declare const Devices: readonly [{
18
27
  readonly name: "Viatom BP2";
19
28
  readonly nameKey: "devices.catalog.viatom-bp2.name";
20
29
  readonly manufacturer: "Viatom (Lepu Medical)";
21
30
  readonly manufacturerKey: "devices.catalog.manufacturers.viatom";
22
- readonly logo: string;
23
- readonly creditsForImage: "OVOK Mobile SDK bundled image asset: src/modules/bt-device/constants/device-images.ts";
31
+ readonly logo: "https://static.wixstatic.com/media/34caa4_9f911afc220e4832a17af0b44e515915~mv2.jpg/v1/crop/x_0,y_2,w_380,h_380/fill/w_532,h_532,al_c,lg_1,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/BP2.jpg";
32
+ readonly creditsForImage: "Viatom official product image: https://www.viatomtech.com/blood-pressure-monitor";
24
33
  }, {
25
34
  readonly name: "Viatom F4 / Lescale";
26
35
  readonly nameKey: "devices.catalog.viatom-f4-lescale.name";
27
36
  readonly manufacturer: "Viatom (Lepu Medical)";
28
37
  readonly manufacturerKey: "devices.catalog.manufacturers.viatom";
29
- readonly logo: string;
30
- readonly creditsForImage: "OVOK Mobile SDK bundled image asset: src/modules/bt-device/constants/device-images.ts";
38
+ readonly logo: "https://static.wixstatic.com/media/5118d8_190c0d815e2445b28baa9ca15cbb71fc~mv2.png/v1/fill/w_608,h_608,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/F4%20body%20scale.png";
39
+ readonly creditsForImage: "Viatom official product image: https://www.viatomtech.com/bodyscale";
31
40
  }, {
32
41
  readonly name: "Viatom OxySmart / PC60WF";
33
42
  readonly nameKey: "devices.catalog.viatom-oxysmart-pc60wf.name";
34
43
  readonly manufacturer: "Viatom (Lepu Medical)";
35
44
  readonly manufacturerKey: "devices.catalog.manufacturers.viatom";
36
- readonly logo: string;
37
- readonly creditsForImage: "OVOK Mobile SDK bundled image asset: src/modules/bt-device/constants/device-images.ts";
45
+ readonly logo: "https://static.wixstatic.com/media/5118d8_5424b9d2006a4e918e2f9afc2f038f37~mv2.png/v1/fill/w_492,h_492,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/O2ring_edited_edited_edited.png";
46
+ readonly creditsForImage: "Viatom official product image: https://www.viatomtech.com/pulse-oximeter";
38
47
  }, {
39
48
  readonly name: "Contec BC401 / BC01";
40
49
  readonly nameKey: "devices.catalog.contec-bc401-bc01.name";
41
50
  readonly manufacturer: "Contec Medical Systems";
42
51
  readonly manufacturerKey: "devices.catalog.manufacturers.contec";
43
52
  readonly logo: string;
44
- readonly creditsForImage: "OVOK Mobile SDK bundled image asset: src/modules/bt-device/constants/device-images.ts";
53
+ readonly creditsForImage: "Contec official BC401 product page: https://contechealth.com/collections/hot-sales/products/contec-bc401-handheld-urine-analyzer-11-parameter-600pcs-test-strip-bluetooth";
45
54
  }, {
46
55
  readonly name: "Veroval duo control";
47
56
  readonly nameKey: "devices.catalog.veroval-duo-control.name";
@@ -89,43 +98,43 @@ export declare const Devices: readonly [{
89
98
  readonly nameKey: "devices.catalog.aoj-20a.name";
90
99
  readonly manufacturer: "AOJ Medical";
91
100
  readonly manufacturerKey: "devices.catalog.manufacturers.aoj";
92
- readonly logo: string;
93
- readonly creditsForImage: "OVOK Mobile SDK bundled image asset: src/modules/bt-device/constants/device-images.ts";
101
+ readonly logo: "https://static.wixstatic.com/media/34caa4_2b929fc2abc847bba39252b6e2a12a93~mv2.jpg/v1/fill/w_540,h_540,al_c,lg_1,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/AOJ.jpg";
102
+ readonly creditsForImage: "Viatom official product image: https://www.viatomtech.com/thermometer";
94
103
  }, {
95
104
  readonly name: "Viatom BP2A / BP2T / BP2W";
96
105
  readonly nameKey: "devices.catalog.viatom-bp2-family.name";
97
106
  readonly manufacturer: "Viatom (Lepu Medical)";
98
107
  readonly manufacturerKey: "devices.catalog.manufacturers.viatom";
99
- readonly logo: string;
100
- readonly creditsForImage: "OVOK Mobile SDK bundled image asset: src/modules/bt-device/constants/device-images.ts";
108
+ readonly logo: "https://static.wixstatic.com/media/34caa4_9f911afc220e4832a17af0b44e515915~mv2.jpg/v1/crop/x_0,y_2,w_380,h_380/fill/w_532,h_532,al_c,lg_1,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/BP2.jpg";
109
+ readonly creditsForImage: "Viatom official product image: https://www.viatomtech.com/blood-pressure-monitor";
101
110
  }, {
102
111
  readonly name: "Viatom BP3 series";
103
112
  readonly nameKey: "devices.catalog.viatom-bp3-series.name";
104
113
  readonly manufacturer: "Viatom (Lepu Medical)";
105
114
  readonly manufacturerKey: "devices.catalog.manufacturers.viatom";
106
- readonly logo: string;
107
- readonly creditsForImage: "OVOK Mobile SDK bundled image asset: src/modules/bt-device/constants/device-images.ts";
115
+ readonly logo: "https://static.wixstatic.com/media/c3f028_2bf2ec93f3284fff868b2786a64bc8cc~mv2.jpg/v1/fill/w_2500,h_1666,al_c/c3f028_2bf2ec93f3284fff868b2786a64bc8cc~mv2.jpg";
116
+ readonly creditsForImage: "Viatom official product image: https://www.viatomtech.com/upper-arm-desk-blood-pressure-monitor";
108
117
  }, {
109
118
  readonly name: "Viatom O2Ring / Oxyfit / KidsO2 / BabyO2";
110
119
  readonly nameKey: "devices.catalog.viatom-oximeters.name";
111
120
  readonly manufacturer: "Viatom (Lepu Medical)";
112
121
  readonly manufacturerKey: "devices.catalog.manufacturers.viatom";
113
- readonly logo: string;
114
- readonly creditsForImage: "OVOK Mobile SDK bundled image asset: src/modules/bt-device/constants/device-images.ts";
122
+ readonly logo: "https://static.wixstatic.com/media/5118d8_5424b9d2006a4e918e2f9afc2f038f37~mv2.png/v1/fill/w_492,h_492,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/O2ring_edited_edited_edited.png";
123
+ readonly creditsForImage: "Viatom official product image: https://www.viatomtech.com/pulse-oximeter";
115
124
  }, {
116
125
  readonly name: "Viatom ER1 / ER2 / ER3";
117
126
  readonly nameKey: "devices.catalog.viatom-er-family.name";
118
127
  readonly manufacturer: "Viatom (Lepu Medical)";
119
128
  readonly manufacturerKey: "devices.catalog.manufacturers.viatom";
120
- readonly logo: string;
121
- readonly creditsForImage: "OVOK Mobile SDK bundled image asset: src/modules/bt-device/constants/device-images.ts";
129
+ readonly logo: "https://static.wixstatic.com/media/c3f028_1cde982861754abaab00abbaae81a697~mv2.png/v1/fill/w_586,h_586,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/ER1-LW.png";
130
+ readonly creditsForImage: "Viatom official product image: https://www.viatomtech.com/ecg-ekg-monitor";
122
131
  }, {
123
132
  readonly name: "Viatom Lepod / LepodPro";
124
133
  readonly nameKey: "devices.catalog.viatom-lepod-family.name";
125
134
  readonly manufacturer: "Viatom (Lepu Medical)";
126
135
  readonly manufacturerKey: "devices.catalog.manufacturers.viatom";
127
- readonly logo: string;
128
- readonly creditsForImage: "OVOK Mobile SDK bundled image asset: src/modules/bt-device/constants/device-images.ts";
136
+ readonly logo: "https://static.wixstatic.com/media/c3f028_1cde982861754abaab00abbaae81a697~mv2.png/v1/fill/w_586,h_586,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/ER1-LW.png";
137
+ readonly creditsForImage: "Viatom official product image: https://www.viatomtech.com/ecg-ekg-monitor";
129
138
  }, {
130
139
  readonly name: "Bluetooth SIG blood-pressure devices";
131
140
  readonly nameKey: "devices.catalog.bluetooth-sig.blood-pressure.name";
@@ -161,5 +170,10 @@ export declare const Devices: readonly [{
161
170
  readonly manufacturerKey: "devices.catalog.manufacturers.any-compliant";
162
171
  readonly logo: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0ibG9nbyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMzYwIDE0NCI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiAgICAgIC5jbHMtMSB7CiAgICAgICAgZmlsbDogI2ZmZjsKICAgICAgfQoKICAgICAgLmNscy0yIHsKICAgICAgICBmaWxsOiAjMDA4MmZjOwogICAgICB9CgogICA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gogICAgPHBhdGggZD0iTTMyMi42NiwxMDEuNTZ2LTM0LjM0YzIuMTItMS41NSwzLjkxLTIuNzcsNS44Ni0yLjc3czMuMjYuOTgsMy4yNiwzLjE3djMzLjk0aDkuMTF2LTM1LjRjMC01LjctMi44NS05LjItNy42NS05LjItNS4yOSwwLTcuMjQsMS45NS0xMC41OCw0Ljg4di0xOS4wNGgtOS4xMnY1OC43Nmg5LjEyWiIvPgogIDwvZz4KICA8ZyBpZD0iQnVnIj4KICAgIDxlbGxpcHNlIGNsYXNzPSJjbHMtMSIgY3g9IjM4LjQxIiBjeT0iNzEuNzgiIHJ4PSIyNC4zMSIgcnk9IjQwLjIyIi8+CiAgICA8cGF0aCBpZD0iQnVnLTIiIGRhdGEtbmFtZT0iQnVnIiBjbGFzcz0iY2xzLTIiIGQ9Ik00MS44Miw1MC42MWw3LjA0LDcuMDQtNy4wMyw3LjAzdi0xNC4wN2gwWk00MS44Miw5My43MWw3LjA0LTcuMDQtNy4wMy03LjAzdjE0LjA3aDBaTTM0LjMxLDcyLjE2bC0xNS4yMi0xNS4yNiw0LjQxLTQuNDEsMTIuMTMsMTIuMTN2LTI5LjA2bDIyLjA1LDIyLjA1LTE0LjU2LDE0LjU2LDE0LjU2LDE0LjU2LTIyLjA1LDIyLjA1di0yOS4wNmwtMTIuMTMsMTIuMTMtNC40MS00LjQxLDE1LjIyLTE1LjI2aDBaTTM4LjM5LDExNC43M2MxOC41OSwwLDMxLjQtOC44MywzMS40LTQyLjU3cy0xMi44MS00Mi41Ny0zMS40LTM0LjU3UzYuOTgsMzguNDIsNi45OCw3Mi4xNnMxMi44Miw0Mi41NywzMS40MSw0Mi41N2gwWiIvPgogIDwvZz4KPC9zdmc+";
163
172
  readonly creditsForImage: "Bluetooth SIG official brand assets: https://www.bluetooth.com/media/";
164
- }];
173
+ }, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, ...SupportedDevice[]];
174
+ /** One joined catalog for apps that need names, artwork and ready-made accept-list entries. */
175
+ declare const supportedDevices: readonly SupportedDeviceDefinition[];
176
+ declare const SUPPORTED_DEVICES: readonly SupportedDeviceDefinition[];
177
+ export { Devices, SUPPORTED_DEVICES, supportedDevices };
178
+ export type { SupportedDevice, SupportedDeviceDefinition };
165
179
  //# sourceMappingURL=supported-devices.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"supported-devices.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-devices.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AA8CF;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyK2B,CAAC"}
1
+ {"version":3,"file":"supported-devices.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-devices.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AA0ChF,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,KAAK,yBAAyB,GAAG,eAAe,GAAG;IAEjD,4DAA4D;IAC5D,EAAE,EAAE,MAAM,CAAC;IACX,eAAe,EAAE,SAAS,cAAc,EAAE,CAAC;IAC3C,gBAAgB,EAAE,SAAS,kBAAkB,EAAE,CAAC;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAeF;;;;;;;GAOG;AACH,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qPA0KkC,CAAC;AAoHhD,+FAA+F;AAC/F,QAAA,MAAM,gBAAgB,EAAE,SAAS,yBAAyB,EAQxD,CAAC;AAEH,QAAA,MAAM,iBAAiB,sCAAmB,CAAC;AAE3C,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,CAAC;AACxD,YAAY,EAAE,eAAe,EAAE,yBAAyB,EAAE,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { BTDeviceSelection } from "../services/bt-manager";
2
+ export interface BluetoothDevicePickerProps {
3
+ devices: readonly BTDeviceSelection[];
4
+ visible: boolean;
5
+ title?: string;
6
+ onSelect: (device: BTDeviceSelection) => void;
7
+ onDismiss?: () => void;
8
+ }
9
+ /** A small theme-aware picker for BTManager's multi-device auto-connect callback. */
10
+ export declare const BluetoothDevicePicker: ({ devices, visible, title, onSelect, onDismiss, }: BluetoothDevicePickerProps) => import("react").JSX.Element;
11
+ //# sourceMappingURL=bluetooth-device-picker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bluetooth-device-picker.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/components/bluetooth-device-picker.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,SAAS,iBAAiB,EAAE,CAAC;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC9C,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,qFAAqF;AACrF,eAAO,MAAM,qBAAqB,GAAI,mDAMnC,0BAA0B,gCA6B5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"bt-provider-child-wrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/components/bt-provider-child-wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AAGjF,eAAO,MAAM,sBAAsB,EAsN9B,CAAC,CAAC,SAAS,SAAS,cAAc,EAAE,EACvC,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,2BAA2B,CAAC,CAAC,CAAC,CAAC,KAC3D,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC"}
1
+ {"version":3,"file":"bt-provider-child-wrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/components/bt-provider-child-wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AAGjF,eAAO,MAAM,sBAAsB,EAiO9B,CAAC,CAAC,SAAS,SAAS,cAAc,EAAE,EACvC,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,2BAA2B,CAAC,CAAC,CAAC,CAAC,KAC3D,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC"}
@@ -31,9 +31,12 @@ export * from "./types/result-callback";
31
31
  export * from "./types/error-callback";
32
32
  export * from "./types/device-status-change-callback";
33
33
  export * from "./services/devices/bt-managed-device";
34
+ export * from "./services/devices/blood-glucose/blood-glucose.device";
34
35
  export * from "./services/devices/custom/custom.device";
35
36
  export * from "./services/bt-manager";
36
37
  export * from "./services/background-sync/background-ble-manager";
38
+ export * from "./services/background-sync/background-sync-coordinator";
39
+ export * from "./services/background-sync/background-service-uuids";
37
40
  export * from "./services/custom/define-custom-device";
38
41
  export * from "./services/devices/standard-gatt/standard-gatt.devices";
39
42
  export * from "./services/devices/boso/boso.medicus";
@@ -47,6 +50,7 @@ export * from "./services/devices/aoj/aoj.thermometers";
47
50
  export * from "./services/devices/viatom/viatom.bp-monitors";
48
51
  export * from "./services/devices/viatom/viatom.oximeters";
49
52
  export * from "./services/devices/viatom/viatom.ecg-recorders";
53
+ export * from "./services/devices/viatom/viatom.ecg-files";
50
54
  export * from "./services/devices/viatom/viatom.lepod";
51
55
  export * from "./services/devices/lepu/lepu.device-names";
52
56
  export * from "./services/devices/lepu/lepu.name-match";
@@ -56,6 +60,7 @@ export * from "./services/devices/lepu/lepu.file-transfer";
56
60
  export * from "./services/devices/lepu/lepu.response-type";
57
61
  export * from "./constants/measurement-field-catalog";
58
62
  export * from "./components/bt-provider";
63
+ export * from "./components/bluetooth-device-picker";
59
64
  export * from "./components/default-permission-fallback";
60
65
  export * from "./hooks/use-request-permissions";
61
66
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/bt-management/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA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tE,cAAc,yCAAyC,CAAC;AACxD,cAAc,uBAAuB,CAAC;AACtC,cAAc,mDAAmD,CAAC;AAClE,cAAc,wDAAwD,CAAC;AACvE,cAAc,qDAAqD,CAAC;AACpE,cAAc,wCAAwC,CAAC;AACvD,cAAc,wDAAwD,CAAC;AACvE,cAAc,sCAAsC,CAAC;AACrD,cAAc,iDAAiD,CAAC;AAChE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,uDAAuD,CAAC;AACtE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,wCAAwC,CAAC;AACvD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,4CAA4C,CAAC;AAE3D,cAAc,uCAAuC,CAAC;AAEtD,cAAc,0BAA0B,CAAC;AACzC,cAAc,sCAAsC,CAAC;AACrD,cAAc,0CAA0C,CAAC;AACzD,cAAc,iCAAiC,CAAC"}
@@ -1,6 +1,10 @@
1
1
  import { BackgroundSyncOptions } from "../../types/background-sync";
2
2
  import { DeviceKey } from "../../types/device-key";
3
3
  import { ResultCallback } from "../../types/result-callback";
4
+ export interface BackgroundSyncFlushOptions {
5
+ includeExhausted?: boolean;
6
+ resetExhausted?: boolean;
7
+ }
4
8
  declare const DEFAULT_QUEUE_KEY = "@ovok/native/background-sync/results";
5
9
  /**
6
10
  * A small durable, at-least-once queue. The result is written before delivery and removed only
@@ -15,7 +19,7 @@ declare class BackgroundSyncCoordinator<T extends DeviceKey> {
15
19
  private operation;
16
20
  constructor(options: BackgroundSyncOptions<T>);
17
21
  enqueue: (result: ResultCallback<T>) => Promise<void>;
18
- flush: () => Promise<void>;
22
+ flush: (options?: BackgroundSyncFlushOptions) => Promise<void>;
19
23
  private runExclusive;
20
24
  private readQueue;
21
25
  private writeQueue;
@@ -1 +1 @@
1
- {"version":3,"file":"background-sync-coordinator.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/background-sync/background-sync-coordinator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAwB,MAAM,6BAA6B,CAAC;AAC1F,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAW7D,QAAA,MAAM,iBAAiB,yCAAyC,CAAC;AAYjE;;;;GAIG;AACH,cAAM,yBAAyB,CAAC,CAAC,SAAS,SAAS;IAM9B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAL3C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAS;IACxC,OAAO,CAAC,SAAS,CAAoC;gBAEjB,OAAO,EAAE,qBAAqB,CAAC,CAAC,CAAC;IAS9D,OAAO,GAAI,QAAQ,cAAc,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,IAAI,CAAC,CActD;IAEE,KAAK,QAAO,OAAO,CAAC,IAAI,CAAC,CAG3B;IAEL,OAAO,CAAC,YAAY,CAMlB;IAEF,OAAO,CAAC,SAAS,CAuBf;IAEF,OAAO,CAAC,UAAU,CAIhB;IAEF,OAAO,CAAC,UAAU,CAoChB;CACH;AAED,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"background-sync-coordinator.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/background-sync/background-sync-coordinator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAwB,MAAM,6BAA6B,CAAC;AAC1F,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAW7D,MAAM,WAAW,0BAA0B;IACzC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,QAAA,MAAM,iBAAiB,yCAAyC,CAAC;AAYjE;;;;GAIG;AACH,cAAM,yBAAyB,CAAC,CAAC,SAAS,SAAS;IAM9B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAL3C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAS;IACxC,OAAO,CAAC,SAAS,CAAoC;gBAEjB,OAAO,EAAE,qBAAqB,CAAC,CAAC,CAAC;IAS9D,OAAO,GAAI,QAAQ,cAAc,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,IAAI,CAAC,CActD;IAEE,KAAK,GAAI,UAAS,0BAA+B,KAAG,OAAO,CAAC,IAAI,CAAC,CAGnE;IAEL,OAAO,CAAC,YAAY,CAMlB;IAEF,OAAO,CAAC,SAAS,CAuBf;IAEF,OAAO,CAAC,UAAU,CAIhB;IAEF,OAAO,CAAC,UAAU,CA+ChB;CACH;AAED,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,CAAC"}
@@ -5,11 +5,20 @@ import { DeviceStatusChangeCallback } from "../types/device-status-change-callba
5
5
  import { ErrorCallback } from "../types/error-callback";
6
6
  import { ResultCallback } from "../types/result-callback";
7
7
  import { BTManagedDevice } from "./devices/bt-managed-device";
8
- export interface BTManagerOptions {
8
+ interface BTManagerOptions {
9
9
  backgroundEnabled?: boolean;
10
10
  serviceUUIDs?: readonly string[];
11
+ /** Connect one newly discovered device automatically after the scan settles. */
12
+ autoConnect?: boolean;
13
+ autoConnectDelayMs?: number;
14
+ /** Called when more than one supported device is discovered in the settle window. */
15
+ onDeviceSelectionRequired?: (selection: {
16
+ devices: readonly BTDeviceSelection[];
17
+ select: (device: BTDeviceSelection) => Promise<void>;
18
+ }) => void;
11
19
  }
12
- export declare class BTManager<T extends readonly AcceptedDevice[]> {
20
+ type BTDeviceSelection = Pick<BTManagedDevice, "id" | "device" | "deviceData" | "connect">;
21
+ declare class BTManager<T extends readonly AcceptedDevice[]> {
13
22
  private readonly bleManager;
14
23
  private readonly acceptedDevices;
15
24
  private readonly options;
@@ -18,9 +27,14 @@ export declare class BTManager<T extends readonly AcceptedDevice[]> {
18
27
  private stateChangeListener;
19
28
  private eventSubscriptions;
20
29
  private deviceCreator;
30
+ private backgroundScanEnabled;
31
+ private autoConnectCandidates;
32
+ private autoConnectTimer;
21
33
  constructor(bleManager: BleManager, acceptedDevices: T, options?: BTManagerOptions);
22
34
  destroy: () => void;
23
35
  startScan: () => void;
36
+ /** Switches only the scan policy; the app can keep a foreground scan broad. */
37
+ setBackgroundScanEnabled: (enabled: boolean) => void;
24
38
  stopScan: () => void;
25
39
  restoreDevices: (devices: readonly Device[]) => void;
26
40
  onDeviceFound: (callback?: (device: BTManagedDevice<DeviceKeyOf<T>>, manager: BTManager<T>) => Promise<void>) => void;
@@ -32,6 +46,9 @@ export declare class BTManager<T extends readonly AcceptedDevice[]> {
32
46
  private onDeviceFoundCallback?;
33
47
  private onDeviceStatusChangedCallback?;
34
48
  private onScanResult;
49
+ private queueAutoConnect;
35
50
  private removeDeviceFromFoundedDevices;
36
51
  }
52
+ export { BTManager };
53
+ export type { BTDeviceSelection, BTManagerOptions };
37
54
  //# sourceMappingURL=bt-manager.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bt-manager.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/services/bt-manager.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,UAAU,EACV,MAAM,EAIP,MAAM,sBAAsB,CAAC;AAI9B,OAAO,E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IzD;IAGF,OAAO,CAAC,gBAAgB,CAAC,CAAiD;IAC1E,OAAO,CAAC,eAAe,CAAC,CAAgC;IACxD,OAAO,CAAC,qBAAqB,CAAC,CAGX;IACnB,OAAO,CAAC,6BAA6B,CAAC,CAE5B;IAEV,OAAO,CAAC,YAAY,CAmFlB;IAEF,OAAO,CAAC,gBAAgB,CAgCtB;IAEF,OAAO,CAAC,8BAA8B,CAUpC;CACH;AAED,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,YAAY,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"define-custom-device.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/custom/define-custom-device.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAkIlE;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,GAC7B,MAAM,gBAAgB,KACrB,sBA8EF,CAAC"}
1
+ {"version":3,"file":"define-custom-device.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/custom/define-custom-device.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAsIlE;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,GAC7B,MAAM,gBAAgB,KACrB,sBA+EF,CAAC"}
@@ -9,7 +9,7 @@ export declare class DeviceCreator<T extends readonly AcceptedDevice[]> {
9
9
  private readonly CACHE_MAX_SIZE;
10
10
  private readonly customDevices;
11
11
  constructor(acceptedDeviceNames: T);
12
- getDeviceName: (foundName: string) => DeviceKeyOf<T> | undefined;
12
+ getDeviceName: (foundName: string, serviceUUIDs?: readonly string[]) => DeviceKeyOf<T> | undefined;
13
13
  createDevice<K extends DeviceKey>(params: CreateDeviceParams<K>): BTManagedDevice<K>;
14
14
  destroy: () => void;
15
15
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"device-creator.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/services/device-creator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAMrD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AA6D9D,qBAAa,aAAa,CAAC,CAAC,SAAS,SAAS,cAAc,EAAE;IAKhD,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAJhD,OAAO,CAAC,eAAe,CAAuC;IAC9D,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAO;IACtC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAsC;gBAEvC,mBAAmB,EAAE,CAAC;IAI5C,aAAa,GAAI,WAAW,MAAM,KAAG,WAAW,CAAC,CAAC,CAAC,GAAG,SAAS,CAkBpE;IAEK,YAAY,CAAC,CAAC,SAAS,SAAS,EACrC,MAAM,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAC5B,eAAe,CAAC,CAAC,CAAC;IAwCd,OAAO,aAEZ;IAEF;;;OAGG;IACH,OAAO,CAAC,eAAe,CAmBrB;IAEF,OAAO,CAAC,eAAe;CAexB"}
1
+ {"version":3,"file":"device-creator.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/services/device-creator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAOrD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAkE9D,qBAAa,aAAa,CAAC,CAAC,SAAS,SAAS,cAAc,EAAE;IAKhD,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAJhD,OAAO,CAAC,eAAe,CAAuC;IAC9D,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAO;IACtC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAsC;gBAEvC,mBAAmB,EAAE,CAAC;IAI5C,aAAa,GAClB,WAAW,MAAM,EACjB,eAAc,SAAS,MAAM,EAAO,KACnC,WAAW,CAAC,CAAC,CAAC,GAAG,SAAS,CAwB3B;IAEK,YAAY,CAAC,CAAC,SAAS,SAAS,EACrC,MAAM,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAC5B,eAAe,CAAC,CAAC,CAAC;IA4Cd,OAAO,aAEZ;IAEF;;;OAGG;IACH,OAAO,CAAC,eAAe,CA0BrB;IAEF,OAAO,CAAC,eAAe;CAexB"}
@@ -1,9 +1,9 @@
1
1
  import { CustomDeviceDefinition } from "../../../types/custom-device-definition";
2
2
  interface AojDeviceParams {
3
3
  /** Reported back as deviceData.name, and must not collide with a built-in device. */
4
- id: string;
4
+ id?: string;
5
5
  /** The name the hardware advertises. */
6
- nameMatch: string | RegExp;
6
+ nameMatch?: string | RegExp;
7
7
  stuckDataTimeoutMs?: number;
8
8
  }
9
9
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"aoj.thermometers.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/aoj/aoj.thermometers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AAmCjF,UAAU,eAAe;IAEvB,qFAAqF;IACrF,EAAE,EAAE,MAAM,CAAC;IAEX,wCAAwC;IACxC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;IAE3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,iBAAiB,GAC5B,QAAQ,eAAe,KACtB,sBA0CC,CAAC"}
1
+ {"version":3,"file":"aoj.thermometers.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/aoj/aoj.thermometers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AAmCjF,UAAU,eAAe;IAEvB,qFAAqF;IACrF,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,iBAAiB,GAC5B,QAAQ,eAAe,KACtB,sBA0CC,CAAC"}
@@ -0,0 +1,31 @@
1
+ declare const OP_REQUEST_COUNT = 144;
2
+ declare const OP_REQUEST_RECORDS = 146;
3
+ declare const OP_REQUEST_QUANTITATIVE_RECORDS = 149;
4
+ declare const ACK_LAST_OF_SET = 126;
5
+ declare const REQUEST_ALL = 0;
6
+ declare const REQUEST_NEXT_RECORD_GROUP = 1;
7
+ declare const RETRY_RECORD_GROUP = 2;
8
+ declare const FINAL_RECORD_DELAY_MS = 200;
9
+ declare const RESET_DELAY_MS = 100;
10
+ declare const RX: {
11
+ readonly ACK: 240;
12
+ readonly VERSION_REPLY: 242;
13
+ readonly TIME_SYNC_ACK: 243;
14
+ readonly COUNT_REPLY: 224;
15
+ readonly STORED_RECORD_URS: 225;
16
+ readonly STORED_RECORD_PAGED: 226;
17
+ readonly FINISH: 227;
18
+ readonly STORED_QUANTITATIVE: 228;
19
+ readonly STORED_QUANTITATIVE_PAGED: 229;
20
+ };
21
+ declare const RECORD_FLAGS_INDEX = 1;
22
+ declare const RECORD_LAST_OF_SET_BIT = 64;
23
+ declare const asHex: (byte: number) => string;
24
+ declare const bc401Checksum: (bytes: readonly number[]) => number;
25
+ declare const buildCommand: (opcode: number, arg: number) => number[];
26
+ declare const buildResetCommand: () => number[];
27
+ declare const buildRequestVersionCommand: () => number[];
28
+ declare const buildSetTimeCommand: (now: Date) => number[];
29
+ declare const buildDeleteCommand: () => number[];
30
+ export { ACK_LAST_OF_SET, asHex, bc401Checksum, buildCommand, buildDeleteCommand, buildRequestVersionCommand, buildResetCommand, buildSetTimeCommand, FINAL_RECORD_DELAY_MS, OP_REQUEST_COUNT, OP_REQUEST_QUANTITATIVE_RECORDS, OP_REQUEST_RECORDS, RECORD_FLAGS_INDEX, RECORD_LAST_OF_SET_BIT, REQUEST_ALL, REQUEST_NEXT_RECORD_GROUP, RESET_DELAY_MS, RETRY_RECORD_GROUP, RX, };
31
+ //# sourceMappingURL=bc01-command-builders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bc01-command-builders.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bc01/bc01-command-builders.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,gBAAgB,MAAO,CAAC;AAC9B,QAAA,MAAM,kBAAkB,MAAO,CAAC;AAChC,QAAA,MAAM,+BAA+B,MAAO,CAAC;AAE7C,QAAA,MAAM,eAAe,MAAO,CAAC;AAC7B,QAAA,MAAM,WAAW,IAAO,CAAC;AACzB,QAAA,MAAM,yBAAyB,IAAO,CAAC;AACvC,QAAA,MAAM,kBAAkB,IAAO,CAAC;AAChC,QAAA,MAAM,qBAAqB,MAAM,CAAC;AAClC,QAAA,MAAM,cAAc,MAAM,CAAC;AAE3B,QAAA,MAAM,EAAE;;;;;;;;;;CAUE,CAAC;AAEX,QAAA,MAAM,kBAAkB,IAAI,CAAC;AAC7B,QAAA,MAAM,sBAAsB,KAAO,CAAC;AAEpC,QAAA,MAAM,KAAK,GAAI,MAAM,MAAM,KAAG,MACe,CAAC;AAE9C,QAAA,MAAM,aAAa,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,MACU,CAAC;AAE7D,QAAA,MAAM,YAAY,GAAI,QAAQ,MAAM,EAAE,KAAK,MAAM,KAAG,MAAM,EAIzD,CAAC;AAEF,QAAA,MAAM,iBAAiB,QAAO,MAAM,EAAsB,CAAC;AAE3D,QAAA,MAAM,0BAA0B,QAAO,MAAM,EAG5C,CAAC;AAEF,QAAA,MAAM,mBAAmB,GAAI,KAAK,IAAI,KAAG,MAAM,EAc9C,CAAC;AAEF,QAAA,MAAM,kBAAkB,QAAO,MAAM,EAAkB,CAAC;AAExD,OAAO,EACL,eAAe,EACf,KAAK,EACL,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,0BAA0B,EAC1B,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,+BAA+B,EAC/B,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,WAAW,EACX,yBAAyB,EACzB,cAAc,EACd,kBAAkB,EAClB,EAAE,GACH,CAAC"}
@@ -29,17 +29,18 @@ interface Bc01SequencerParams {
29
29
  export declare class Bc01CommandSequencer implements CommandSequencer {
30
30
  private readonly params;
31
31
  private isDone;
32
+ /** Ten standard pages per request group; 10 means a new group. */
33
+ private standardPage;
34
+ /** Five quantitative pages per request group; 5 means a new group. */
35
+ private quantitativePage;
32
36
  /** Injectable for tests; production reads `Date.now()`. */
33
37
  private readonly clock;
34
38
  constructor(params: Bc01SequencerParams, clock?: () => Date);
35
39
  initialCommands: () => readonly DeviceCommand[];
36
40
  nextCommand: (frame: readonly string[]) => readonly DeviceCommand[] | undefined;
37
- /**
38
- * The device pages every record it holds, one 16-byte frame at a time. Only
39
- * the frame whose flags byte carries `0x40` needs an acknowledgement; every
40
- * other page is a status update we let ride while the transfer continues.
41
- */
42
41
  private answerStoredRecord;
42
+ private answerQuantitativeRecord;
43
+ private finishStoredRecords;
43
44
  private commandFor;
44
45
  }
45
46
  export declare const bc01CommandSequencerInternals: {
@@ -1 +1 @@
1
- {"version":3,"file":"bc01-command-sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAuC9D,UAAU,mBAAmB;IAE3B,0EAA0E;IAC1E,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IAEpC;;;;OAIG;IACH,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC;AAqED;;;;;;;;;;;;;;;GAeG;AAEH,qBAAa,oBAAqB,YAAW,gBAAgB;IAOzD,OAAO,CAAC,QAAQ,CAAC,MAAM;IANzB,OAAO,CAAC,MAAM,CAAS;IAEvB,2DAA2D;IAC3D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAa;gBAGhB,MAAM,EAAE,mBAAmB,EAC5C,KAAK,GAAE,MAAM,IAAuB;IAK/B,eAAe,QAAO,SAAS,aAAa,EAAE,CAEnD;IAEK,WAAW,GAChB,OAAO,SAAS,MAAM,EAAE,KACvB,SAAS,aAAa,EAAE,GAAG,SAAS,CAoCrC;IAEF;;;;OAIG;IACH,OAAO,CAAC,kBAAkB,CAUxB;IAEF,OAAO,CAAC,UAAU,CAIf;CACJ;AAGD,eAAO,MAAM,6BAA6B;2BA3JZ,SAAS,MAAM,EAAE,KAAG,MAAM;2BAQ1B,MAAM,OAAO,MAAM,KAAG,MAAM,EAAE;6BAW9B,MAAM,EAAE;sCAQC,MAAM,EAAE;+BAYb,IAAI,KAAG,MAAM,EAAE;CA0HhD,CAAC"}
1
+ {"version":3,"file":"bc01-command-sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAyB9D,UAAU,mBAAmB;IAE3B,0EAA0E;IAC1E,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IAEpC;;;;OAIG;IACH,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC;AAED;;;;;;;;;;;;;;;GAeG;AAEH,qBAAa,oBAAqB,YAAW,gBAAgB;IAazD,OAAO,CAAC,QAAQ,CAAC,MAAM;IAZzB,OAAO,CAAC,MAAM,CAAS;IAEvB,kEAAkE;IAClE,OAAO,CAAC,YAAY,CAAM;IAE1B,sEAAsE;IACtE,OAAO,CAAC,gBAAgB,CAAK;IAE7B,2DAA2D;IAC3D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAa;gBAGhB,MAAM,EAAE,mBAAmB,EAC5C,KAAK,GAAE,MAAM,IAAuB;IAK/B,eAAe,QAAO,SAAS,aAAa,EAAE,CAEnD;IAEK,WAAW,GAChB,OAAO,SAAS,MAAM,EAAE,KACvB,SAAS,aAAa,EAAE,GAAG,SAAS,CAwCrC;IAEF,OAAO,CAAC,kBAAkB,CA8CxB;IAEF,OAAO,CAAC,wBAAwB,CAiD9B;IAEF,OAAO,CAAC,mBAAmB,CAOzB;IAEF,OAAO,CAAC,UAAU,CAOf;CACJ;AAGD,eAAO,MAAM,6BAA6B;;;;;;CAMzC,CAAC"}