Commit Graph

  • d9170ad576 Implemented progress notifications for the Suunto Eon. Jef Driesen 2008-08-19 12:59:05 +00:00
  • e2ec7329e6 Implemented progress notifications for the Uwatec Smart. Jef Driesen 2008-08-19 12:36:04 +00:00
  • 2e4026ffc4 Implemented progress notifications for the Uwatec Memomouse. Jef Driesen 2008-08-19 11:53:25 +00:00
  • b884d90125 Implemented progress notifications for the Uwatec Aladin. Jef Driesen 2008-08-19 11:37:04 +00:00
  • 7e9a1be445 Implemented progress notifications for the Reefnet Sensus Ultra. Jef Driesen 2008-08-19 11:24:01 +00:00
  • b3c1de2336 Implemented progress notifications for the Reefnet Sensus Pro. Jef Driesen 2008-08-19 11:18:17 +00:00
  • dd847c5cf6 Implemented progress notifications for the Suunto D9 and Vyper2. Jef Driesen 2008-08-19 10:17:13 +00:00
  • ddf43fb828 Implemented progress notifications for the Suunto Vyper. Jef Driesen 2008-08-19 09:58:42 +00:00
  • 1b957f2588 Added the initial support for progress notifications. Jef Driesen 2008-08-19 09:53:07 +00:00
  • f467f4fd8d Automatically abort when a dive is older than the provided timestamp. Jef Driesen 2008-08-14 10:30:33 +00:00
  • 6306e4e625 Moved the code to extract dives to a single function. Jef Driesen 2008-08-14 09:45:49 +00:00
  • 5e8d18944a Moved all array reversal functions to a common file. Jef Driesen 2008-07-30 09:03:37 +00:00
  • 7c03ddcb15 Moved all the checksum functions to a common file. Jef Driesen 2008-07-30 08:56:08 +00:00
  • eee1c4cd74 Fixed a bug in the previous commit. Jef Driesen 2008-07-29 18:13:03 +00:00
  • 44e76cfa8e Implement the device_foreach() function on top of device_dump(). Jef Driesen 2008-07-22 07:57:00 +00:00
  • 5ae3b98d5d Implement the device_dump() function on top of device_read(). Jef Driesen 2008-07-22 06:05:36 +00:00
  • 16b14e55ef Allow to abort a transfer by returning FALSE from the callback. Jef Driesen 2008-07-22 05:35:08 +00:00
  • 4f63295802 Add a function to initialize the base class. Jef Driesen 2008-07-22 05:31:26 +00:00
  • ba919d0b15 Add autotools generated files to svn:ignore property. Jef Driesen 2008-07-18 15:01:36 +00:00
  • eaf10b59da Rename the device_download() function to device_dump(). Jef Driesen 2008-07-17 05:25:53 +00:00
  • 59b123eb5c Corrected the name of a function in the header file. Jef Driesen 2008-07-17 05:24:58 +00:00
  • c40f67c557 Skip the entire header of the packet, not only the first byte. Jef Driesen 2008-07-16 16:59:31 +00:00
  • a5143d8c7c Wait a small amount of time before sending the command. Jef Driesen 2008-07-10 12:25:02 +00:00
  • d12a44c458 Always return the size of the downloaded data. Jef Driesen 2008-07-10 08:10:04 +00:00
  • 8a90c18a06 Port the Oceanic Atom 2 to the new api. Jef Driesen 2008-07-08 10:11:14 +00:00
  • b99a32d643 Remove all remaining pieces of the legacy api from the Uwatec code. Jef Driesen 2008-07-08 10:06:46 +00:00
  • 080cbffe1f Port the Uwatec Smart to the new api. Jef Driesen 2008-07-08 10:03:51 +00:00
  • cf82a0a545 Port the Uwatec Memomouse to the new api. Jef Driesen 2008-07-08 09:37:21 +00:00
  • 644d84db7b Port the Uwatec Aladin to the new api. Jef Driesen 2008-07-08 09:32:45 +00:00
  • 4ec390303e Remove all remaining pieces of the legacy api from the Reefnet code. Jef Driesen 2008-07-07 12:54:25 +00:00
  • f561e591b4 Port the Reefnet Sensus Ultra to the new api. Jef Driesen 2008-07-07 12:51:29 +00:00
  • 9548565220 Port the Reefnet Sensus Pro to the new api. Jef Driesen 2008-07-07 12:48:47 +00:00
  • 92bdb5dd1e Remove all remaining pieces of the legacy api from the Suunto code. Jef Driesen 2008-07-04 21:43:09 +00:00
  • 630f32ff8e Port the Suunto Eon to the new api. Jef Driesen 2008-07-04 15:02:16 +00:00
  • d0823f6a9d Port the Suunto Vyper2 to the new api. Jef Driesen 2008-07-04 14:10:38 +00:00
  • 8d3c7b29b8 Port the Suunto D9 to the new api. Jef Driesen 2008-07-04 13:47:37 +00:00
  • a5fb93d199 Port the Suunto Vyper to the new api. Jef Driesen 2008-07-04 13:35:57 +00:00
  • ea01b66dec Added the first steps towards the implementation of the new api. Jef Driesen 2008-07-04 12:49:47 +00:00
  • 3ec8bb025c Added a constant for the size of the version data. Jef Driesen 2008-07-04 06:37:25 +00:00
  • c938a89359 Write timestamps to the logfile. Jef Driesen 2008-07-03 09:46:18 +00:00
  • 0f625f601f Defined a few macros for the ringbuffer code. Jef Driesen 2008-07-03 05:26:47 +00:00
  • e4ab71db47 Added a more strict check on the ACK/NAK response. Jef Driesen 2008-07-02 12:04:53 +00:00
  • cd20f8a02d Split the transfer code in a handshake, version and read function. Jef Driesen 2008-06-30 12:04:14 +00:00
  • 03b186e88b Treat the first byte of a packet as an ACK/NAK byte. Jef Driesen 2008-06-30 09:22:05 +00:00
  • 16f12123a3 Moved the handshaking to a new function and added the quit sequence. Jef Driesen 2008-06-30 07:50:36 +00:00
  • 734d0cede5 Added a function to read individual dives from the Oceanic Atom 2. Jef Driesen 2008-06-24 12:28:44 +00:00
  • 4b2a3918fd Fixed some compiler warnings. Jef Driesen 2008-06-20 13:43:19 +00:00
  • 1a1807a4cc Fixed a small error where two variables had the same name. Jef Driesen 2008-06-20 13:22:33 +00:00
  • d629e02ca2 Moved all ringbuffer operations to a common location. Jef Driesen 2008-06-20 13:20:29 +00:00
  • 27ce6102ee Updated the Suunto Vyper2 code to match the D9 code. Jef Driesen 2008-06-20 12:54:34 +00:00
  • 4142431b36 Always return an error code if the supplied memory buffer is too small. Jef Driesen 2008-06-15 18:18:22 +00:00
  • 330e6a07ad Use a temporary buffer to download the data. Jef Driesen 2008-06-15 14:10:28 +00:00
  • 2d88237949 Simplified the exitcode macro. Jef Driesen 2008-06-15 12:51:38 +00:00
  • 6ce9a8e3b9 Added a 100ms delay before sending the handshake command. Jef Driesen 2008-06-13 08:45:22 +00:00
  • 35f6b4845e Removed the feature test macros. Jef Driesen 2008-06-12 08:19:59 +00:00
  • 209aa53894 Added the initial implementation for the Oceanic Atom 2. Jef Driesen 2008-06-11 15:23:12 +00:00
  • ab5a3ffa55 Added pkg-config support. Jef Driesen 2008-06-05 08:44:35 +00:00
  • 5b8410f98b Start using autotools to build the project. Jef Driesen 2008-06-04 13:56:41 +00:00
  • 0312351bac Reorganization to separate the library and the test applications. Jef Driesen 2008-06-04 13:30:55 +00:00
  • df8f9e24f2 Made the discovery function static. Jef Driesen 2008-06-04 13:18:57 +00:00
  • 987b785de4 Make the public API return the size of the downloaded data. Jef Driesen 2008-05-23 20:36:31 +00:00
  • 1d50bcf732 Added a public API function to set the oldest timestamp. Jef Driesen 2008-05-23 20:31:21 +00:00
  • a540260f61 Added a function to read individual dives from the Reefnet Sensus Ultra. Jef Driesen 2008-05-23 20:12:16 +00:00
  • e0151bacf4 Added a function to extract individual dives for the Suunto Vyper/Eon. Jef Driesen 2008-05-21 10:53:22 +00:00
  • 0c2444ae07 Use a dynamically allocated memory buffer. Jef Driesen 2008-05-20 09:57:14 +00:00
  • 400143a0c4 Removed some unnecessary code. Jef Driesen 2008-05-20 09:24:31 +00:00
  • 857cd39c54 Simplified the error recovery by moving the code to a separate function. Jef Driesen 2008-05-20 08:59:15 +00:00
  • 9c30a72683 Added a public function to control the maximum number of retries. Jef Driesen 2008-05-16 08:30:49 +00:00
  • 21ecc37946 Separate reading and verification of the prompt byte. Jef Driesen 2008-05-16 07:54:38 +00:00
  • d6f2e575d1 Moved the code to read pages and the error recovery into a new function. Jef Driesen 2008-05-16 07:47:45 +00:00
  • e8ce10ffb3 Return the dives in reverse order (newest dives first). Jef Driesen 2008-05-15 14:20:32 +00:00
  • f37740be75 Added a function to extract individual dives from the binary data. Jef Driesen 2008-05-15 13:43:54 +00:00
  • e5ad376764 Added a function to extract individual dives from the binary data. Jef Driesen 2008-05-15 13:22:26 +00:00
  • 311170f2b8 Added the initial implementation for the Suunto Eon. Jef Driesen 2008-05-11 15:05:21 +00:00
  • 98b5d06be6 Added an auxiliary function to reduce the amount of duplicated code. Jef Driesen 2008-05-10 19:15:13 +00:00
  • e9956f50f0 Fixed a small error. Jef Driesen 2008-05-10 19:06:35 +00:00
  • 5b0810c324 Added a function to extract individual dives from the binary data. Jef Driesen 2008-04-17 08:04:04 +00:00
  • 30ff9e667a Fixed a mistake in the transfer protocol. Jef Driesen 2008-04-16 17:48:50 +00:00
  • c2bc70e8a0 Return only after all data has been read or written. Jef Driesen 2008-04-11 13:45:42 +00:00
  • 71a5c0ac3f Added the initial implementation for the Uwatec Smart. Jef Driesen 2008-04-08 08:16:32 +00:00
  • ea32784273 Added the initial support for infrared connections on Windows and Linux. Jef Driesen 2008-04-07 12:15:12 +00:00
  • 0ae0e9e69f Return the dives in reverse order (newest dives first). Jef Driesen 2008-04-01 12:20:13 +00:00
  • 1fdd9f186d Added a function to extract individual dives from the binary data. Jef Driesen 2008-03-31 09:24:34 +00:00
  • 4d12b4b491 Added a function to extract individual dives from the binary data. Jef Driesen 2008-03-31 09:21:41 +00:00
  • 2a1cd50910 Implemented the callback function to read individual dives. Jef Driesen 2008-03-26 09:53:42 +00:00
  • 7dd1d19eab Reduce the number of read operations. Jef Driesen 2008-03-26 08:47:14 +00:00
  • fcf11209b7 Added the initial implementation for the Reefnet Sensus Ultra. Jef Driesen 2008-03-18 10:17:51 +00:00
  • 3918ca99c5 Added the initial implementation for the Reefnet Sensus Pro. Jef Driesen 2008-03-17 14:47:38 +00:00
  • 8faae14591 Simplified the download code. Jef Driesen 2008-03-12 11:06:34 +00:00
  • feae81bd45 Move the function to read individual dives into the library. Jef Driesen 2008-03-11 15:58:54 +00:00
  • 02bb6019ee Show the commandline parameters in the logfile. Jef Driesen 2008-03-05 10:14:47 +00:00
  • 7c466009fd Skip the last 2 bytes when reading the ringbuffer. Jef Driesen 2008-03-05 08:30:41 +00:00
  • 0025221268 Fixed another regression in the timeout code. Jef Driesen 2008-02-28 14:20:51 +00:00
  • 032f39cdd6 Fixed a regression in the timeout code. Jef Driesen 2008-02-28 09:56:18 +00:00
  • dea1ae1518 Added a function to assert or clear a break condition. Jef Driesen 2008-02-24 19:52:12 +00:00
  • 25d8fc0969 Some more code simplifications. Jef Driesen 2008-02-22 11:12:15 +00:00
  • 1b44b886c0 Cleanup and simplification of the posix timeout code. Jef Driesen 2008-02-22 10:49:45 +00:00
  • 52a9293e7d Automatically retry the command if the device does not respond. Jef Driesen 2008-02-18 14:41:28 +00:00
  • f74e17068f Removed the suunto_vyper2_recv and suunto_d9_recv functions. Jef Driesen 2008-02-18 14:26:46 +00:00
  • 6f4d863498 Read the entire package with a single operation. Jef Driesen 2008-02-17 09:01:40 +00:00