259 Commits

Author SHA1 Message Date
Jef Driesen
5ce7aeffd9 Rewrite the code to use the stored fingerprint.
Logbook entries are now downloaded one by one, until a previously
downloaded entry is identified. This approach reduces the amount of data
that needs to be transfered in the typical case, where only a few new
dives are available on the device.
2009-04-10 09:20:58 +00:00
Jef Driesen
49301d1b28 Implement the fingerprint function. 2009-04-10 09:20:48 +00:00
Jef Driesen
c1745cc535 Merge the typedef with the struct declaration. 2009-04-06 07:26:16 +00:00
Jef Driesen
6abfa9792d Added the initial implementation for the Mares Puck. 2009-03-30 20:30:32 +00:00
Jef Driesen
20cdb4b188 Resend the command after timeouts and protocol errors. 2009-03-30 19:58:06 +00:00
Jef Driesen
39f3a5b757 Retry the discovery a few times when no devices are found. 2009-03-20 08:48:17 +00:00
Jef Driesen
5cb754b01b Store the clock calibration values in the device handle. 2009-03-11 15:02:49 +00:00
Jef Driesen
801f747345 Fix some small mistakes in the previous commit. 2009-03-11 13:12:21 +00:00
Jef Driesen
ce705f8244 Use the new byte order functions everywhere. 2009-03-11 10:18:28 +00:00
Jef Driesen
99c3d258d4 Added byte order conversion functions (little and big endian). 2009-03-11 10:18:05 +00:00
Jef Driesen
1668e70c79 Use symbolic constants for the profile ringbuffer. 2009-03-11 10:17:55 +00:00
Jef Driesen
00c3330e8d Receive the entire packet before reporting buffer overflows. 2009-03-11 10:17:45 +00:00
Jef Driesen
ebfd5b4b1a Always use the timestamp stored in the device handle. 2009-03-11 08:48:29 +00:00
Jef Driesen
731eaa2ce6 Add fingerprint support for the Mares Nemo. 2009-03-04 12:49:33 +00:00
Jef Driesen
3885e69079 Add fingerprint support for the Suunto Vyper, Spyder and Eon. 2009-02-23 13:04:26 +00:00
Jef Driesen
a2ccc4926d Add fingerprint support for the Suunto Vyper2 and D9. 2009-02-23 13:04:08 +00:00
Jef Driesen
11dc4715a4 Add fingerprint support for the Reefnet Sensus Original, Pro and Ultra. 2009-02-23 13:03:52 +00:00
Jef Driesen
03212f5c6f Add fingerprint support for the Uwatec Aladin, Memomouse and Smart. 2009-02-23 13:03:36 +00:00
Jef Driesen
4368b94ff0 Added basic support for the fingerprint feature. 2009-02-23 13:03:20 +00:00
Jef Driesen
1c736835eb Autodetect the difference between a Vyper and a Spyder. 2009-02-20 12:26:15 +00:00
Jef Driesen
8391b4201d Add a device info event for the Suunto Vyper. 2009-02-20 12:26:02 +00:00
Jef Driesen
626c28ad6c Add a device info event for the Suunto D9 and Vyper2. 2009-02-20 12:25:50 +00:00
Jef Driesen
236d84a253 Add a device info event for the Suunto Eon and Solution. 2009-02-20 12:25:37 +00:00
Jef Driesen
64e3f4b4bf Add a device info event for the Reefnet Sensus Original, Pro and Ultra. 2009-02-20 12:25:25 +00:00
Jef Driesen
75d3792016 Add a device info event for the Uwatec Smart. 2009-02-20 12:25:11 +00:00
Jef Driesen
b8ff29d15d Add a device info event for the Uwatec Memomouse. 2009-02-20 12:24:59 +00:00
Jef Driesen
8e05b91502 Add a device info event for the Uwatec Aladin. 2009-02-20 12:24:47 +00:00
Jef Driesen
2be97f0e12 Added basic support for the new device info event. 2009-02-20 12:24:35 +00:00
Jef Driesen
f38ecdcb3f Remove all legacy event code. 2009-02-20 12:12:30 +00:00
Jef Driesen
6b4663444b Added event notifications for the Mares Nemo. 2009-02-20 12:12:16 +00:00
Jef Driesen
204c83c150 Added event notifications for the Suunto Solution. 2009-02-20 12:12:04 +00:00
Jef Driesen
845e6442f6 Port the Suunto Eon, Vyper, Vyper2 and D9 to the new event code. 2009-02-20 12:11:52 +00:00
Jef Driesen
3ce6a725a9 Port the Reefnet Sensus Original, Pro and Ultra to the new event code. 2009-02-20 12:11:38 +00:00
Jef Driesen
7cba191322 Port the Uwatec Aladin, Memomouse and Smart to the new event code. 2009-02-20 12:11:25 +00:00
Jef Driesen
7c3f4e864f Added basic support for the new event notification code. 2009-02-20 12:11:11 +00:00
Jef Driesen
eb9efb47e1 Check the length of the provided buffer space before the data transfer. 2009-02-11 10:43:44 +00:00
Jef Driesen
679d7a2801 Use standard header files to define NULL. 2009-02-11 10:43:10 +00:00
Jef Driesen
19cc36b527 Automatically abort when a dive is older than the provided timestamp. 2009-02-06 08:27:07 +00:00
Jef Driesen
e5fea5a370 Added a checksum function for the Oceanic VT Pro version string. 2009-02-05 10:05:15 +00:00
Jef Driesen
fe78347584 Added a parser for the Reefnet Sensus Original. 2009-02-05 09:59:35 +00:00
Jef Driesen
0645df7546 Added the foreach() function for the Reefnet Sensus Original. 2009-02-05 09:59:19 +00:00
Jef Driesen
873eccd2b8 Updated the msvc project file. 2009-01-21 14:12:19 +00:00
Jef Driesen
cf5b2acea6 Automatically cancel the waiting state. 2009-01-19 09:28:57 +00:00
Jef Driesen
2315f066a9 Added the initial implementation for the Reefnet Sensus Original. 2009-01-19 09:28:10 +00:00
Jef Driesen
8f845c5fe6 Reduce the very large timeout value by polling the serial line.
The event reporting is improved as well, by emitting more waiting 
events.
2009-01-07 10:07:37 +00:00
Jef Driesen
c55bbede1d Fixed some warnings related to missing initializers. 2009-01-06 21:44:40 +00:00
Jef Driesen
b434fa344b Fixed some warnings related to shadow variables. 2009-01-06 21:44:25 +00:00
Jef Driesen
5cde8bdb52 Declare functions with no arguments as void. 2009-01-06 13:09:19 +00:00
Jef Driesen
d94ecdad25 Check the correct variable for NULL. 2009-01-06 13:09:06 +00:00
Jef Driesen
cf8fc54316 Updated the Oceanic header file. 2009-01-06 13:07:22 +00:00