21 Commits

Author SHA1 Message Date
Jef Driesen
ddf6fca65f Add support for the Uwatec Galileo Trimix. 2012-09-20 20:40:38 +02:00
Jef Driesen
2b77a52e89 Use symbolic constants for the model numbers. 2011-05-06 18:04:40 +02:00
Jef Driesen
6467f6353d Fixed a mistake in the type detection code. 2011-05-05 20:53:08 +02:00
Jef Driesen
643c04eca3 Implement the new field api for the Uwatec devices. 2011-01-13 22:14:53 +01:00
Jef Driesen
90e60fecee Add a new function to the public api to retrieve the dive metadata. 2011-01-13 22:14:53 +01:00
Jef Driesen
154f767a9c Convert assertions into error codes. 2011-01-08 23:40:15 +01:00
Jef Driesen
ec774d3426 Shorten the type detection code with bit manipulations. 2011-01-08 23:40:15 +01:00
Jef Driesen
911513c578 Use the correct number of alarm bytes for each model. 2010-07-29 13:39:52 +02:00
Jef Driesen
0f5b6028ef Copy missing sample values from the previous sample.
The Uwatec Smart stores a sample value only when it's diffent from the
previous value. While this compressed format does save some space on the
device, it is less practical for use in an application. The original
uncompressed data can easily be obtained by copying missing sample
values from the previous sample.

The implementation uses a two pass approach. In the first pass, all
sample values that are explicitly stored in the profile date are
collected. Any sample value that is not present, will automatically
retain the value from the previous sample. In the second pass, all
sample values are passed back to the application. The presence of an
absolute value is used to decide which sample types are present in the
data.
2010-07-29 13:36:43 +02:00
Jef Driesen
10377f969a Keep only a single type for both absolute and delta values. 2010-07-28 16:47:25 +02:00
Jef Driesen
441aad3a40 Add support for the Uwatec Aladin Tec 2G. 2010-05-19 20:01:44 +02:00
Jef Driesen
a8116a0aec Add datetime support to the parsers. 2010-02-02 15:04:46 +00:00
Jef Driesen
a4247b7505 Define the WARNING macro only once. 2009-08-06 14:15:52 +00:00
Jef Driesen
23ea0d5e18 Added some explicit casts to be able to build with a C++ compiler. 2008-12-04 15:09:54 +00:00
Jef Driesen
25d2f51870 Merge the Uwatec Smart and Galileo parsers. 2008-11-10 20:30:56 +00:00
Jef Driesen
03b7e3091e Prepare to merge the Uwatec Smart and Galileo parsers. 2008-11-10 20:30:40 +00:00
Jef Driesen
019b807e0f Port the changes from r179 to the Uwatec Smart parser. 2008-11-10 20:30:27 +00:00
Jef Driesen
53bb7778c7 Set the initial rbt value to 99.
Some models omit the absolute rbt value in the profile data.
2008-10-31 14:06:17 +00:00
Jef Driesen
a5cabb5550 Use only 1 byte for the alarms. 2008-10-31 14:05:31 +00:00
Jef Driesen
56c2893758 Ignore data bits that are stored in the last type byte for some samples. 2008-10-31 14:05:15 +00:00
Jef Driesen
52f7d01380 Added a parser for the Uwatec Smart. 2008-10-31 14:04:59 +00:00