Commit Graph

  • f5759d11c9 Use the year stored in the dive header. Jef Driesen 2010-02-03 08:42:28 +00:00
  • a8116a0aec Add datetime support to the parsers. Jef Driesen 2010-02-02 15:04:46 +00:00
  • fab15b19a7 Add a clock synchronization event. Jef Driesen 2010-02-01 21:20:30 +00:00
  • b392a49045 Update the code to use the new datetime support. Jef Driesen 2010-02-01 21:20:11 +00:00
  • 54410dab8d Add a datetime module. Jef Driesen 2010-02-01 21:19:55 +00:00
  • 098b229bc6 Rename the Suunto Spyder parser as the Eon parser. Jef Driesen 2010-02-01 13:34:52 +00:00
  • ceeee5b2fa Removed the handshake and version functions. Jef Driesen 2010-01-30 21:27:43 +00:00
  • f8b465fba1 Use the common fingerprint function directly. Jef Driesen 2010-01-25 19:46:39 +00:00
  • ce84e85bb6 Do not ignore the return value when writing data. Jef Driesen 2010-01-25 19:46:24 +00:00
  • 87236f505a Remove a number of unnecessary functions. Jef Driesen 2010-01-25 19:46:09 +00:00
  • a14b0b7b98 Do not ignore errors during initialization. Jef Driesen 2010-01-25 14:08:01 +00:00
  • 898f27ad2e Use multipage reads for downloading dives too. Jef Driesen 2010-01-22 13:42:16 +00:00
  • 61257a8628 Use multipage read commands for faster transfers. Jef Driesen 2010-01-22 13:42:03 +00:00
  • 5589770f30 Add a small delay before sending the version command. Jef Driesen 2010-01-19 14:57:06 +00:00
  • 45f51fedfb Store the layout descriptor in the device handle. Jef Driesen 2010-01-15 10:16:49 +00:00
  • 32fd37df2c Keep only a single PAGESIZE macro. Jef Driesen 2010-01-15 09:51:15 +00:00
  • cf009cf18b Use the ACK/NAK error correction for all commands. Jef Driesen 2010-01-15 09:32:16 +00:00
  • 067a6c630a Add a devinfo event for the Mares backends. Jef Driesen 2010-01-08 14:38:04 +00:00
  • f33b298b3a Handle the special case of a full ringbuffer correctly. Jef Driesen 2010-01-07 15:02:27 +00:00
  • a6f9df16ac Make the empty/full ringbuffer interpretation configurable. Jef Driesen 2010-01-07 15:02:14 +00:00
  • c4931623b6 Add support for the Suunto HelO2. Jef Driesen 2010-01-07 14:54:57 +00:00
  • b5bc493e0b Reduce the number of hardcoded offsets. Jef Driesen 2010-01-07 14:54:38 +00:00
  • bb08248bd9 Add a parser for the Oceanic VT Pro. Jef Driesen 2009-12-28 10:30:53 +00:00
  • 778ae70d2e Add a parser for the Oceanic Veo 250. Jef Driesen 2009-12-28 10:30:36 +00:00
  • fb947c6906 Fix the serial number for Veo compatible devices. Jef Driesen 2009-12-28 10:30:18 +00:00
  • 97652c6c62 Make the bcd2dec() function available to all backends. Jef Driesen 2009-12-08 14:51:32 +00:00
  • 1d69b8c021 Fix the spyder fingerprint offset. Jef Driesen 2009-12-08 11:24:52 +00:00
  • 0edeed162a Skip dives without a footer marker. Jef Driesen 2009-12-08 08:43:59 +00:00
  • 7f983e29fe Rewrite the incremental parser function. Jef Driesen 2009-12-03 12:43:29 +00:00
  • 421f4ed1d6 Add functions to search for markers in an array. Jef Driesen 2009-12-03 12:43:19 +00:00
  • 12d0a73abf Rewrite the code to use buffer objects internally. Jef Driesen 2009-12-03 12:43:09 +00:00
  • e4108a3b33 Fixed an off-by-one error. Jef Driesen 2009-12-02 13:55:50 +00:00
  • 5fa943d685 Added the initial implementation for the Cressi Edy. Jef Driesen 2009-11-17 11:02:26 +00:00
  • 094b70aa03 Use the memory buffer class for downloading individual dives. Jef Driesen 2009-11-16 08:17:30 +00:00
  • e883843fca Use pointers to the layout structure for simplicity. Jef Driesen 2009-11-16 08:17:20 +00:00
  • 54daa9b580 Remove the debugging code. Jef Driesen 2009-11-16 08:17:09 +00:00
  • 13768188a8 Reduce the amount of data copying. Jef Driesen 2009-11-16 08:14:29 +00:00
  • 21832851af Add a function to slice the buffer. Jef Driesen 2009-11-16 08:14:19 +00:00
  • 12754e05f4 Initialize allocated memory to zero when resizing. Jef Driesen 2009-11-16 08:10:53 +00:00
  • 8eb3e53b44 Add options to download only the memory dump or the dives. Jef Driesen 2009-11-16 08:09:57 +00:00
  • 71d8da4f04 Remove some unnecessary functions. Jef Driesen 2009-11-12 16:30:13 +00:00
  • 7e6a57bd1c Added the initial implementation for the Heinrichs Weikamp OSTC. Jef Driesen 2009-11-12 08:18:16 +00:00
  • a87398b7c6 Implement progress events for the device_dump() function. Jef Driesen 2009-11-12 08:04:34 +00:00
  • e2c6bdf880 Add a single download application for all backends. Jef Driesen 2009-11-10 11:38:24 +00:00
  • a49d2c7b36 Changed the device_dump() function to use the new memory buffer class. Jef Driesen 2009-11-10 11:36:10 +00:00
  • 69727bf855 Update the msvc project file. Jef Driesen 2009-11-10 11:35:39 +00:00
  • a3264bc471 Implement a more efficient buffer growing strategy. Jef Driesen 2009-11-10 11:35:29 +00:00
  • 74272f4d77 Avoid undefined behaviour with NULL pointers. Jef Driesen 2009-11-10 11:35:19 +00:00
  • d3028dc2d7 Add a new memory buffer class. Jef Driesen 2009-11-10 11:35:09 +00:00
  • 36f9fd614e Write all messages to stderr. Jef Driesen 2009-11-05 12:36:28 +00:00
  • b59532fffb Fixed some compiler warnings related to unused variables. Jef Driesen 2009-11-02 13:14:42 +00:00
  • 8d808e99bb Enable automake silent build rules by default. Jef Driesen 2009-11-01 17:27:24 +00:00
  • 9baaa18664 Fixed a small mistake. Jef Driesen 2009-10-20 17:02:30 +00:00
  • 58f6b0e190 Remove the gap between the logbook and profile ringbuffers. Jef Driesen 2009-10-20 13:43:21 +00:00
  • 407ff06fb9 Improve the empty ringbuffer detection. Jef Driesen 2009-10-20 13:43:07 +00:00
  • bf0dd700c1 Add a parser for the Oceanic Atom 2. Jef Driesen 2009-10-15 09:14:33 +00:00
  • 50174fa55b Update the msvc project file. Jef Driesen 2009-10-11 13:53:41 +00:00
  • cc1a99b9c7 Add a common base class for the Mares backends. Jef Driesen 2009-10-11 13:51:26 +00:00
  • a4247b7505 Define the WARNING macro only once. Jef Driesen 2009-08-06 14:15:52 +00:00
  • 872f5a594d Add a common base class. Jef Driesen 2009-08-06 09:52:50 +00:00
  • a9d0784a9a Changed the initialization sequence to allow multiple transfers. Jef Driesen 2009-07-23 07:12:22 +00:00
  • 16191c0f51 Use the new array_isequal() function instead of a local function. Jef Driesen 2009-06-19 08:51:34 +00:00
  • 043be07af4 Improve the detection of an empty logbook ringbuffer. Jef Driesen 2009-06-19 08:43:42 +00:00
  • a65e9d56c5 Fixed a bug in the write command. Jef Driesen 2009-06-12 19:13:43 +00:00
  • 23f81c6319 Prefer the dump function in the examples. Jef Driesen 2009-06-04 08:59:55 +00:00
  • ff26c2db70 Calibrate the device during initialization. Jef Driesen 2009-05-27 10:24:04 +00:00
  • 24f0f66efd Automatically switch the device into download mode. Jef Driesen 2009-05-27 10:23:27 +00:00
  • da684c1fcf Do not send the quit command during initialization. Jef Driesen 2009-05-27 10:23:02 +00:00
  • 5a1658d30e Use the symbolic constants for ACK/NAK bytes. Jef Driesen 2009-05-27 10:22:29 +00:00
  • f477defbf8 Increase the total memory size to 64KB. Jef Driesen 2009-05-15 10:13:03 +00:00
  • 863890aa23 Add the end-of-profile pointer to the layout descriptor structure. Jef Driesen 2009-05-12 19:58:01 +00:00
  • 1e39b84075 Add a common base class and a layout descriptor structure. Jef Driesen 2009-05-12 19:57:46 +00:00
  • 4c37c9c85f Add support for the Suunto Vyper Air and Cobra 3 to the parser. Jef Driesen 2009-05-11 13:20:58 +00:00
  • f0b3253296 Add a common base class. Jef Driesen 2009-05-05 13:20:11 +00:00
  • f642049fe2 Enable the shared parsing code. Jef Driesen 2009-05-04 09:03:18 +00:00
  • 6132ae2550 Share the parsing code between the backends. Jef Driesen 2009-05-04 09:03:04 +00:00
  • 754d573e0f Implement the fingerprint function. Jef Driesen 2009-05-04 09:02:40 +00:00
  • 9089651f17 Fix the symbols file for platforms without IRDA support (Mac OS X). Jef Driesen 2009-04-14 21:46:59 +00:00
  • 135c903792 Updated the msvc project file. Jef Driesen 2009-04-14 21:46:46 +00:00
  • be2a27c58b Remove the handshake function from the public api. Jef Driesen 2009-04-14 21:37:39 +00:00
  • 572dfa5184 Add a function to retrieve the stored handshake packet. Jef Driesen 2009-04-14 21:37:04 +00:00
  • 67363ea05c Store the handshake packet in the device handle. Jef Driesen 2009-04-14 21:36:44 +00:00
  • aa7599929e Wake-up the device automatically. Jef Driesen 2009-04-14 21:36:28 +00:00
  • b7fcd5442c Use a single function for writing the device parameters. Jef Driesen 2009-04-14 21:36:07 +00:00
  • 8bfe481e58 Add progress events. Jef Driesen 2009-04-10 09:21:38 +00:00
  • 6d018ab6ae Add a device info event. Jef Driesen 2009-04-10 09:21:28 +00:00
  • 95089c1851 Use a single buffer for all profiles. Jef Driesen 2009-04-10 09:21:18 +00:00
  • 85e0b9dcbf Read the profile ringbuffer backwards. Jef Driesen 2009-04-10 09:21:08 +00:00
  • 5ce7aeffd9 Rewrite the code to use the stored fingerprint. Jef Driesen 2009-04-10 09:20:58 +00:00
  • 49301d1b28 Implement the fingerprint function. Jef Driesen 2009-04-10 09:20:48 +00:00
  • c1745cc535 Merge the typedef with the struct declaration. Jef Driesen 2009-04-06 07:26:16 +00:00
  • 6abfa9792d Added the initial implementation for the Mares Puck. Jef Driesen 2009-03-30 20:30:32 +00:00
  • 20cdb4b188 Resend the command after timeouts and protocol errors. Jef Driesen 2009-03-30 19:58:06 +00:00
  • 39f3a5b757 Retry the discovery a few times when no devices are found. Jef Driesen 2009-03-20 08:48:17 +00:00
  • 5cb754b01b Store the clock calibration values in the device handle. Jef Driesen 2009-03-11 15:02:49 +00:00
  • 801f747345 Fix some small mistakes in the previous commit. Jef Driesen 2009-03-11 13:12:21 +00:00
  • ce705f8244 Use the new byte order functions everywhere. Jef Driesen 2009-03-11 10:18:28 +00:00
  • 99c3d258d4 Added byte order conversion functions (little and big endian). Jef Driesen 2009-03-11 10:18:05 +00:00
  • 1668e70c79 Use symbolic constants for the profile ringbuffer. Jef Driesen 2009-03-11 10:17:55 +00:00
  • 00c3330e8d Receive the entire packet before reporting buffer overflows. Jef Driesen 2009-03-11 10:17:45 +00:00