Jef Driesen
f3b8d9da21
Return the error code instead of success.
2010-12-17 21:42:09 +01:00
Jef Driesen
887d744e6d
Use a more consistent typedef in the serial and irda backends.
2010-10-04 23:08:39 +02:00
Jef Driesen
9b8ccb99fb
Increase the packet size if more data is immediately available.
2010-07-28 16:47:25 +02:00
Jef Driesen
4b590ba5e2
Pass the fingerprint data to the callback function.
2010-02-04 10:46:42 +00:00
Jef Driesen
fab15b19a7
Add a clock synchronization event.
2010-02-01 21:20:30 +00:00
Jef Driesen
b392a49045
Update the code to use the new datetime support.
2010-02-01 21:20:11 +00:00
Jef Driesen
ceeee5b2fa
Removed the handshake and version functions.
...
The handshake function is now called internally (even if it doesn't seem
to be required at all), and the version function can be called through
the public api. The format of the version data is changed too.
2010-01-30 21:27:43 +00:00
Jef Driesen
a49d2c7b36
Changed the device_dump() function to use the new memory buffer class.
...
Using a resizable memory buffer allows to allocate the right amount of
memory inside the backend, avoiding having to know the required buffer
size in advance.
2009-11-10 11:36:10 +00:00
Jef Driesen
b59532fffb
Fixed some compiler warnings related to unused variables.
2009-11-02 13:14:42 +00:00
Jef Driesen
a4247b7505
Define the WARNING macro only once.
2009-08-06 14:15:52 +00:00
Jef Driesen
be2a27c58b
Remove the handshake function from the public api.
2009-04-14 21:37:39 +00:00
Jef Driesen
c1745cc535
Merge the typedef with the struct declaration.
2009-04-06 07:26:16 +00:00
Jef Driesen
5cb754b01b
Store the clock calibration values in the device handle.
2009-03-11 15:02:49 +00:00
Jef Driesen
ce705f8244
Use the new byte order functions everywhere.
2009-03-11 10:18:28 +00:00
Jef Driesen
ebfd5b4b1a
Always use the timestamp stored in the device handle.
2009-03-11 08:48:29 +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
75d3792016
Add a device info event for the Uwatec Smart.
2009-02-20 12:25:11 +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
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
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
e2ec7329e6
Implemented progress notifications for the Uwatec Smart.
2008-08-19 12:36:04 +00:00
Jef Driesen
44e76cfa8e
Implement the device_foreach() function on top of device_dump().
2008-07-22 07:57:00 +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
080cbffe1f
Port the Uwatec Smart to the new api.
2008-07-08 10:03:51 +00:00
Jef Driesen
cd20f8a02d
Split the transfer code in a handshake, version and read function.
2008-06-30 12:04:14 +00:00
Jef Driesen
4b2a3918fd
Fixed some compiler warnings.
2008-06-20 13:43:19 +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
0312351bac
Reorganization to separate the library and the test applications.
2008-06-04 13:30:55 +00:00