@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
@@ -3,25 +3,30 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.Devices = void 0;
6
+ exports.supportedDevices = exports.SUPPORTED_DEVICES = exports.Devices = void 0;
7
+ var _core = require("@ovok/core");
8
+ var _aojThermometers = require("../../bt-management/services/devices/aoj/aoj.thermometers.js");
9
+ var _bosoMedicus = require("../../bt-management/services/devices/boso/boso.medicus.js");
10
+ var _standardGattDevices = require("../../bt-management/services/devices/standard-gatt/standard-gatt.devices.js");
11
+ var _visomatComfortSoftBt = require("../../bt-management/services/devices/uebe/visomat.comfort-soft-bt.js");
12
+ var _verovalBpMonitors = require("../../bt-management/services/devices/veroval/veroval.bp-monitors.js");
13
+ var _viatomBpMonitors = require("../../bt-management/services/devices/viatom/viatom.bp-monitors.js");
14
+ var _viatomEcgRecorders = require("../../bt-management/services/devices/viatom/viatom.ecg-recorders.js");
15
+ var _viatomLepod = require("../../bt-management/services/devices/viatom/viatom.lepod.js");
16
+ var _viatomOximeters = require("../../bt-management/services/devices/viatom/viatom.oximeters.js");
17
+ var _integratedDevices = require("../../bt-management/types/integrated-devices.js");
7
18
  var _deviceImages = require("./device-images.js");
19
+ var _deviceInstructionPdfs = require("./device-instruction-pdfs.js");
20
+ var _supportedDeviceCatalogAssets = require("./supported-device-catalog-assets.js");
21
+ var _supportedDeviceCatalogEntries = require("./supported-device-catalog-entries.js");
22
+ /* eslint-disable max-lines */
23
+
8
24
  const verovalDuoControlImage = "https://img.hartmann.info/cdn-cgi/image/width%3D412%2Cheight%3D412%2Cquality%3D95%2Cfit%3Dcrop%2Cgravity%3Dauto/product/44853_4K.jpg";
9
25
  const verovalEcgImage = "https://img.hartmann.info/cdn-cgi/image/width%3D412%2Cheight%3D412%2Cquality%3D95%2Cfit%3Dcrop%2Cgravity%3Dauto/product/46955_4K.jpg";
10
- const verovalBpu26Image = "https://cdn.hartmann.info/product/40938_43.jpg";
11
- const verovalBpw26Image = "https://cdn.hartmann.info/product/40385_43.jpg";
12
- const bosoMedicusSystemImage = "https://www.boso.de/fileadmin/_processed_/0/b/csm_medicus_system_1019_9ce057ffcc.png";
13
- const visomatComfortSoftBtImage = "https://www.visomat.de/wp-content/uploads/2023/10/prd_slider_comfort-soft-BT.jpg";
14
26
 
15
27
  // Official Bluetooth SIG combination mark downloaded from the Bluetooth media kit.
16
28
  const bluetoothSigLogo = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0ibG9nbyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMzYwIDE0NCI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiAgICAgIC5jbHMtMSB7CiAgICAgICAgZmlsbDogI2ZmZjsKICAgICAgfQoKICAgICAgLmNscy0yIHsKICAgICAgICBmaWxsOiAjMDA4MmZjOwogICAgICB9CgogICAgICAuY2xzLTIsIC5jbHMtMyB7CiAgICAgICAgZmlsbC1ydWxlOiBldmVub2RkOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8ZyBpZD0iQmx1ZXRvb3RoIj4KICAgIDxwYXRoIGNsYXNzPSJjbHMtMyIgZD0iTTk0LjE3LDc1LjE5aDMuMjZjNi4wMiwwLDguMywzLjAxLDguMyw5LjAzcy0xLjk1LDkuMDMtNy4zMiw5LjAzaC00LjIzdi0xOC4wN2gwWk05NC4xNyw1MS4xaDMuODNjNC40OCwwLDYuNTksMi44NSw2LjU5LDguMywwLDQuODgtMi45Myw3LjQ5LTYuNzUsNy40OWgtMy42NnYtMTUuNzloMFpNODQuMDgsMTAxLjU2aDE1Ljk1YzExLjQ3LDAsMTUuNzktNy4zMiwxNS43O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9Ik00MS44Miw1MC42MWw3LjA0LDcuMDQtNy4wMyw3LjAzdi0xNC4wN2gwWk00MS44Miw5My43MWw3LjA0LTcuMDQtNy4wMy03LjAzdjE0LjA3aDBaTTM0LjMxLDcyLjE2bC0xNS4yMi0xNS4yNiw0LjQxLTQuNDEsMTIuMTMsMTIuMTN2LTI5LjA2bDIyLjA1LDIyLjA1LTE0LjU2LDE0LjU2LDE0LjU2LDE0LjU2LTIyLjA1LDIyLjA1di0yOS4wNmwtMTIuMTMsMTIuMTMtNC40MS00LjQxLDE1LjIyLTE1LjI2aDBaTTM4LjM5LDExNC43M2MxOC41OSwwLDMxLjQtOC44MywzMS40LTQyLjU3cy0xMi44MS00Mi41Ny0zMS40LTM0LjU3UzYuOTgsMzguNDIsNi45OCw3Mi4xNnMxMi44Miw0Mi41NywzMS40MSw0Mi41N2gwWiIvPgogIDwvZz4KPC9zdmc+";
17
- const bundledAssetCredit = "OVOK Mobile SDK bundled image asset: src/modules/bt-device/constants/device-images.ts";
18
29
  const bluetoothSigAssetCredit = "Bluetooth SIG official brand assets: https://www.bluetooth.com/media/";
19
- 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";
20
- const hartmannEcgCredit = "HARTMANN official product image: https://www.hartmann.info/es-es/productos/monitorizaci%C3%B3n/electrocardiograma/veroval%C2%AE-ecg";
21
- 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";
22
- 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";
23
- const bosoMedicusSystemCredit = "boso official product image: https://www.boso.de/en/products-for-home-users/blood-pressure-instruments/boso-medicus-system";
24
- const visomatComfortSoftBtCredit = "visomat official product image: https://www.visomat.de/produkte/comfort-soft-bt/";
25
30
 
