Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The Mares Horizon is a variant of the Mares Genius, with a few changes to support SCR dives: The dive header is slightly modified. There is an extra 8 byte field at offset 0x18, which causes all later fields to have moved up with the same amount. This difference is indicated in both the object minor version (with a change from v0.0 to v0.1), and the logformat. For the profile data, there is a new SDPT sample type which contains a bit more information compared to the existing DPRS sample type. This difference is indicated with a change in the object type (from 0 to 1). The current implementation assumes a fixed order for the record types (a DSTR record, a TISS record, zero or more DPRS/SDPT records with an AIRS record every 4 sample, and finally a DEND record), and either only DPRS or SDPT records but never a mixture of the two. If these assumptions turns out to be incorrect, the implementation will need to be changed significantly. Note that the assumption of the fixed order was already present for the Genius. Bluetooth support is currently disabled in the Horizon firmware, but might be re-enabled in the future.
- Loading branch information