This is a saner default than 12:00, which cuts off sleep sessions that
go past noon. We keep the previous noon-to-noon setting as an option, in
case that is a better option for some users.
Implements missing features from [WH-1000XM3](https://gadgetbridge.org/gadgets/headphones/sony/#device__sony_wh-1000xm3):
- Sound Quality Mode (SBC Codec / HD codecs)
- Added as a switch (boolean) in UI
- Note that LDAC option can appear in Andoid Bluetooth Device settings as well as unselected. Some Android devices (eg. Samsung) will also allow changing the BT Codec in Developer Settings, but if this is not enabled, the change won't apply.
- Function of NC/AMBIENT button
- Allows using either Google Assistant or Alexa Assistant.
- This model does not support "system assistant", used for other non-Google/Alexa assistants.
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/5990
Co-authored-by: duhow <contacto@duhowpi.net>
Co-committed-by: duhow <contacto@duhowpi.net>
- prioritise names: workout name > session sports profile > sport name
- gracefully fallback from Enhanced Respiration to plain Respiration
- gracefully fallback from Enhanced Speed to plain Speed
- add gear info showing last battery reading of connected devices
- add altitude min/max/avg
- add user heart rate (min/max/resting)
- add workout feel (0 - 100%)
- add device battery state (initial / final)
- add ebike battery state (initial / final)
- add more recovery, work, energy statistics
- diving: add SAC (Surface Air Consumption)
- diving: add water density with fallback to water type
- diving: ignore disabled gases
This enhances the general GB code _without_ the device specific adjustments required to actually display values:
- chart elevation even if the activity has no GPS recording (e.g. treadmill and floor climbing)
- added distance chart
- added stride chart
- added step length chart
- added body energy chart - 24/7 energy level
- added stamina chart - activity specific endurance capacity
- added N2 load (Nitrogen) chart for diving
- added CNS toxicity (Central Nervous System) chart for diving
- added oxygen toxicity summary for diving
- added surface interval summary for diving
Add full Gadgetbridge integration for the Braun iCheck 7 BPW4500
blood pressure monitor using its proprietary BLE protocol (Kaz USA).
New files:
- BraunBPW4500DeviceCoordinator: device detection via BLE name "BPW4500",
WHO blood pressure classification, GenericBloodPressureSampleProvider
- BraunBPW4500DeviceSupport: BLE communication, 19-byte measurement
packet parsing (systolic, diastolic), RTC sync
- DashboardBloodPressureWidget: dashboard gauge with WHO color coding
- BloodPressureChartFragment: line chart, measurement list,
PDF and CSV export with user profile info
Modified files:
- DeviceType: register BRAUN_BPW4500
- DashboardFragment: register bloodpressure widget
- DefaultChartsProvider: register BloodPressureChartFragment
- arrays.xml: add blood pressure to dashboard and charts tab lists
- strings.xml: add device name, bp_systolic, bp_diastolic strings
- shared_paths.xml: add pdf/csv cache paths for FileProvider export
Known limitation: offline stored measurements cannot be retrieved
reliably as the device transmits history data before GATT service
discovery completes in Gadgetbridge.
fixed chart monthly/weekly view
remodeled blood pressure fragments
fix remaining review comments
# laxasfit support
With reference to issue #5640 here comes the initial implementation of the first supported laxasfit device:
- Q11 smartwatch
The used protocol is a derivate of the FitPro protocol, using
- different UUIDs
- different message ID's
- additional CRC
Protocol details are documented in the related issue #5640
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/5774
Co-authored-by: Erwin Scheuch-Heilig <fr3ts0n@gmx.at>
Co-committed-by: Erwin Scheuch-Heilig <fr3ts0n@gmx.at>