baldav/src-tauri
4aiman 9251c1dd90 ble: barometer on its own connection - simultaneous HR+baro, auto-connect, UI
Separate BleBaroService so the HR strap and the barometer each hold their own GATT link and
work at the same time (one adapter, several LE connections). Verified on device against a PC
BlueZ emulator of the sensor: BleHR and BleBaro deliver in parallel, no cross-talk.

- BleBaroService: dedicated baro connection (scan-before-connect + direct-connect fallback,
  ESS subscribe, writes ble_baro_data.json). MainActivity routes baro connects to it and
  auto-connects both HR (ble_device.json) and baro (baro_device.json) at start.
- Rust: ble_baro_disconnect, ble_save_baro_device.
- Settings: a 'Датчики (BLE)' section - heart-rate and barometer as separate rows with their
  own slots, bind/connect/unbind, and a live pressure/temperature/altitude readout.
- Tracking: altitude_baro_m stored per point, preferred in elevation stats (null without baro).
- Record screen: 'Высота' from the barometer (1 Hz, dot marker), temperature from the sensor.
- Fixes: direct-connect on scan timeout; Locale.US JSON (RU decimal comma broke the parse);
  parsing routed by characteristic (baro no longer written into the pulse); VR/HR stop returns
  to the tracks list instead of into details.
- tools/baro-sensor/emulate_baro.py: PC BlueZ peripheral that emulates the sensor for testing.

Emulator-verified only; real board still pending.
2026-10-30 22:46:26 +03:00
..
capabilities GPX export + GPS background recording fixes 2026-05-16 10:49:55 +03:00
gen/android/app ble: barometer on its own connection - simultaneous HR+baro, auto-connect, UI 2026-10-30 22:46:26 +03:00
icons Builds: any mix of targets and flags, Windows icon, router upload per file 2026-10-19 23:05:54 +03:00
src ble: barometer on its own connection - simultaneous HR+baro, auto-connect, UI 2026-10-30 22:46:26 +03:00
build.rs build: embed exact/fresh git hash (+ -dirty for uncommitted code) 2026-08-20 19:55:08 +03:00
Cargo.lock Hydration on by default + diagnostics + reliable alarm; calorie bank; balance chart scale 2026-10-26 15:05:31 +03:00
Cargo.toml Hydration on by default + diagnostics + reliable alarm; calorie bank; balance chart scale 2026-10-26 15:05:31 +03:00
tauri.conf.json Hydration on by default + diagnostics + reliable alarm; calorie bank; balance chart scale 2026-10-26 15:05:31 +03:00