@ovok/native 1.2.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 (336) 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 +77 -10
  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 +77 -0
  22. package/lib/commonjs/modules/bt-management/index.js.map +1 -1
  23. package/lib/commonjs/modules/bt-management/services/background-sync/background-ble-manager.js +27 -0
  24. package/lib/commonjs/modules/bt-management/services/background-sync/background-ble-manager.js.map +1 -0
  25. package/lib/commonjs/modules/bt-management/services/background-sync/background-service-uuids.js +31 -0
  26. package/lib/commonjs/modules/bt-management/services/background-sync/background-service-uuids.js.map +1 -0
  27. package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js +104 -0
  28. package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -0
  29. package/lib/commonjs/modules/bt-management/services/bt-manager.js +59 -6
  30. package/lib/commonjs/modules/bt-management/services/bt-manager.js.map +1 -1
  31. package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js +6 -2
  32. package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
  33. package/lib/commonjs/modules/bt-management/services/device-creator.js +19 -8
  34. package/lib/commonjs/modules/bt-management/services/device-creator.js.map +1 -1
  35. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js +1 -1
  36. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
  37. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-builders.js +50 -0
  38. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-builders.js.map +1 -0
  39. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js +78 -127
  40. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js.map +1 -1
  41. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js +2 -0
  42. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
  43. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.frame-reader.js +60 -0
  44. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.frame-reader.js.map +1 -0
  45. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +74 -0
  46. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -0
  47. package/lib/commonjs/modules/bt-management/services/devices/boso/boso.medicus.js +1 -1
  48. package/lib/commonjs/modules/bt-management/services/devices/boso/boso.medicus.js.map +1 -1
  49. package/lib/commonjs/modules/bt-management/services/devices/bt-command-writer.js +3 -0
  50. package/lib/commonjs/modules/bt-management/services/devices/bt-command-writer.js.map +1 -1
  51. package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js +1 -1
  52. package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
  53. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +37 -4
  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/lepu/lepu.file-transfer.js.map +1 -1
  56. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js +4 -1
  57. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
  58. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +2 -1
  59. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js.map +1 -1
  60. package/lib/commonjs/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js +1 -1
  61. package/lib/commonjs/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js.map +1 -1
  62. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js +1 -1
  63. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js.map +1 -1
  64. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js +1 -1
  65. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js.map +1 -1
  66. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-files.js +35 -0
  67. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-files.js.map +1 -0
  68. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +3 -2
  69. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
  70. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js +2 -1
  71. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
  72. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js +1 -1
  73. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
  74. package/lib/commonjs/modules/bt-management/types/background-sync.js +6 -0
  75. package/lib/commonjs/modules/bt-management/types/background-sync.js.map +1 -0
  76. package/lib/commonjs/modules/bt-management/types/device-measurement-map.js.map +1 -1
  77. package/lib/commonjs/modules/data-sync/services/managers/data-processor.js +11 -2
  78. package/lib/commonjs/modules/data-sync/services/managers/data-processor.js.map +1 -1
  79. package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js +3 -1
  80. package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
  81. package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js +3 -1
  82. package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
  83. package/lib/commonjs/modules/data-sync/utils/health-units.js +22 -0
  84. package/lib/commonjs/modules/data-sync/utils/health-units.js.map +1 -0
  85. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js +9 -3
  86. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
  87. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js +8 -2
  88. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
  89. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js +1 -1
  90. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
  91. package/lib/module/modules/bt-device/constants/device-list-items.js +36 -0
  92. package/lib/module/modules/bt-device/constants/device-list-items.js.map +1 -1
  93. package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js +33 -0
  94. package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -0
  95. package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js +41 -0
  96. package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -0
  97. package/lib/module/modules/bt-device/constants/supported-devices.js +188 -32
  98. package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
  99. package/lib/module/modules/bt-management/components/bluetooth-device-picker.js +83 -0
  100. package/lib/module/modules/bt-management/components/bluetooth-device-picker.js.map +1 -0
  101. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js +77 -10
  102. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  103. package/lib/module/modules/bt-management/constants/integrated-devices-map.js +1 -1
  104. package/lib/module/modules/bt-management/constants/integrated-devices-map.js.map +1 -1
  105. package/lib/module/modules/bt-management/index.js +7 -0
  106. package/lib/module/modules/bt-management/index.js.map +1 -1
  107. package/lib/module/modules/bt-management/services/background-sync/background-ble-manager.js +22 -0
  108. package/lib/module/modules/bt-management/services/background-sync/background-ble-manager.js.map +1 -0
  109. package/lib/module/modules/bt-management/services/background-sync/background-service-uuids.js +26 -0
  110. package/lib/module/modules/bt-management/services/background-sync/background-service-uuids.js.map +1 -0
  111. package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js +100 -0
  112. package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -0
  113. package/lib/module/modules/bt-management/services/bt-manager.js +61 -7
  114. package/lib/module/modules/bt-management/services/bt-manager.js.map +1 -1
  115. package/lib/module/modules/bt-management/services/custom/define-custom-device.js +6 -2
  116. package/lib/module/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
  117. package/lib/module/modules/bt-management/services/device-creator.js +19 -8
  118. package/lib/module/modules/bt-management/services/device-creator.js.map +1 -1
  119. package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js +1 -1
  120. package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
  121. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-builders.js +40 -0
  122. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-builders.js.map +1 -0
  123. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js +59 -109
  124. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js.map +1 -1
  125. package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js +2 -0
  126. package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
  127. package/lib/module/modules/bt-management/services/devices/bc01/bc01.frame-reader.js +56 -0
  128. package/lib/module/modules/bt-management/services/devices/bc01/bc01.frame-reader.js.map +1 -0
  129. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +69 -0
  130. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -0
  131. package/lib/module/modules/bt-management/services/devices/boso/boso.medicus.js +1 -1
  132. package/lib/module/modules/bt-management/services/devices/boso/boso.medicus.js.map +1 -1
  133. package/lib/module/modules/bt-management/services/devices/bt-command-writer.js +3 -0
  134. package/lib/module/modules/bt-management/services/devices/bt-command-writer.js.map +1 -1
  135. package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js +1 -1
  136. package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
  137. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +36 -4
  138. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  139. package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js +2 -1
  140. package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js.map +1 -1
  141. package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js +4 -1
  142. package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
  143. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +2 -1
  144. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js.map +1 -1
  145. package/lib/module/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js +1 -1
  146. package/lib/module/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js.map +1 -1
  147. package/lib/module/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js +1 -1
  148. package/lib/module/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js.map +1 -1
  149. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js +1 -1
  150. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js.map +1 -1
  151. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-files.js +31 -0
  152. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-files.js.map +1 -0
  153. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +3 -2
  154. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
  155. package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js +2 -1
  156. package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
  157. package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js +1 -1
  158. package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
  159. package/lib/module/modules/bt-management/types/background-sync.js +4 -0
  160. package/lib/module/modules/bt-management/types/background-sync.js.map +1 -0
  161. package/lib/module/modules/bt-management/types/device-measurement-map.js.map +1 -1
  162. package/lib/module/modules/data-sync/services/managers/data-processor.js +11 -2
  163. package/lib/module/modules/data-sync/services/managers/data-processor.js.map +1 -1
  164. package/lib/module/modules/data-sync/utils/get-samples-from-health.js +3 -1
  165. package/lib/module/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
  166. package/lib/module/modules/data-sync/utils/get-total-samples-count.js +3 -1
  167. package/lib/module/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
  168. package/lib/module/modules/data-sync/utils/health-units.js +17 -0
  169. package/lib/module/modules/data-sync/utils/health-units.js.map +1 -0
  170. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
  171. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
  172. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts +1 -1
  173. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  174. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-list-items.d.ts.map +1 -1
  175. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +31 -0
  176. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -0
  177. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts +3 -0
  178. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -0
  179. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts +36 -22
  180. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  181. package/lib/typescript/commonjs/src/modules/bt-management/components/bluetooth-device-picker.d.ts +11 -0
  182. package/lib/typescript/commonjs/src/modules/bt-management/components/bluetooth-device-picker.d.ts.map +1 -0
  183. package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  184. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts +7 -0
  185. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
  186. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-ble-manager.d.ts +13 -0
  187. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-ble-manager.d.ts.map +1 -0
  188. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts +3 -0
  189. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts.map +1 -0
  190. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts +29 -0
  191. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -0
  192. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts +26 -3
  193. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  194. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
  195. package/lib/typescript/commonjs/src/modules/bt-management/services/device-creator.d.ts +1 -1
  196. package/lib/typescript/commonjs/src/modules/bt-management/services/device-creator.d.ts.map +1 -1
  197. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts +2 -2
  198. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts.map +1 -1
  199. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts +31 -0
  200. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts.map +1 -0
  201. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts +6 -5
  202. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts.map +1 -1
  203. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +2 -0
  204. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
  205. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts +16 -0
  206. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts.map +1 -0
  207. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +19 -0
  208. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -0
  209. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts +1 -1
  210. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts.map +1 -1
  211. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-command-writer.d.ts.map +1 -1
  212. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts +1 -0
  213. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  214. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts +3 -2
  215. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts.map +1 -1
  216. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts +3 -2
  217. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
  218. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +2 -2
  219. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
  220. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts +1 -1
  221. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts.map +1 -1
  222. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
  223. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
  224. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts +1 -1
  225. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts.map +1 -1
  226. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts +9 -0
  227. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts.map +1 -0
  228. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts +1 -1
  229. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts.map +1 -1
  230. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts +1 -1
  231. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts.map +1 -1
  232. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts +1 -1
  233. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts.map +1 -1
  234. package/lib/typescript/commonjs/src/modules/bt-management/types/background-sync.d.ts +32 -0
  235. package/lib/typescript/commonjs/src/modules/bt-management/types/background-sync.d.ts.map +1 -0
  236. package/lib/typescript/commonjs/src/modules/bt-management/types/btprovider-children-props.d.ts +2 -0
  237. package/lib/typescript/commonjs/src/modules/bt-management/types/btprovider-children-props.d.ts.map +1 -1
  238. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts +1 -0
  239. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  240. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-spec.d.ts +6 -4
  241. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-spec.d.ts.map +1 -1
  242. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-lepu-spec.d.ts +2 -0
  243. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-lepu-spec.d.ts.map +1 -1
  244. package/lib/typescript/commonjs/src/modules/bt-management/types/device-command.d.ts +5 -0
  245. package/lib/typescript/commonjs/src/modules/bt-management/types/device-command.d.ts.map +1 -1
  246. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +4 -4
  247. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  248. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
  249. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
  250. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
  251. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts +3 -0
  252. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts.map +1 -0
  253. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
  254. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
  255. package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts +1 -1
  256. package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  257. package/lib/typescript/module/src/modules/bt-device/constants/device-list-items.d.ts.map +1 -1
  258. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +31 -0
  259. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -0
  260. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts +3 -0
  261. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -0
  262. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts +36 -22
  263. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  264. package/lib/typescript/module/src/modules/bt-management/components/bluetooth-device-picker.d.ts +11 -0
  265. package/lib/typescript/module/src/modules/bt-management/components/bluetooth-device-picker.d.ts.map +1 -0
  266. package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  267. package/lib/typescript/module/src/modules/bt-management/index.d.ts +7 -0
  268. package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
  269. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-ble-manager.d.ts +13 -0
  270. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-ble-manager.d.ts.map +1 -0
  271. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts +3 -0
  272. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-service-uuids.d.ts.map +1 -0
  273. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts +29 -0
  274. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -0
  275. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts +26 -3
  276. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  277. package/lib/typescript/module/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
  278. package/lib/typescript/module/src/modules/bt-management/services/device-creator.d.ts +1 -1
  279. package/lib/typescript/module/src/modules/bt-management/services/device-creator.d.ts.map +1 -1
  280. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts +2 -2
  281. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts.map +1 -1
  282. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts +31 -0
  283. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts.map +1 -0
  284. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts +6 -5
  285. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts.map +1 -1
  286. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +2 -0
  287. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
  288. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts +16 -0
  289. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts.map +1 -0
  290. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +19 -0
  291. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -0
  292. package/lib/typescript/module/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts +1 -1
  293. package/lib/typescript/module/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts.map +1 -1
  294. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-command-writer.d.ts.map +1 -1
  295. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts +1 -0
  296. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  297. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts +3 -2
  298. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts.map +1 -1
  299. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts +3 -2
  300. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
  301. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +2 -2
  302. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
  303. package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts +1 -1
  304. package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts.map +1 -1
  305. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
  306. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
  307. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts +1 -1
  308. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts.map +1 -1
  309. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts +9 -0
  310. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts.map +1 -0
  311. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts +1 -1
  312. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts.map +1 -1
  313. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts +1 -1
  314. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts.map +1 -1
  315. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts +1 -1
  316. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts.map +1 -1
  317. package/lib/typescript/module/src/modules/bt-management/types/background-sync.d.ts +32 -0
  318. package/lib/typescript/module/src/modules/bt-management/types/background-sync.d.ts.map +1 -0
  319. package/lib/typescript/module/src/modules/bt-management/types/btprovider-children-props.d.ts +2 -0
  320. package/lib/typescript/module/src/modules/bt-management/types/btprovider-children-props.d.ts.map +1 -1
  321. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts +1 -0
  322. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  323. package/lib/typescript/module/src/modules/bt-management/types/custom-device-spec.d.ts +6 -4
  324. package/lib/typescript/module/src/modules/bt-management/types/custom-device-spec.d.ts.map +1 -1
  325. package/lib/typescript/module/src/modules/bt-management/types/custom-lepu-spec.d.ts +2 -0
  326. package/lib/typescript/module/src/modules/bt-management/types/custom-lepu-spec.d.ts.map +1 -1
  327. package/lib/typescript/module/src/modules/bt-management/types/device-command.d.ts +5 -0
  328. package/lib/typescript/module/src/modules/bt-management/types/device-command.d.ts.map +1 -1
  329. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +4 -4
  330. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  331. package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
  332. package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
  333. package/lib/typescript/module/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
  334. package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts +3 -0
  335. package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts.map +1 -0
  336. package/package.json +5 -3
