Jef Driesen
596af5a17b
Add LGPL license headers.
2008-10-05 20:14:18 +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
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
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
7c03ddcb15
Moved all the checksum functions to a common file.
2008-07-30 08:56:08 +00:00
Jef Driesen
5ae3b98d5d
Implement the device_dump() function on top of device_read().
2008-07-22 06:05:36 +00:00
Jef Driesen
16b14e55ef
Allow to abort a transfer by returning FALSE from the callback.
2008-07-22 05:35:08 +00:00
Jef Driesen
4f63295802
Add a function to initialize the base class.
2008-07-22 05:31:26 +00:00
Jef Driesen
eaf10b59da
Rename the device_download() function to device_dump().
...
The new name makes it more clear that it's not the recommended function
to download data.
2008-07-17 05:25:53 +00:00
Jef Driesen
8a90c18a06
Port the Oceanic Atom 2 to the new api.
2008-07-08 10:11:14 +00:00
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
6ce9a8e3b9
Added a 100ms delay before sending the handshake command.
2008-06-13 08:45:22 +00:00
Jef Driesen
209aa53894
Added the initial implementation for the Oceanic Atom 2.
2008-06-11 15:23:12 +00:00