baldav/frontend/js
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
..
baro.js ble: read DIY barometer (BaroBalDav) over BLE + firmware 2026-10-30 00:38:12 +03:00
bmr.js Sensors, walk limits, GPS fixes, water UI, manual routes, Gridnev products, OTA router 2026-06-18 22:54:45 +03:00
chzn.js ЧЗ scanner: switch decoder to zxing-wasm (ZXing-C++) for reliable DataMatrix 2026-08-27 09:42:05 +03:00
db.js ble: barometer on its own connection - simultaneous HR+baro, auto-connect, UI 2026-10-30 22:46:26 +03:00
gps.js ble: barometer on its own connection - simultaneous HR+baro, auto-connect, UI 2026-10-30 22:46:26 +03:00
main.js ble: barometer on its own connection - simultaneous HR+baro, auto-connect, UI 2026-10-30 22:46:26 +03:00
poi.js Maps: trim tile retention, simplify big tracks by zoom, thin POIs when zoomed out 2026-09-29 15:49:02 +03:00
router.js BRouter Part B: show fords/rough tracks on the route + adventure opt-in 2026-10-26 21:46:56 +03:00
tilecache.js Tiles: heal blank tiles online (periodic OSM-reachability check + backfill) 2026-10-19 20:07:05 +03:00