@@ -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,CAAC;AAElK,QAAA,MAAM,aAAa,oLACgK,CAAC;AAEpL,QAAA,MAAM,iBAAiB,8LACsK,CAAC;AAE9L,QAAA,MAAM,cAAc,yKACoJ,CAAC;AAEzK,QAAA,MAAM,cAAc,2KACsJ,CAAC;AAE3K,QAAA,MAAM,kBAAkB,0FACiE,CAAC;AAE1F,QAAA,MAAM,wBAAwB,+JACgI,CAAC;AAE/J,QAAA,MAAM,iBAAiB,wIACgH,CAAC;AAExI,QAAA,MAAM,mBAAmB,oMAC0K,CAAC;AAEpM,QAAA,MAAM,mBAAmB,4LACkK,CAAC;AAE5L,QAAA,MAAM,uBAAuB,+HACiG,CAAC;AAE/H,QAAA,MAAM,0BAA0B,qFACoD,CAAC;AAErF,QAAA,MAAM,yBAAyB,qFACqD,CAAC;AAErF,QAAA,MAAM,eAAe,oGAC8E,CAAC;AAEpG,QAAA,MAAM,qBAAqB,wEAC4C,CAAC;AAExE,QAAA,MAAM,oBAAoB,6EACkD,CAAC;AAE7E,QAAA,MAAM,eAAe,8EACwD,CAAC;AAE9E,QAAA,MAAM,SAAS,0EAC0D,CAAC;AAE1E,QAAA,MAAM,YAAY,qEACkD,CAAC;AAErE,QAAA,MAAM,UAAU,mEAAmE,CAAC;AAEpF,QAAA,MAAM,cAAc,mGACyE,CAAC;AAE9F,QAAA,MAAM,cAAc,uFACkE,CAAC;AAEvF,QAAA,MAAM,YAAY,8KAC2J,CAAC;AAE9K,QAAA,MAAM,cAAc,wGACmF,CAAC;AAExG,OAAO,EACL,cAAc,EACd,SAAS,EACT,uBAAuB,EACvB,sBAAsB,EACtB,kBAAkB,EAClB,YAAY,EACZ,cAAc,EACd,UAAU,EACV,mBAAmB,EACnB,mBAAmB,EACnB,wBAAwB,EACxB,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,cAAc,EACd,yBAAyB,EACzB,eAAe,EACf,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,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+CiAgICAgIC5jbHMtMSB7CiAgICAgICAgZmlsbDogI2ZmZjsKICAgICAgfQoKICAgICAgLmNscy0yIHsKICAgICAgICBmaWxsOiAjMDA4MmZjOwogICAgICB9CgogICAgICAuY2xzLTIsIC5jbHMtMyB7CiAgICAgICAgZmlsbC1ydWxlOiBldmVub2RkOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8ZyBpZD0iQmx1ZXRvb3RoIj4KICAgIDxwYXRoIGNsY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LjItNy42NS05LjItNS4yOSwwLTcuMjQsMS45NS0xMC41OCw0Ljg4di0xOS4wNGgtOS4xMnY1OC43Nmg5LjEyWiIvPgogIDwvZz4KICA8ZyBpZD0iQnVnIj4KICAgIDxlbGxpcHNlIGNsYXNzPSJjbHMtMSIgY3g9IjM4LjQxIiBjeT0iNzEuNzgiIHJ4PSIyNC4zMSIgcnk9IjQwLjIyIi8+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;AAM/B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AAEjF,eAAO,MAAM,sBAAsB,EA+G9B,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"}
@@ -26,12 +26,17 @@ export * from "./types/service.type";
26
26
  export * from "./types/device-status";
