190 Commits

Author SHA1 Message Date
Jef Driesen
c38088aed5 Added a project file for the MS Visual C++ 2008 compiler. 2008-12-04 15:10:04 +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
b57c405440 Convert to unix style line endings. 2008-12-04 15:09:40 +00:00
Jef Driesen
b403089511 Renamed the handshake function to indicate it sends the quit command. 2008-11-26 10:11:40 +00:00
Jef Driesen
c120f98754 Stop reading the response to the init command in the handshake function. 2008-11-26 10:11:30 +00:00
Jef Driesen
92b7a98260 Use a symbolic constant for the location of the pointers. 2008-11-26 10:11:20 +00:00
Jef Driesen
6d1ee17069 Added the foreach() function for the Oceanic Veo 250. 2008-11-26 10:11:10 +00:00
Jef Driesen
3b61ef6f63 Use the address of the last read page in the keepalive command. 2008-11-21 08:40:30 +00:00
Jef Driesen
3c36f9d166 Added a new function for the keepalive command. 2008-11-21 08:40:19 +00:00
Jef Driesen
2a7e4fdc7d Discard garbage bytes before sending a command. 2008-11-21 08:40:08 +00:00
Jef Driesen
9ac00891b5 Added the initial implementation for the Oceanic Veo 250. 2008-11-21 08:39:57 +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
7d9ffdc3f8 New method to detect the presence (or absence) of pressure samples.
The previous method failed for some dives.
2008-11-04 11:41:10 +00:00
Jef Driesen
2e2031d738 Use separate variables for the signed and unsigned values.
Because the number of bits in the datatype is not necessary a multiple 
of 8, the conversion can't be done with a simply cast.
2008-10-31 14:06:33 +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
ee51a528c7 Added a parser for the Uwatec Galileo. 2008-10-31 14:06:01 +00:00
Jef Driesen
8899fd1270 Added support for compass bearings. 2008-10-31 14:05:46 +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
Jef Driesen
1a36118671 Added a parser for the Suunto D9 and Vyper2. 2008-10-31 14:04:44 +00:00
Jef Driesen
774c8ea2c0 Added a parser for the Suunto Spyder. 2008-10-31 14:04:28 +00:00
Jef Driesen
0395a8e542 Added a parser for the Suunto Vyper. 2008-10-31 14:04:13 +00:00
Jef Driesen
c3419542e0 Added a parser for the Uwatec Memomouse. 2008-10-31 14:03:57 +00:00
Jef Driesen
40da0a34db Added support for vendor specific sample types. 2008-10-31 14:03:42 +00:00
Jef Driesen
8d6c72fa60 Added a parser for the Reefnet Sensus Ultra. 2008-10-31 14:03:26 +00:00
Jef Driesen
ce57cc756d Added a parser for the Reefnet Sensus Pro. 2008-10-31 14:03:10 +00:00
Jef Driesen
e01cbd917c Added constants for doing unit conversions. 2008-10-31 14:02:55 +00:00
Jef Driesen
08e84cb8fc Added a base class for the parsers. 2008-10-31 14:02:39 +00:00
Jef Driesen
596af5a17b Add LGPL license headers. 2008-10-05 20:14:18 +00:00
Jef Driesen
5a570d1732 Only export functions that are part of the public api. 2008-10-03 17:34:03 +00:00
Jef Driesen
ce2f9359cb Removed the interface detection code since it is no longer required. 2008-10-03 14:56:41 +00:00
Jef Driesen
d05ff6bb09 Mark the private function as static. 2008-09-27 06:10:27 +00:00
Jef Driesen
537f8a51c1 Convert to unix style line endings. 2008-09-27 06:09:56 +00:00
Jef Driesen
ffe99a8724 Always read at least 8 bytes, because reading fewer bytes is unreliable. 2008-09-27 06:09:14 +00:00
Jef Driesen
276f45acd2 Allow the library to be compiled as C++ code.
Moved the initialization of the backend pointers to the beginning of the 
source file. Without the need for a tentative definition, the library 
can be compiled with a C++ compiler.
2008-09-03 10:16:35 +00:00
Jef Driesen
376ce23ce2 Include the public header file. 2008-09-03 10:04:13 +00:00
Jef Driesen
dfeea21c36 Add explicit casts to improve type safety. 2008-09-03 08:51:07 +00:00
Jef Driesen
599827d5a3 Improve the type safety by using the device_status_t enum. 2008-09-03 08:46:21 +00:00
Jef Driesen
9f1e100fe8 Fixed another misuse of the status codes. 2008-08-28 21:35:26 +00:00
Jef Driesen
b031d8dc2c Stop abusing status codes to return size information to the application.
When necessary, an output parameter is added to provide the size 
information. Status codes are strictly reserved for providing status 
information only.
2008-08-28 09:07:09 +00:00
Jef Driesen
d9170ad576 Implemented progress notifications for the Suunto Eon. 2008-08-19 12:59:05 +00:00
Jef Driesen
e2ec7329e6 Implemented progress notifications for the Uwatec Smart. 2008-08-19 12:36:04 +00:00
Jef Driesen
2e4026ffc4 Implemented progress notifications for the Uwatec Memomouse. 2008-08-19 11:53:25 +00:00
Jef Driesen
b884d90125 Implemented progress notifications for the Uwatec Aladin. 2008-08-19 11:37:04 +00:00
Jef Driesen
7e9a1be445 Implemented progress notifications for the Reefnet Sensus Ultra. 2008-08-19 11:24:01 +00:00
Jef Driesen
b3c1de2336 Implemented progress notifications for the Reefnet Sensus Pro. 2008-08-19 11:18:17 +00:00
Jef Driesen
dd847c5cf6 Implemented progress notifications for the Suunto D9 and Vyper2. 2008-08-19 10:17:13 +00:00