26
31
  /**
27
32
  * Concrete devices and device families supported by the Bluetooth module.
@@ -36,113 +41,113 @@ const Devices = exports.Devices = [{
36
41
  nameKey: "devices.catalog.viatom-bp2.name",
37
42
  manufacturer: "Viatom (Lepu Medical)",
38
43
  manufacturerKey: "devices.catalog.manufacturers.viatom",
39
- logo: _deviceImages.deviceImages.viatomWellueArmfitDeviceImage,
40
- creditsForImage: bundledAssetCredit
44
+ logo: _supportedDeviceCatalogAssets.viatomBp2Image,
45
+ creditsForImage: _supportedDeviceCatalogAssets.viatomBloodPressureCredit
41
46
  }, {
42
47
  name: "Viatom F4 / Lescale",
43
48
  nameKey: "devices.catalog.viatom-f4-lescale.name",
44
49
  manufacturer: "Viatom (Lepu Medical)",
45
50
  manufacturerKey: "devices.catalog.manufacturers.viatom",
46
- logo: _deviceImages.deviceImages.viatomScaleDeviceImage,
47
- creditsForImage: bundledAssetCredit
51
+ logo: _supportedDeviceCatalogAssets.viatomF4Image,
52
+ creditsForImage: _supportedDeviceCatalogAssets.viatomBodyScaleCredit
48
53
  }, {
49
54
  name: "Viatom OxySmart / PC60WF",
50
55
  nameKey: "devices.catalog.viatom-oxysmart-pc60wf.name",
51
56
  manufacturer: "Viatom (Lepu Medical)",
52
57
  manufacturerKey: "devices.catalog.manufacturers.viatom",
53
- logo: _deviceImages.deviceImages.viatomWellueOxySmartDeviceImage,
54
- creditsForImage: bundledAssetCredit
58
+ logo: _supportedDeviceCatalogAssets.viatomO2RingImage,
59
+ creditsForImage: _supportedDeviceCatalogAssets.viatomOximeterCredit
55
60
  }, {
56
61
  name: "Contec BC401 / BC01",
57
62
  nameKey: "devices.catalog.contec-bc401-bc01.name",
58
63
  manufacturer: "Contec Medical Systems",
59
64
  manufacturerKey: "devices.catalog.manufacturers.contec",
60
65
  logo: _deviceImages.deviceImages.bc401DeviceImage,
61
- creditsForImage: bundledAssetCredit
66
+ creditsForImage: _supportedDeviceCatalogAssets.contecCredit
62
67
  }, {
63
68
  name: "Veroval duo control",
64
69
  nameKey: "devices.catalog.veroval-duo-control.name",
65
70
  manufacturer: "HARTMANN",
66
71
  manufacturerKey: "devices.catalog.manufacturers.hartmann",
67
72
  logo: verovalDuoControlImage,
68
- creditsForImage: hartmannDuoControlCredit
73
+ creditsForImage: _supportedDeviceCatalogAssets.hartmannDuoControlCredit
69
74
  }, {
70
75
  name: "Veroval ECG",
71
76
  nameKey: "devices.catalog.veroval-ecg.name",
72
77
  manufacturer: "HARTMANN",
73
78
  manufacturerKey: "devices.catalog.manufacturers.hartmann",
74
79
  logo: verovalEcgImage,
75
- creditsForImage: hartmannEcgCredit
80
+ creditsForImage: _supportedDeviceCatalogAssets.hartmannEcgCredit
76
81
  }, {
77
82
  name: "Veroval compact+ BPU26",
78
83
  nameKey: "devices.catalog.veroval-compact-bpu26.name",
79
84
  manufacturer: "HARTMANN",
80
85
  manufacturerKey: "devices.catalog.manufacturers.hartmann",
81
- logo: verovalBpu26Image,
82
- creditsForImage: hartmannBpu26Credit
86
+ logo: _supportedDeviceCatalogAssets.verovalBpu26Image,
87
+ creditsForImage: _supportedDeviceCatalogAssets.hartmannBpu26Credit
83
88
  }, {
84
89
  name: "Veroval compact+ BPW26",
85
90
  nameKey: "devices.catalog.veroval-compact-bpw26.name",
86
91
  manufacturer: "HARTMANN",
87
92
  manufacturerKey: "devices.catalog.manufacturers.hartmann",
88
- logo: verovalBpw26Image,
89
- creditsForImage: hartmannBpw26Credit
93
+ logo: _supportedDeviceCatalogAssets.verovalBpw26Image,
94
+ creditsForImage: _supportedDeviceCatalogAssets.hartmannBpw26Credit
90
95
  }, {
91
96
  name: "boso medicus system",
92
97
  nameKey: "devices.catalog.boso-medicus-system.name",
93
98
  manufacturer: "BOSCH + SOHN GmbH u. Co. KG",
94
99
  manufacturerKey: "devices.catalog.manufacturers.boso",
95
- logo: bosoMedicusSystemImage,
96
- creditsForImage: bosoMedicusSystemCredit
100
+ logo: _supportedDeviceCatalogAssets.bosoMedicusSystemImage,
101
+ creditsForImage: _supportedDeviceCatalogAssets.bosoMedicusSystemCredit
97
102
  }, {
98
103
  name: "visomat comfort soft BT",
99
104
  nameKey: "devices.catalog.visomat-comfort-soft-bt.name",
100
105
  manufacturer: "UEBE Medical GmbH",
101
106
  manufacturerKey: "devices.catalog.manufacturers.uebe",
102
- logo: visomatComfortSoftBtImage,
103
- creditsForImage: visomatComfortSoftBtCredit
107
+ logo: _supportedDeviceCatalogAssets.visomatComfortSoftBtImage,
108
+ creditsForImage: _supportedDeviceCatalogAssets.visomatComfortSoftBtCredit
104
109
  }, {
105
110
  name: "AOJ-20A",
106
111
  nameKey: "devices.catalog.aoj-20a.name",
107
112
  manufacturer: "AOJ Medical",
108
113
  manufacturerKey: "devices.catalog.manufacturers.aoj",
109
- logo: _deviceImages.deviceImages.aoj20aDeviceImage,
110
- creditsForImage: bundledAssetCredit
114
+ logo: _supportedDeviceCatalogAssets.viatomAojImage,
115
+ creditsForImage: _supportedDeviceCatalogAssets.aojCredit
111
116
  }, {
112
117
  name: "Viatom BP2A / BP2T / BP2W",
113
118
  nameKey: "devices.catalog.viatom-bp2-family.name",
114
119
  manufacturer: "Viatom (Lepu Medical)",
115
120
  manufacturerKey: "devices.catalog.manufacturers.viatom",
116
- logo: _deviceImages.deviceImages.viatomDeviceSmallImage,
117
- creditsForImage: bundledAssetCredit
121
+ logo: _supportedDeviceCatalogAssets.viatomBp2Image,
122
+ creditsForImage: _supportedDeviceCatalogAssets.viatomBloodPressureCredit
118
123
  }, {
119
124
  name: "Viatom BP3 series",
120
125
  nameKey: "devices.catalog.viatom-bp3-series.name",
121
126
  manufacturer: "Viatom (Lepu Medical)",
122
127
  manufacturerKey: "devices.catalog.manufacturers.viatom",
123
- logo: _deviceImages.deviceImages.viatomDeviceSmallImage,
124
- creditsForImage: bundledAssetCredit
128
+ logo: _supportedDeviceCatalogAssets.viatomBp3Image,
129
+ creditsForImage: _supportedDeviceCatalogAssets.viatomBp3Credit
125
130
  }, {
126
131
  name: "Viatom O2Ring / Oxyfit / KidsO2 / BabyO2",
127
132
  nameKey: "devices.catalog.viatom-oximeters.name",
128
133
  manufacturer: "Viatom (Lepu Medical)",
129
134
  manufacturerKey: "devices.catalog.manufacturers.viatom",
130
- logo: _deviceImages.deviceImages.viatomWellueOxyfitDeviceImage,
131
- creditsForImage: bundledAssetCredit
135
+ logo: _supportedDeviceCatalogAssets.viatomO2RingImage,
136
+ creditsForImage: _supportedDeviceCatalogAssets.viatomOximeterCredit
132
137
  }, {
133
138
  name: "Viatom ER1 / ER2 / ER3",
134
139
  nameKey: "devices.catalog.viatom-er-family.name",
135
140
  manufacturer: "Viatom (Lepu Medical)",
136
141
  manufacturerKey: "devices.catalog.manufacturers.viatom",
137
- logo: _deviceImages.deviceImages.viatomEcgButtonDeviceImage,
138
- creditsForImage: bundledAssetCredit
142
+ logo: _supportedDeviceCatalogAssets.viatomEr1Image,
143
+ creditsForImage: _supportedDeviceCatalogAssets.viatomEcgCredit
139
144
  }, {
140
145
  name: "Viatom Lepod / LepodPro",
141
146
  nameKey: "devices.catalog.viatom-lepod-family.name",
142
147
  manufacturer: "Viatom (Lepu Medical)",
143
148
  manufacturerKey: "devices.catalog.manufacturers.viatom",
144
- logo: _deviceImages.deviceImages.viatomDeviceSmallImage,
145
- creditsForImage: bundledAssetCredit
149
+ logo: _supportedDeviceCatalogAssets.viatomEr1Image,
150
+ creditsForImage: _supportedDeviceCatalogAssets.viatomEcgCredit
146
151
  }, {
147
152
  name: "Bluetooth SIG blood-pressure devices",
148
153
  nameKey: "devices.catalog.bluetooth-sig.blood-pressure.name",
@@ -178,5 +183,156 @@ const Devices = exports.Devices = [{
178
183
  manufacturerKey: "devices.catalog.manufacturers.any-compliant",
179
184
  logo: bluetoothSigLogo,
180
185
  creditsForImage: bluetoothSigAssetCredit
181
- }];
186
+ }, ..._supportedDeviceCatalogEntries.additionalSupportedDevices];
187
+ const customId = name => `catalog-${name.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "")}`;
188
+ const definitionsFor = name => {
189
+ if (name === "Viatom BP2") {
190
+ return {
191
+ acceptedDevices: [_integratedDevices.IntegratedDevices.BP2],
192
+ measurementTypes: [_core.MeasurementTypeKey.bloodPressure]
193
+ };
194
+ }
195
+ if (name.includes("BP2A") || name.includes("BP2T") || name.includes("BP2W")) {
196
+ return {
197
+ acceptedDevices: ["BP2A", "BP2T", "BP2W"].map(model => (0, _viatomBpMonitors.viatomBpMonitor)(model, {})),
198
+ measurementTypes: [_core.MeasurementTypeKey.bloodPressure]
199
+ };
200
+ }
201
+ if (name === "Viatom BP3 series" || /^BP3/i.test(name)) {
202
+ return {
203
+ acceptedDevices: [(0, _viatomBpMonitors.viatomBpMonitor)(name.replace(" series", ""), {})],
204
+ measurementTypes: [_core.MeasurementTypeKey.bloodPressure]
205
+ };
206
+ }
207
+ if (name.includes("ER1")) {
208
+ return {
209
+ acceptedDevices: [(0, _viatomEcgRecorders.er1Recorder)(name.split(" /")[0], {})],
210
+ measurementTypes: [_core.MeasurementTypeKey.heartRate, _core.MeasurementTypeKey.ecg]
211
+ };
212
+ }
213
+ if (name.includes("ER2")) {
214
+ return {
215
+ acceptedDevices: [(0, _viatomEcgRecorders.er2Recorder)(name.split(" /")[0], {})],
216
+ measurementTypes: [_core.MeasurementTypeKey.heartRate, _core.MeasurementTypeKey.ecg]
217
+ };
218
+ }
219
+ if (name.includes("ER3")) {
220
+ return {
221
+ acceptedDevices: [(0, _viatomEcgRecorders.er3Recorder)(name.split(" /")[0], {})],
222
+ measurementTypes: [_core.MeasurementTypeKey.heartRate, _core.MeasurementTypeKey.ecg]
223
+ };
224
+ }
225
+ if (name === "Viatom Lepod / LepodPro") {
226
+ return {
227
+ acceptedDevices: [(0, _viatomLepod.lepodMonitor)("Lepod", {})],
228
+ measurementTypes: [_core.MeasurementTypeKey.heartRate, _core.MeasurementTypeKey.ecg, _core.MeasurementTypeKey.bloodOxygenPulseRate, _core.MeasurementTypeKey.respiratoryRate, _core.MeasurementTypeKey.temperature]
229
+ };
230
+ }
231
+ if (name === "Veroval compact+ BPU26") {
232
+ return {
233
+ acceptedDevices: [(0, _verovalBpMonitors.bpu26Monitor)({})],
234
+ measurementTypes: [_core.MeasurementTypeKey.bloodPressure]
235
+ };
236
+ }
237
+ if (name === "Veroval compact+ BPW26") {
238
+ return {
239
+ acceptedDevices: [(0, _verovalBpMonitors.bpw26Monitor)({})],
240
+ measurementTypes: [_core.MeasurementTypeKey.bloodPressure]
241
+ };
242
+ }
243
+ if (name === "boso medicus system") {
244
+ return {
245
+ acceptedDevices: [(0, _bosoMedicus.bosoMedicusMonitor)({})],
246
+ measurementTypes: [_core.MeasurementTypeKey.bloodPressure]
247
+ };
248
+ }
249
+ if (name === "visomat comfort soft BT") {
250
+ return {
251
+ acceptedDevices: [(0, _visomatComfortSoftBt.visomatComfortSoftBtMonitor)({})],
252
+ measurementTypes: [_core.MeasurementTypeKey.bloodPressure]
253
+ };
254
+ }
255
+ if (name === "AOJ-20A") {
256
+ return {
257
+ acceptedDevices: [(0, _aojThermometers.aoj20aThermometer)({})],
258
+ measurementTypes: [_core.MeasurementTypeKey.temperature]
259
+ };
260
+ }
261
+ if (name.includes("O2Ring") || name.includes("Oxyfit") || name.includes("KidsO2") || name.includes("BabyO2")) {
262
+ return {
263
+ acceptedDevices: [(0, _viatomOximeters.viatomOximeter)(name.split(" /")[0], {})],
264
+ measurementTypes: [_core.MeasurementTypeKey.bloodOxygenPulseRate]
265
+ };
266
+ }
267
+ if (name.includes("blood-pressure")) {
268
+ return {
269
+ acceptedDevices: [(0, _standardGattDevices.standardBloodPressureDevice)({})],
270
+ measurementTypes: [_core.MeasurementTypeKey.bloodPressure]
271
+ };
272
+ }
273
+ if (name.includes("thermometers")) {
274
+ return {
275
+ acceptedDevices: [(0, _standardGattDevices.standardThermometerDevice)({})],
276
+ measurementTypes: [_core.MeasurementTypeKey.temperature]
277
+ };
278
+ }
279
+ if (name.includes("weight scales")) {
280
+ return {
281
+ acceptedDevices: [(0, _standardGattDevices.standardWeightScaleDevice)({})],
282
+ measurementTypes: [_core.MeasurementTypeKey.bodyWeight]
283
+ };
284
+ }
285
+ if (name.includes("pulse oximeters")) {
286
+ return {
287
+ acceptedDevices: [(0, _standardGattDevices.standardPulseOximeterDevice)({})],
288
+ measurementTypes: [_core.MeasurementTypeKey.bloodOxygenPulseRate]
289
+ };
290
+ }
291
+ if (name.includes("heart-rate")) {
292
+ return {
293
+ acceptedDevices: [(0, _standardGattDevices.standardHeartRateDevice)({})],
294
+ measurementTypes: [_core.MeasurementTypeKey.heartRate]
295
+ };
296
+ }
297
+ const builtIn = {
298
+ "Viatom F4 / Lescale": _integratedDevices.IntegratedDevices.F4,
299
+ "Viatom OxySmart / PC60WF": _integratedDevices.IntegratedDevices.PC60WF,
300
+ "Contec BC401 / BC01": _integratedDevices.IntegratedDevices.BC01,
301
+ "TaiDoc TD4216": _integratedDevices.IntegratedDevices.TAIDOC_GLUCOSE,
302
+ "GlucoCheck Gold": _integratedDevices.IntegratedDevices.GLUCOCHECK,
303
+ "TeleBGM Gen1 BLE": _integratedDevices.IntegratedDevices.BGM,
304
+ "Veroval duo control": _integratedDevices.IntegratedDevices.VEROVAL_DUO_CONTROL,
305
+ "Veroval ECG": _integratedDevices.IntegratedDevices.VEROVAL_ECG
306
+ };
307
+ const integrated = builtIn[name];
308
+ const measurementTypes = {
309
+ [_integratedDevices.IntegratedDevices.F4]: [_core.MeasurementTypeKey.bodyWeight],
310
+ [_integratedDevices.IntegratedDevices.PC60WF]: [_core.MeasurementTypeKey.bloodOxygenPulseRate],
311
+ [_integratedDevices.IntegratedDevices.BC01]: [_core.MeasurementTypeKey.uricAcid],
312
+ [_integratedDevices.IntegratedDevices.TAIDOC_GLUCOSE]: [_core.MeasurementTypeKey.bloodGlucose],
313
+ [_integratedDevices.IntegratedDevices.GLUCOCHECK]: [_core.MeasurementTypeKey.bloodGlucose],
314
+ [_integratedDevices.IntegratedDevices.BGM]: [_core.MeasurementTypeKey.bloodGlucose],
315
+ [_integratedDevices.IntegratedDevices.VEROVAL_DUO_CONTROL]: [_core.MeasurementTypeKey.bloodPressure],
316
+ [_integratedDevices.IntegratedDevices.VEROVAL_ECG]: [_core.MeasurementTypeKey.ecg]
317
+ };
318
+ return integrated ? {
319
+ acceptedDevices: [integrated],
320
+ measurementTypes: measurementTypes[integrated] ?? [],
321
+ manualUrl: _deviceInstructionPdfs.DEVICE_INSTRUCTION_PDFS[integrated] || undefined
322
+ } : {
323
+ acceptedDevices: [],
324
+ measurementTypes: []
325
+ };
326
+ };
327
+
328
+ /** One joined catalog for apps that need names, artwork and ready-made accept-list entries. */
329
+ const supportedDevices = exports.supportedDevices = Devices.map(device => {
330
+ const definitions = definitionsFor(device.name);
331
+ return {
332
+ ...device,
333
+ id: customId(device.name),
334
+ ...definitions
335
+ };
336
+ });
337
+ const SUPPORTED_DEVICES = exports.SUPPORTED_DEVICES = supportedDevices;
182
338
  //# sourceMappingURL=supported-devices.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_deviceImages","require","verovalDuoControlImage","verovalEcgImage","verovalBpu26Image","verovalBpw26Image","bosoMedicusSystemImage","visomatComfortSoftBtImage","bluetoothSigLogo","bundledAssetCredit","bluetoothSigAssetCredit","hartmannDuoControlCredit","hartmannEcgCredit","hartmannBpu26Credit","hartmannBpw26Credit","bosoMedicusSystemCredit","visomatComfortSoftBtCredit","Devices","exports","name","nameKey","manufacturer","manufacturerKey","logo","deviceImages","viatomWellueArmfitDeviceImage","creditsForImage","viatomScaleDeviceImage","viatomWellueOxySmartDeviceImage","bc401DeviceImage","aoj20aDeviceImage","viatomDeviceSmallImage","viatomWellueOxyfitDeviceImage","viatomEcgButtonDeviceImage"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/supported-devices.ts"],"mappings":";;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AAWA,MAAMC,sBAAsB,GAC1B,sIAAs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eAAe,EAAE,6CAA6C;EAC9DC,IAAI,EAAEf,gBAAgB;EACtBkB,eAAe,EAAEhB;AACnB,CAAC,EACD;EACES,IAAI,EAAE,4BAA4B;EAClCC,OAAO,EAAE,iDAAiD;EAC1DC,YAAY,EAAE,4BAA4B;EAC1CC,eAAe,EAAE,6CAA6C;EAC9DC,IAAI,EAAEf,gBAAgB;EACtBkB,eAAe,EAAEhB;AACnB,CAAC,EACD;EACES,IAAI,EAAE,6BAA6B;EACnCC,OAAO,EAAE,kDAAkD;EAC3DC,YAAY,EAAE,4BAA4B;EAC1CC,eAAe,EAAE,6CAA6C;EAC9DC,IAAI,EAAEf,gBAAgB;EACtBkB,eAAe,EAAEhB;AACnB,CAAC,EACD;EACES,IAAI,EAAE,+BAA+B;EACrCC,OAAO,EAAE,oDAAoD;EAC7DC,YAAY,EAAE,4BAA4B;EAC1CC,eAAe,EAAE,6CAA6C;EAC9DC,IAAI,EAAEf,gBAAgB;EACtBkB,eAAe,EAAEhB;AACnB,CAAC,EACD;EACES,IAAI,EAAE,mCAAmC;EACzCC,OAAO,EAAE,+CAA+C;EACxDC,YAAY,EAAE,4BAA4B;EAC1CC,eAAe,EAAE,6CAA6C;EAC9DC,IAAI,EAAEf,gBAAgB;EACtBkB,eAAe,EAAEhB;AACnB,CAAC,CAC4C","ignoreList":[]}