27
27
  export * from "./types/btprovider-props";
28
28
  export * from "./types/btprovider-children-props";
29
+ export * from "./types/background-sync";
29
30
  export * from "./types/result-callback";
30
31
  export * from "./types/error-callback";
31
32
  export * from "./types/device-status-change-callback";
32
33
  export * from "./services/devices/bt-managed-device";
34
+ export * from "./services/devices/blood-glucose/blood-glucose.device";
33
35
  export * from "./services/devices/custom/custom.device";
34
36
  export * from "./services/bt-manager";
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";
35
40
  export * from "./services/custom/define-custom-device";
36
41
  export * from "./services/devices/standard-gatt/standard-gatt.devices";
37
42
  export * from "./services/devices/boso/boso.medicus";
@@ -45,6 +50,7 @@ export * from "./services/devices/aoj/aoj.thermometers";
45
50
  export * from "./services/devices/viatom/viatom.bp-monitors";
46
51
  export * from "./services/devices/viatom/viatom.oximeters";
47
52
  export * from "./services/devices/viatom/viatom.ecg-recorders";
53
+ export * from "./services/devices/viatom/viatom.ecg-files";
48
54
  export * from "./services/devices/viatom/viatom.lepod";
49
55
  export * from "./services/devices/lepu/lepu.device-names";
