From 4f3b26f9b6296273e37ec317bc68f32f94f546dc Mon Sep 17 00:00:00 2001 From: James Wobser Date: Thu, 16 Jul 2020 21:40:46 -0400 Subject: Implement Seac SeacSync databaser parser. Dives for the seac action computer are imported by the seacsync program into two tables in an sqlite3 database. The dive information is read from the headers_dive table. The dive_data table is then queried for each dive to get samples. The seac action computer is the only current supported computer by the seacsync program. It only supports two gas mixes, so the parser will toggle between two cylinders whenever it detects a change in the active O2 mix. Dive start time is stored in UTC with a timezone offset. A helper function to read this was added to qthelper. Default cases have been added to some switch statements to assist in future development for other dive types and salinity. Example database has been added to ./dives/TestDiveSeacSync.db Signed-off-by: James Wobser --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index e92bb5e60..1b63acb77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ core: correctly recognize A1 as BLE dive computer planner: Honor the "O2 narcotic" preference when computing MND desktop: fix broken merging of dives with multiple cylinders mobile: add information about the cloud sync state to the Subsurface plate in the menu +core: Add parser for SeacSync db. Currently only Seac Action uses SeacSync program. --- * Always add new entries at the very top of this file above other existing entries and this note. -- cgit v1.2.3-70-g09d2