1
+ {"version":3,"names":["_core","require","_aojThermometers","_bosoMedicus","_standardGattDevices","_visomatComfortSoftBt","_verovalBpMonitors","_viatomBpMonitors","_viatomEcgRecorders","_viatomLepod","_viatomOximeters","_integratedDevices","_deviceImages","_deviceInstructionPdfs","_supportedDeviceCatalogAssets","_supportedDeviceCatalogEntries","verovalDuoControlImage","verovalEcgImage","bluetoothSigLogo","bluetoothSigAssetCredit","Devices","exports","name","nameKey","manufacturer","manufacturerKey","logo","viatomBp2Image","creditsForImage","viatomBloodPressureCredit","viatomF4Image","viatomBodyScaleCredit","viatomO2RingImage","viatomOximeterCredit","deviceImages","bc401DeviceImage","contecCredit","hartmannDuoControlCredit","hartmannEcgCredit","verovalBpu26Image","hartmannBpu26Credit","verovalBpw26Image","hartmannBpw26Credit","bosoMedicusSystemImage","bosoMedicusSystemCredit","visomatComfortSoftBtImage","visomatComfortSoftBtCredit","viatomAojImage","aojCredit","viatomBp3Image","viatomBp3Credit","viatomEr1Image","viatomEcgCredit","additionalSupportedDevices","customId","toLowerCase","replace","definitionsFor","acceptedDevices","IntegratedDevices","BP2","measurementTypes","MeasurementTypeKey","bloodPressure","includes","map","model","viatomBpMonitor","test","er1Recorder","split","heartRate","ecg","er2Recorder","er3Recorder","lepodMonitor","bloodOxygenPulseRate","respiratoryRate","temperature","bpu26Monitor","bpw26Monitor","bosoMedicusMonitor","visomatComfortSoftBtMonitor","aoj20aThermometer","viatomOximeter","standardBloodPressureDevice","standardThermometerDevice","standardWeightScaleDevice","bodyWeight","standardPulseOximeterDevice","standardHeartRateDevice","builtIn","F4","PC60WF","BC01","TAIDOC_GLUCOSE","GLUCOCHECK","BGM","VEROVAL_DUO_CONTROL","VEROVAL_ECG","integrated","uricAcid","bloodGlucose","manualUrl","DEVICE_INSTRUCTION_PDFS","undefined","supportedDevices","device","definitions","id","SUPPORTED_DEVICES"],"sourceRoot":"../../../../../src","sources":["modules/bt-device/constants/supported-devices.ts"],"mappings":";;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AAIA,IAAAC,gBAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,oBAAA,GAAAH,OAAA;AACA,IAAAI,qBAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,iBAAA,GAAAN,OAAA;AACA,IAAAO,mBAAA,GAAAP,OAAA;AACA,IAAAQ,YAAA,GAAAR,OAAA;AACA,IAAAS,gBAAA,GAAAT,OAAA;AACA,IAAAU,kBAAA,GAAAV,OAAA;AAEA,IAAAW,aAAA,GAAAX,OAAA;AACA,IAAAY,sBAAA,GAAAZ,OAAA;A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kB,CAACU,GAAG;EAC1D,CAAC;EAED,OAAO4B,UAAU,GACb;IACE1C,eAAe,EAAE,CAAC0C,UAAU,CAAC;IAC7BvC,gBAAgB,EAAEA,gBAAgB,CAACuC,UAAU,CAAC,IAAI,EAAE;IACpDG,SAAS,EAAEC,8CAAuB,CAACJ,UAAU,CAAC,IAAIK;EACpD,CAAC,GACD;IAAE/C,eAAe,EAAE,EAAE;IAAEG,gBAAgB,EAAE;EAAG,CAAC;AACnD,CAAC;;AAED;AACA,MAAM6C,gBAAsD,GAAArF,OAAA,CAAAqF,gBAAA,GAAGtF,OAAO,CAAC6C,GAAG,CAAE0C,MAAM,IAAK;EACrF,MAAMC,WAAW,GAAGnD,cAAc,CAACkD,MAAM,CAACrF,IAAI,CAAC;EAE/C,OAAO;IACL,GAAGqF,MAAM;IACTE,EAAE,EAAEvD,QAAQ,CAACqD,MAAM,CAACrF,IAAI,CAAC;IACzB,GAAGsF;EACL,CAAC;AACH,CAAC,CAAC;AAEF,MAAME,iBAAiB,GAAAzF,OAAA,CAAAyF,iBAAA,GAAGJ,gBAAgB","ignoreList":[]}
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.BluetoothDevicePicker = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _index = require("../../theme/index.js");
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ /** A small theme-aware picker for BTManager's multi-device auto-connect callback. */
11
+ const BluetoothDevicePicker = ({
12
+ devices,
13
+ visible,
14
+ title = "Choose a device",
15
+ onSelect,
16
+ onDismiss
17
+ }) => {
18
+ const theme = (0, _index.useAppTheme)();
19
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Modal, {
20
+ visible: visible,
21
+ transparent: true,
22
+ animationType: "slide",
23
+ onRequestClose: onDismiss,
24
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.SafeAreaView, {
25
+ style: styles.overlay,
26
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
27
+ style: [styles.card, {
28
+ backgroundColor: theme.colors.background
29
+ }],
30
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
31
+ style: [styles.title, {
32
+ color: theme.colors.onBackground
33
+ }],
34
+ children: title
35
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.FlatList, {
36
+ data: devices,
37
+ keyExtractor: device => device.id,
38
+ renderItem: ({
39
+ item
40
+ }) => {
41
+ const name = item.device.localName || item.device.name || String(item.deviceData.name);
42
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
43
+ accessibilityRole: "button",
44
+ onPress: () => onSelect(item),
45
+ style: ({
46
+ pressed
47
+ }) => [styles.row, pressed && styles.pressed],
48
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
49
+ style: {
50
+ color: theme.colors.onBackground
51
+ },
52
+ children: name
53
+ })
54
+ });
55
+ }
56
+ })]
57
+ })
58
+ })
59
+ });
60
+ };
61
+ exports.BluetoothDevicePicker = BluetoothDevicePicker;
62
+ const styles = _reactNative.StyleSheet.create({
63
+ overlay: {
64
+ flex: 1,
65
+ justifyContent: "flex-end",
66
+ backgroundColor: "#0008"
67
+ },
68
+ card: {
69
+ maxHeight: "70%",
70
+ padding: 20,
71
+ borderTopLeftRadius: 18,
72
+ borderTopRightRadius: 18
73
+ },
74
+ title: {
75
+ fontSize: 18,
76
+ fontWeight: "700",
77
+ marginBottom: 12
78
+ },
79
+ row: {
80
+ paddingVertical: 16,
81
+ borderBottomWidth: _reactNative.StyleSheet.hairlineWidth,
82
+ borderBottomColor: "#8888"
83
+ },
84
+ pressed: {
85
+ opacity: 0.6
86
+ }
87
+ });
88
+ //# sourceMappingURL=bluetooth-device-picker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_index","_jsxRuntime","BluetoothDevicePicker","devices","visible","title","onSelect","onDismiss","theme","useAppTheme","jsx","Modal","transparent","animationType","onRequestClose","children","SafeAreaView","style","styles","overlay","jsxs","View","card","backgroundColor","colors","background","Text","color","onBackground","FlatList","data","keyExtractor","device","id","renderItem","item","name","localName","String","deviceData","Pressable","accessibilityRole","onPress","pressed","row","exports","StyleSheet","create","flex","justifyContent","maxHeight","padding","borderTopLeftRadius","borderTopRightRadius","fontSize","fontWeight","marginBottom","paddingVertical","borderBottomWidth","hairlineWidth","borderBottomColor","opacity"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/components/bluetooth-device-picker.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAUA,IAAAC,MAAA,GAAAD,OAAA;AAA0C,IAAAE,WAAA,GAAAF,OAAA;AAW1C;AACO,MAAMG,qBAAqB,GAAGA,CAAC;EACpCC,OAAO;EACPC,OAAO;EACPC,KAAK,GAAG,iBAAiB;EACzBC,QAAQ;EACRC;AAC0B,CAAC,KAAK;EAChC,MAAMC,KAAK,GAAG,IAAAC,kBAAW,EAAC,CAAC;EAE3B,oBACE,IAAAR,WAAA,CAAAS,GAAA,EAACZ,YAAA,CAAAa,KAAK;IAACP,OAAO,EAAEA,OAAQ;IAACQ,WAAW;IAACC,aAAa,EAAC,OAAO;IAACC,cAAc,EAAEP,SAAU;IAAAQ,QAAA,eACnF,IAAAd,WAAA,CAAAS,GAAA,EAACZ,YAAA,CAAAkB,YAAY;MAACC,KAAK,EAAEC,MAAM,CAACC,OAAQ;MAAAJ,QAAA,eAClC,IAAAd,WAAA,CAAAmB,IAAA,EAACtB,YAAA,CAAAuB,IAAI;QAACJ,KAAK,EAAE,CAACC,MAAM,CAACI,IAAI,EAAE;UAAEC,eAAe,EAAEf,KAAK,CAACgB,MAAM,CAACC;QAAW,CAAC,CAAE;QAAAV,QAAA,gBACvE,IAAAd,WAAA,CAAAS,GAAA,EAACZ,YAAA,CAAA4B,IAAI;UAACT,KAAK,EAAE,CAACC,MAAM,CAACb,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,CAAC;EAC1ED,IAAI,EAAE;IAAE4B,SAAS,EAAE,KAAK;IAAEC,OAAO,EAAE,EAAE;IAAEC,mBAAmB,EAAE,EAAE;IAAEC,oBAAoB,EAAE;EAAG,CAAC;EAC1FhD,KAAK,EAAE;IAAEiD,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,KAAK;IAAEC,YAAY,EAAE;EAAG,CAAC;EAC5DZ,GAAG,EAAE;IAAEa,eAAe,EAAE,EAAE;IAAEC,iBAAiB,EAAEZ,uBAAU,CAACa,aAAa;IAAEC,iBAAiB,EAAE;EAAQ,CAAC;EACrGjB,OAAO,EAAE;IAAEkB,OAAO,EAAE;EAAI;AAC1B,CAAC,CAAC","ignoreList":[]}
@@ -56,6 +56,7 @@ const BTProviderChildWrapper = exports.BTProviderChildWrapper = /*#__PURE__*/Rea
56
56
  }) : null;