50
56
  export * from "./services/devices/lepu/lepu.name-match";
@@ -54,6 +60,7 @@ export * from "./services/devices/lepu/lepu.file-transfer";
54
60
  export * from "./services/devices/lepu/lepu.response-type";
55
61
  export * from "./constants/measurement-field-catalog";
56
62
  export * from "./components/bt-provider";
63
+ export * from "./components/bluetooth-device-picker";
57
64
  export * from "./components/default-permission-fallback";
58
65
  export * from "./hooks/use-request-permissions";
59
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,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,C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AA4C,CAAC;AAE3D,cAAc,uCAAuC,CAAC;AAEtD,cAAc,0BAA0B,CAAC;AACzC,cAAc,0CAA0C,CAAC;AACzD,cAAc,iCAAiC,CAAC"}
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,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uCAAuC,CAAC;AAEtD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uDAAuD,CAAC;AACtE,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"}
@@ -0,0 +1,13 @@
1
+ import { BleManager, BleManagerOptions, BleRestoredState } from "react-native-ble-plx";
2
+ declare const DEFAULT_RESTORE_STATE_IDENTIFIER = "com.ovok.native.background-sync";
3
+ interface BackgroundBleManagerOptions extends Pick<BleManagerOptions, "restoreStateIdentifier"> {
4
+ onRestoreState?: (state: BleRestoredState | null) => void;
5
+ }
6
+ /**
7
+ * Creates a BLE manager configured for iOS CoreBluetooth state restoration. The returned
8
+ * manager must be created once at module scope, not inside a React render.
9
+ */
10
+ declare const createBackgroundBleManager: ({ restoreStateIdentifier, onRestoreState, }?: BackgroundBleManagerOptions) => BleManager;
11
+ declare const getRestoredBleState: (restoreStateIdentifier?: string) => BleRestoredState | null | undefined;
12
+ export { BackgroundBleManagerOptions, DEFAULT_RESTORE_STATE_IDENTIFIER, createBackgroundBleManager, getRestoredBleState, };
13
+ //# sourceMappingURL=background-ble-manager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"background-ble-manager.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/background-sync/background-ble-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,sBAAsB,CAAC;AAE9B,QAAA,MAAM,gCAAgC,oCACH,CAAC;AAIpC,UAAU,2BACR,SAAQ,IAAI,CAAC,iBAAiB,EAAE,wBAAwB,CAAC;IACzD,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI,KAAK,IAAI,CAAC;CAC3D;AAED;;;GAGG;AACH,QAAA,MAAM,0BAA0B,GAAI,8CAGjC,2BAAgC,KAAG,UAOlC,CAAC;AAEL,QAAA,MAAM,mBAAmB,GACvB,+BAAyD,KACxD,gBAAgB,GAAG,IAAI,GAAG,SACe,CAAC;AAE7C,OAAO,EACL,2BAA2B,EAC3B,gCAAgC,EAChC,0BAA0B,EAC1B,mBAAmB,GACpB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { AcceptedDevice } from "../../types/accepted-device";
2
+ export declare const getBackgroundServiceUUIDs: (acceptedDevices: readonly AcceptedDevice[], additionalServiceUUIDs?: readonly string[]) => string[];
3
+ //# sourceMappingURL=background-service-uuids.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"background-service-uuids.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/background-sync/background-service-uuids.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AA2B7D,eAAO,MAAM,yBAAyB,GACpC,iBAAiB,SAAS,cAAc,EAAE,EAC1C,yBAAwB,SAAS,MAAM,EAAO,KAC7C,MAAM,EAaR,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { BackgroundSyncOptions } from "../../types/background-sync";
2
+ import { DeviceKey } from "../../types/device-key";
3
+ import { ResultCallback } from "../../types/result-callback";
4
+ export interface BackgroundSyncFlushOptions {
5
+ includeExhausted?: boolean;
6
+ resetExhausted?: boolean;
7
+ }
8
+ declare const DEFAULT_QUEUE_KEY = "@ovok/native/background-sync/results";
9
+ /**
10
+ * A small durable, at-least-once queue. The result is written before delivery and removed only
11
+ * after the consumer resolves. A process death between those two operations can deliver a
12
+ * result twice, so consumers should de-duplicate by `id`.
13
+ */
14
+ declare class BackgroundSyncCoordinator<T extends DeviceKey> {
15
+ private readonly options;
16
+ private readonly storageKey;
17
+ private readonly maxRetries;
18
+ private readonly retryBackoffMs;
19
+ private operation;
20
+ constructor(options: BackgroundSyncOptions<T>);
21
+ enqueue: (result: ResultCallback<T>) => Promise<void>;
22
+ flush: (options?: BackgroundSyncFlushOptions) => Promise<void>;
23
+ private runExclusive;
24
+ private readQueue;
25
+ private writeQueue;
26
+ private flushQueue;
27
+ }
28
+ export { BackgroundSyncCoordinator, DEFAULT_QUEUE_KEY };
29
+ //# sourceMappingURL=background-sync-coordinator.d.ts.map
@@ -0,0 +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,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"}
@@ -1,22 +1,42 @@
1
- import { BleManager } from "react-native-ble-plx";
1
+ import { BleManager, Device } from "react-native-ble-plx";
2
2
  import { AcceptedDevice } from "../types/accepted-device";
