8 Commits

Author SHA1 Message Date
Jef Driesen
de1f7511ac Do not return an error when no dives are present. 2011-01-19 08:30:00 +01:00
Jef Driesen
104c4d956a Validate the ringbuffer pointers before using them. 2011-01-19 08:30:00 +01:00
Jef Driesen
e320791e86 Fix a buffer overflow. 2011-01-13 22:13:33 +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
180321029a Fixed a small mistake in the previous commit. 2010-08-29 15:04:44 +02:00
Jef Driesen
1dc9704a24 Avoid reading outside the ringbuffer area.
Since the total amount of profile data is not necessary a multiple of
the maximum packet size, the code may attempt to read outside the
ringbuffer area in some cases. Because the device supports a variable
packet size, the problem can simply be avoided by adjusting the packet
size.

As a side effect of this fix, the code will now also detect when the
profile ringbuffer is filling up faster than the logbook ringbuffer, and
the progress events are improved as well.
2010-08-28 22:58:55 +02:00
Jef Driesen
2fca7914b6 Implement the foreach and fingerprint support for the Zeagle N2iTiON3. 2010-08-28 22:53:55 +02:00
Jef Driesen
c060f268be Add support for the Zeagle N2iTiON3. 2010-08-28 22:53:48 +02:00