57
57
  btManagerRef.current = btManager;
58
58
  backgroundSyncCoordinatorRef.current = coordinator;
59
+ btManager.setBackgroundScanEnabled(isBackgroundEnabled && _reactNative.AppState.currentState !== "active");
59
60
  btManager.startScan();
60
61
  return () => {
61
62
  (0, _sentryLogger.sentryLogger)("info", "Destroying scan service");
@@ -144,7 +145,10 @@ const BTProviderChildWrapper = exports.BTProviderChildWrapper = /*#__PURE__*/Rea
144
145
  if (restoredState?.connectedPeripherals.length) {
145
146
  btManagerRef.current?.restoreDevices(restoredState.connectedPeripherals);
146
147
  }
147
- void backgroundSyncCoordinatorRef.current?.flush().catch(error => {
148
+ void backgroundSyncCoordinatorRef.current?.flush({
149
+ includeExhausted: true,
150
+ resetExhausted: true
151
+ }).catch(error => {
148
152
  onError?.({
149
153
  error: error instanceof Error ? error : String(error)
150
154
  });
@@ -152,15 +156,18 @@ const BTProviderChildWrapper = exports.BTProviderChildWrapper = /*#__PURE__*/Rea
152
156
  }, [acceptedDevices, backgroundSync?.enabled, backgroundSync?.restoreStateIdentifier, onError]);
153
157
  React.useEffect(() => {
154
158
  const listener = _reactNative.AppState.addEventListener("change", state => {
155
- if (state !== "active") {
156
- return;
157
- }
159
+ btManagerRef.current?.setBackgroundScanEnabled(backgroundSyncRef.current?.enabled === true && state !== "active");
158
160
  btManagerRef.current?.startScan();
159
- void backgroundSyncCoordinatorRef.current?.flush().catch(error => {
160
- onError?.({
161
- error: error instanceof Error ? error : String(error)
161
+ if (state === "active") {
162
+ void backgroundSyncCoordinatorRef.current?.flush({
163
+ includeExhausted: true,
164
+ resetExhausted: true
165
+ }).catch(error => {
166
+ onError?.({
167
+ error: error instanceof Error ? error : String(error)
168
+ });
162
169
  });
163
- });
170
+ }
164
171
  });
165
172
  return () => {
166
173
  listener.remove();
@@ -1 +1 @@
1
- {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_useDeviceList","_sentryLogger","_backgroundBleManager","_backgroundServiceUuids","_backgroundSyncCoordinator","_btManager","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","BTProviderChildWrapper","exports","memo","bleManager","acceptedDevices","children","onDeviceFound","onError","onDeviceStatusChanged","onResult","backgroundSync","btManagerRef","useRef","backgroundSyncRef","backgroundSyncCoordinatorRef","setDeviceListItems","useDeviceList","current","useEffect","length","sentryLogger","currentBackgroundSync","isBackgroundEnabled","enabled","backgroundOptions","backgroundEnabled","serviceUUIDs","getBackgroundServiceUUIDs","undefined","btManager","BTManager","coordinator","BackgroundSyncCoordinator","result","latest","startScan","destroy","maxRetries","retryBackoffMs","storage","storageKey","callback","data","enqueue","catch","error","Error","String","status","deviceData","measurementTypeKey","prev","newList","index","findIndex","item","deviceType","name","restoredState","getRestoredBleState","restoreStateIdentifier","connectedPeripherals","restoreDevices","flush","listener","AppState","addEventListener","state","remove","jsx","Fragment"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/components/bt-provider-child-wrapper.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,Y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C;IACJ,CAAC,CAAC;EACJ,CAAC,EAAE,CACDzC,eAAe,EACfM,cAAc,EAAEa,OAAO,EACvBb,cAAc,EAAEkD,sBAAsB,EACtCrD,OAAO,CACR,CAAC;EAEFrC,KAAK,CAACgD,SAAS,CAAC,MAAM;IACpB,MAAM8C,QAAQ,GAAGC,qBAAQ,CAACC,gBAAgB,CAAC,QAAQ,EAAGC,KAAK,IAAK;MAC9D,IAAIA,KAAK,KAAK,QAAQ,EAAE;QACtB;MACF;MACAxD,YAAY,CAACM,OAAO,EAAEkB,SAAS,CAAC,CAAC;MACjC,KAAKrB,4BAA4B,CAACG,OAAO,EAAE8C,KAAK,CAAC,CAAC,CAACnB,KAAK,CAAEC,KAAc,IAAK;QAC3EtC,OAAO,GAAG;UACRsC,KAAK,EAAEA,KAAK,YAAYC,KAAK,GAAGD,KAAK,GAAGE,MAAM,CAACF,KAAK;QACtD,CAAC,CAAC;MACJ,CAAC,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,MAAM;MACXmB,QAAQ,CAACI,MAAM,CAAC,CAAC;IACnB,CAAC;EACH,CAAC,EAAE,CAAC7D,OAAO,CAAC,CAAC;EAEb,oBAAO,IAAA3B,WAAA,CAAAyF,GAAA,EAAAzF,WAAA,CAAA0F,QAAA;IAAAjE,QAAA,EAAGA;EAAQ,CAAG,CAAC;AACxB,CACF,CAEsB","ignoreList":[]}
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_useDeviceList","_sentryLogger","_backgroundBleManager","_backgroundServiceUuids","_backgroundSyncCoordinator","_btManager","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","BTProviderChildWrapper","exports","memo","bleManager","acceptedDevices","children","onDeviceFound","onError","onDeviceStatusChanged","onResult","backgroundSync","btManagerRef","useRef","backgroundSyncRef","backgroundSyncCoordinatorRef","setDeviceListItems","useDeviceList","current","useEffect","length","sentryLogger","currentBackgroundSync","isBackgroundEnabled","enabled","backgroundOptions","backgroundEnabled","serviceUUIDs","getBackgroundServiceUUIDs","undefined","btManager","BTManager","coordinator","BackgroundSyncCoordinator","result","latest","setBackgroundScanEnabled","AppState","currentState","startScan","destroy","maxRetries","retryBackoffMs","storage","storageKey","callback","data","enqueue","catch","error","Error","String","status","deviceData","measurementTypeKey","prev","newList","index","findIndex","item","deviceType","name","restoredState","getRestoredBleState","restoreStateIdentifier","connectedPeripherals","restoreDevices","flush","includeExhausted","resetExhausted","listener","addEventListener","state","remove","jsx","Fragment"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/components/bt-provider-child-wrapper.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,qBAAA,GAAAJ,OAAA;AACA,IAAAK,uBAAA,GAAAL,OAAA;AACA,IAAAM,0BAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AAAmD,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAD,wBAAAU,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAZ,uBAAA,YAAAA,CAAAU,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAA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,CAAC,CAACrB,KAAK,CAAEC,KAAc,IAAK;UAC3BzC,OAAO,GAAG;YACRyC,KAAK,EAAEA,KAAK,YAAYC,KAAK,GAAGD,KAAK,GAAGE,MAAM,CAACF,KAAK;UACtD,CAAC,CAAC;QACJ,CAAC,CAAC;MACJ;IACF,CAAC,CAAC;IAEF,OAAO,MAAM;MACXqB,QAAQ,CAACG,MAAM,CAAC,CAAC;IACnB,CAAC;EACH,CAAC,EAAE,CAACjE,OAAO,CAAC,CAAC;EAEb,oBAAO,IAAA3B,WAAA,CAAA6F,GAAA,EAAA7F,WAAA,CAAA8F,QAAA;IAAArE,QAAA,EAAGA;EAAQ,CAAG,CAAC;AACxB,CACF,CAEsB","ignoreList":[]}
@@ -5,5 +5,5 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.integratedDevicesMap = void 0;
7
7
  var _integratedDevices = require("../types/integrated-devices.js");
8
- const integratedDevicesMap = exports.integratedDevicesMap = new Map([[/^BP2 \d{4}$/, _integratedDevices.IntegratedDevices.BP2], [/^F4$/, _integratedDevices.IntegratedDevices.F4], [/^Oxyfit \d{4}$/, _integratedDevices.IntegratedDevices.SPO2], [/^OxySmart \d{4}$/, _integratedDevices.IntegratedDevices.PC60WF], [/^AOJ-20A$/, _integratedDevices.IntegratedDevices.AOJ20A], [/^TAIDOC TD4216(?: \w+)?$/, _integratedDevices.IntegratedDevices.TAIDOC_GLUCOSE], [/^GlucoCheck Gold$/, _integratedDevices.IntegratedDevices.GLUCOCHECK], [/^FORA IR20$/, _integratedDevices.IntegratedDevices.FORATEMP], [/^TEMP$/, _integratedDevices.IntegratedDevices.ANDESFITTEMP], [/^two$/, _integratedDevices.IntegratedDevices.COSINUSS], [/^cmed$/, _integratedDevices.IntegratedDevices.CMED], [/^BC01\d{4}$/, _integratedDevices.IntegratedDevices.BC01], [/^FORA W550$/, _integratedDevices.IntegratedDevices.FORA_SCALE], [/^GBS-2012-B$/, _integratedDevices.IntegratedDevices.RPM_SCALE], [/^TAIDOC TD1107$/, _integratedDevices.IntegratedDevices.CLEVERTEMP], [/^PULMO80BEXPGC\d{6}$/, _integratedDevices.IntegratedDevices.SP80B], [/^Le S5$/, _integratedDevices.IntegratedDevices.S5], [/^TeleBGM Gen1 BLE$/, _integratedDevices.IntegratedDevices.BGM], [/^Veroval duo control$/i, _integratedDevices.IntegratedDevices.VEROVAL_DUO_CONTROL], [/^Veroval ECG$/i, _integratedDevices.IntegratedDevices.VEROVAL_ECG]]);
8
+ const integratedDevicesMap = exports.integratedDevicesMap = new Map([[/^BP2 \d{4}$/, _integratedDevices.IntegratedDevices.BP2], [/^F4$/, _integratedDevices.IntegratedDevices.F4], [/^Oxyfit \d{4}$/, _integratedDevices.IntegratedDevices.SPO2], [/^OxySmart \d{4}$/, _integratedDevices.IntegratedDevices.PC60WF], [/^AOJ-20A$/, _integratedDevices.IntegratedDevices.AOJ20A], [/^TAIDOC TD4216(?: \w+)?$/, _integratedDevices.IntegratedDevices.TAIDOC_GLUCOSE], [/^GlucoCheck Gold$/, _integratedDevices.IntegratedDevices.GLUCOCHECK], [/^FORA IR20$/, _integratedDevices.IntegratedDevices.FORATEMP], [/^TEMP$/, _integratedDevices.IntegratedDevices.ANDESFITTEMP], [/^two$/, _integratedDevices.IntegratedDevices.COSINUSS], [/^cmed$/, _integratedDevices.IntegratedDevices.CMED], [/^(?:BC01\d{4}|BC401BT)$/i, _integratedDevices.IntegratedDevices.BC01], [/^FORA W550$/, _integratedDevices.IntegratedDevices.FORA_SCALE], [/^GBS-2012-B$/, _integratedDevices.IntegratedDevices.RPM_SCALE], [/^TAIDOC TD1107$/, _integratedDevices.IntegratedDevices.CLEVERTEMP], [/^PULMO80BEXPGC\d{6}$/, _integratedDevices.IntegratedDevices.SP80B], [/^Le S5$/, _integratedDevices.IntegratedDevices.S5], [/^TeleBGM Gen1 BLE$/, _integratedDevices.IntegratedDevices.BGM], [/^Veroval duo control$/i, _integratedDevices.IntegratedDevices.VEROVAL_DUO_CONTROL], [/^Veroval ECG$/i, _integratedDevices.IntegratedDevices.VEROVAL_ECG]]);
9
9
  //# sourceMappingURL=integrated-devices-map.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_integratedDevices","require","integratedDevicesMap","exports","Map","IntegratedDevices","BP2","F4","SPO2","PC60WF","AOJ20A","TAIDOC_GLUCOSE","GLUCOCHECK","FORATEMP","ANDESFITTEMP","COSINUSS","CMED","BC01","FORA_SCALE","RPM_SCALE","CLEVERTEMP","SP80B","S5","BGM","VEROVAL_DUO_CONTROL","VEROVAL_ECG"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/constants/integrated-devices-map.ts"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAEO,MAAMC,oBAAoB,GAAAC,OAAA,CAAAD,oBAAA,GAAG,IAAIE,GAAG,CAA4B,CACrE,CAAC,aAAa,EAAEC,oCAAiB,CAACC,GAAG,CAAC,EACtC,CAAC,MAAM,EAAED,oCAAiB,CAACE,EAAE,CAAC,EAC9B,CAAC,gBAAgB,EAAEF,oCAAiB,CAACG,IAAI,CAAC,EAC1C,CAAC,kBAAkB,EAAEH,oCAAiB,CAACI,MAAM,CAAC,EAC9C,CAAC,WAAW,EAAEJ,oCAAiB,CAACK,MAAM,CAAC,EACvC,CAAC,0BAA0B,EAAEL,oCAAiB,CAACM,cAAc,CAAC,EAC9D,CAAC,mBAAmB,EAAEN,oCAAiB,CAACO,UAAU,CAAC,EACnD,CAAC,aAAa,EAAEP,oCAAiB,CAACQ,QAAQ,CAAC,EAC3C,CAAC,QAAQ,EAAER,oCAAiB,CAACS,YAAY,CAAC,EAC1C,CAAC,OAAO,EAAET,oCAAiB,CAACU,QAAQ,CAAC,EACrC,CAAC,QAAQ,EAAEV,oCAAiB,CAACW,IAAI,CAAC,EAClC,CAAC,aAAa,EAAEX,oCAAiB,CAACY,IAAI,CAAC,EACvC,CAAC,aAAa,EAAEZ,oCAAiB,CAACa,UAAU,CAAC,EAC7C,CAAC,cAAc,EAAEb,oCAAiB,CAACc,SAAS,CAAC,EAC7C,CAAC,iBAAiB,EAAEd,oCAAiB,CAACe,UAAU,CAAC,EACjD,CAAC,sBAAsB,EAAEf,oCAAiB,CAACgB,KAAK,CAAC,EACjD,CAAC,SAAS,EAAEhB,oCAAiB,CAACiB,EAAE,CAAC,EACjC,CAAC,oBAAoB,EAAEjB,oCAAiB,CAACkB,GAAG,CAAC,EAC7C,CAAC,wBAAwB,EAAElB,oCAAiB,CAACmB,mBAAmB,CAAC,EACjE,CAAC,gBAAgB,EAAEnB,oCAAiB,CAACoB,WAAW,CAAC,CAClD,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_integratedDevices","require","integratedDevicesMap","exports","Map","IntegratedDevices","BP2","F4","SPO2","PC60WF","AOJ20A","TAIDOC_GLUCOSE","GLUCOCHECK","FORATEMP","ANDESFITTEMP","COSINUSS","CMED","BC01","FORA_SCALE","RPM_SCALE","CLEVERTEMP","SP80B","S5","BGM","VEROVAL_DUO_CONTROL","VEROVAL_ECG"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/constants/integrated-devices-map.ts"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAEO,MAAMC,oBAAoB,GAAAC,OAAA,CAAAD,oBAAA,GAAG,IAAIE,GAAG,CAA4B,CACrE,CAAC,aAAa,EAAEC,oCAAiB,CAACC,GAAG,CAAC,EACtC,CAAC,MAAM,EAAED,oCAAiB,CAACE,EAAE,CAAC,EAC9B,CAAC,gBAAgB,EAAEF,oCAAiB,CAACG,IAAI,CAAC,EAC1C,CAAC,kBAAkB,EAAEH,oCAAiB,CAACI,MAAM,CAAC,EAC9C,CAAC,WAAW,EAAEJ,oCAAiB,CAACK,MAAM,CAAC,EACvC,CAAC,0BAA0B,EAAEL,oCAAiB,CAACM,cAAc,CAAC,EAC9D,CAAC,mBAAmB,EAAEN,oCAAiB,CAACO,UAAU,CAAC,EACnD,CAAC,aAAa,EAAEP,oCAAiB,CAACQ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