3
3
  import { DeviceKeyOf } from "../types/device-key-of";
4
4
  import { DeviceStatusChangeCallback } from "../types/device-status-change-callback";
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 declare class BTManager<T extends readonly AcceptedDevice[]> {
8
+ interface BTManagerOptions {
9
+ backgroundEnabled?: boolean;
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;
19
+ }
20
+ type BTDeviceSelection = Pick<BTManagedDevice, "id" | "device" | "deviceData" | "connect">;
21
+ declare class BTManager<T extends readonly AcceptedDevice[]> {
9
22
  private readonly bleManager;
10
23
  private readonly acceptedDevices;
24
+ private readonly options;
11
25
  private static readonly MAX_DEVICES;
12
26
  private devices;
13
27
  private stateChangeListener;
14
28
  private eventSubscriptions;
15
29
  private deviceCreator;
16
- constructor(bleManager: BleManager, acceptedDevices: T);
30
+ private backgroundScanEnabled;
31
+ private autoConnectCandidates;
32
+ private autoConnectTimer;
33
+ constructor(bleManager: BleManager, acceptedDevices: T, options?: BTManagerOptions);
17
34
  destroy: () => void;
18
35
  startScan: () => void;
36
+ /** Switches only the scan policy; the app can keep a foreground scan broad. */
37
+ setBackgroundScanEnabled: (enabled: boolean) => void;
19
38
  stopScan: () => void;
39
+ restoreDevices: (devices: readonly Device[]) => void;
20
40
  onDeviceFound: (callback?: (device: BTManagedDevice<DeviceKeyOf<T>>, manager: BTManager<T>) => Promise<void>) => void;
21
41
  onError: (callback?: (data: ErrorCallback) => void) => void;
22
42
  onDeviceStatusChanged: (callback?: (data: DeviceStatusChangeCallback) => void) => void;
@@ -26,6 +46,9 @@ export declare class BTManager<T extends readonly AcceptedDevice[]> {
26
46
  private onDeviceFoundCallback?;
27
47
  private onDeviceStatusChangedCallback?;
28
48
  private onScanResult;
49
+ private queueAutoConnect;
29
50
  private removeDeviceFromFoundedDevices;
30
51
  }
52
+ export { BTManager };
53
+ export type { BTDeviceSelection, BTManagerOptions };
31
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,EAKX,MAAM,sBAAsB,CAAC;AAI9B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAy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../../../../../../../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,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AAC,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"}
@@ -5,6 +5,7 @@ import { MeasurementTypeForDevices } from "../../../types/device-measurement-map
5
5
  import { IntegratedDevices } from "../../../types/integrated-devices";
6
6
  import { IService } from "../../../types/service.type";
7
7
  import { BTManagedDevice } from "../bt-managed-device";
8
+ import { Bc01FrameReader } from "./bc01.frame-reader";
8
9
  /**
9
10
  * Contec BC401 (BC01) urine analyzer driver.
10
11
  *
@@ -18,6 +19,7 @@ import { BTManagedDevice } from "../bt-managed-device";
18
19
  export declare class BC01Device extends BTManagedDevice<IntegratedDevices.BC01> {
19
20
  protected onStreamStart: () => void;
20
21
  protected mainServices: IService[];
22
+ protected frameReader: Bc01FrameReader;
21
23
  /**
22
24
  * 90 s covers the maximum firmware-side reagent-pad settle time on a URS-7
23
25
  * strip and leaves headroom for a bulk memory dump of every stored record.
@@ -1 +1 @@
1
- {"version":3,"file":"bc01.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bc01/bc01.device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAI9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gDAAgD,CAAC;AAC9F,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAmBvD;;;;;;;;;GASG;AACH,qBAAa,UAAW,SAAQ,eAAe,CAAC,iBAAiB,CAAC,IAAI,CAAC;IACrE,SAAS,CAAC,aAAa,EAAE,MAAM,IAAI,CAAY;IAE/C,SAAS,CAAC,YAAY,EAAE,QAAQ,EAAE,CAAoB;IAEtD;;;;;OAKG;IACH,SAAS,CAAC,gBAAgB,SAAU;gBAExB,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,IAAI,CAAC;IAqB9E;;;;;OAKG;IACH,SAAS,CAAC,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,OAAO,CAanD;IAEF;;;;;;;OAOG;IACH,SAAS,CAAC,qBAAqB,GAC7B,MAAM,4BAA4B,CAChC,yBAAyB,CAAC,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CACpD,KACA,4BAA4B,CAC7B,yBAAyB,CAAC,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CACpD,CASC;IAEF;;;;OAIG;IACH,SAAS,CAAC,mBAAmB,IAAI,IAAI,GAAG,OAAO;IAI/C,OAAO,CAAC,eAAe;CAqCxB"}
1
+ {"version":3,"file":"bc01.device.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bc01/bc01.device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAI9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gDAAgD,CAAC;AAC9F,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAIvD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAgBtD;;;;;;;;;GASG;AACH,qBAAa,UAAW,SAAQ,eAAe,CAAC,iBAAiB,CAAC,IAAI,CAAC;IACrE,SAAS,CAAC,aAAa,EAAE,MAAM,IAAI,CAAY;IAE/C,SAAS,CAAC,YAAY,EAAE,QAAQ,EAAE,CAAoB;IACtD,SAAS,CAAC,WAAW,EAAE,eAAe,CAAyB;IAE/D;;;;;OAKG;IACH,SAAS,CAAC,gBAAgB,SAAU;gBAExB,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,IAAI,CAAC;IAqB9E;;;;;OAKG;IACH,SAAS,CAAC,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,OAAO,CAanD;IAEF;;;;;;;OAOG;IACH,SAAS,CAAC,qBAAqB,GAC7B,MAAM,4BAA4B,CAChC,yBAAyB,CAAC,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CACpD,KACA,4BAA4B,CAC7B,yBAAyB,CAAC,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CACpD,CASC;IAEF;;;;OAIG;IACH,SAAS,CAAC,mBAAmB,IAAI,IAAI,GAAG,OAAO;IAI/C,OAAO,CAAC,eAAe;CAqCxB"}
@@ -0,0 +1,16 @@
1
+ import { FrameReadResult } from "../../../types/frame-read-result";
2
+ import { FrameReader } from "../../../types/frame-reader";
3
+ /** Fixed BC401 reply lengths, keyed by the first byte of each PHMS frame. */
4
+ declare const BC01_FRAME_LENGTHS: Readonly<Record<string, number>>;
5
+ /**
6
+ * Isolates the fixed-length frames used by Contec BC401BT.
7
+ *
8
+ * PHMS keeps a byte queue and repeatedly consumes complete replies. BLE notifications are
9
+ * not frame boundaries, so the SDK must retain partial replies and drain multiple replies
10
+ * when Android combines them into one notification.
11
+ */
12
+ declare class Bc01FrameReader implements FrameReader {
13
+ readFrame(buffer: readonly string[]): FrameReadResult;
14
+ }
15
+ export { Bc01FrameReader, BC01_FRAME_LENGTHS as bc01FrameLengths };
16
+ //# sourceMappingURL=bc01.frame-reader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bc01.frame-reader.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bc01/bc01.frame-reader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE1D,6EAA6E;AAC7E,QAAA,MAAM,kBAAkB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAUxD,CAAC;AAIF;;;;;;GAMG;AACH,cAAM,eAAgB,YAAW,WAAW;IACnC,SAAS,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,eAAe;CAmC7D;AAED,OAAO,EAAE,eAAe,EAAE,kBAAkB,IAAI,gBAAgB,EAAE,CAAC"}