15 Commits

Author SHA1 Message Date
Jef Driesen
03b186e88b Treat the first byte of a packet as an ACK/NAK byte.
The first byte of a packet seems to be an ACK/NAK byte, rather than a 
real packet header. The implementation of the transfer function is 
changed to match this observation.
2008-06-30 09:22:05 +00:00
Jef Driesen
16f12123a3 Moved the handshaking to a new function and added the quit sequence. 2008-06-30 07:50:36 +00:00
Jef Driesen
734d0cede5 Added a function to read individual dives from the Oceanic Atom 2. 2008-06-24 12:28:44 +00:00
Jef Driesen
4b2a3918fd Fixed some compiler warnings. 2008-06-20 13:43:19 +00:00
Jef Driesen
1a1807a4cc Fixed a small error where two variables had the same name. 2008-06-20 13:22:33 +00:00
Jef Driesen
d629e02ca2 Moved all ringbuffer operations to a common location. 2008-06-20 13:20:29 +00:00
Jef Driesen
27ce6102ee Updated the Suunto Vyper2 code to match the D9 code. 2008-06-20 12:54:34 +00:00
Jef Driesen
4142431b36 Always return an error code if the supplied memory buffer is too small. 2008-06-15 18:18:22 +00:00
Jef Driesen
330e6a07ad Use a temporary buffer to download the data. 2008-06-15 14:10:28 +00:00
Jef Driesen
2d88237949 Simplified the exitcode macro. 2008-06-15 12:51:38 +00:00
Jef Driesen
6ce9a8e3b9 Added a 100ms delay before sending the handshake command. 2008-06-13 08:45:22 +00:00
Jef Driesen
35f6b4845e Removed the feature test macros.
On Mac OS X they disable the definition of the timeval macros and on 
Linux they are defined by default. Thus removing them makes everything 
work on both platforms.
2008-06-12 08:19:59 +00:00
Jef Driesen
209aa53894 Added the initial implementation for the Oceanic Atom 2. 2008-06-11 15:23:12 +00:00
Jef Driesen
5b8410f98b Start using autotools to build the project. 2008-06-04 13:56:41 +00:00
Jef Driesen
0312351bac Reorganization to separate the library and the test applications. 2008-06-04 13:30:55 +00:00