Jef Driesen
c1745cc535
Merge the typedef with the struct declaration.
2009-04-06 07:26:16 +00:00
Jef Driesen
20cdb4b188
Resend the command after timeouts and protocol errors.
2009-03-30 19:58:06 +00:00
Jef Driesen
ce705f8244
Use the new byte order functions everywhere.
2009-03-11 10:18:28 +00:00
Jef Driesen
a2ccc4926d
Add fingerprint support for the Suunto Vyper2 and D9.
2009-02-23 13:04:08 +00:00
Jef Driesen
4368b94ff0
Added basic support for the fingerprint feature.
2009-02-23 13:03:20 +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
845e6442f6
Port the Suunto Eon, Vyper, Vyper2 and D9 to the new event code.
2009-02-20 12:11:52 +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
596af5a17b
Add LGPL license headers.
2008-10-05 20:14:18 +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
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
dd847c5cf6
Implemented progress notifications for the Suunto D9 and Vyper2.
2008-08-19 10:17:13 +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
8d3c7b29b8
Port the Suunto D9 to the new api.
2008-07-04 13:47:37 +00:00
Jef Driesen
3ec8bb025c
Added a constant for the size of the version data.
2008-07-04 06:37:25 +00:00
Jef Driesen
0f625f601f
Defined a few macros for the ringbuffer code.
2008-07-03 05:26:47 +00:00
Jef Driesen
d629e02ca2
Moved all ringbuffer operations to a common location.
2008-06-20 13:20:29 +00:00
Jef Driesen
0312351bac
Reorganization to separate the library and the test applications.
2008-06-04 13:30:55 +00:00