Jef Driesen 84563c6303 Refactor the internal serial and IrDA api.
The low level serial and IrDA functions are modified to:

 - Use the libdivecomputer namespace prefix.

 - Return a more detailed status code instead of the zero on success and
   negative on error return value. This will allow to return more
   fine-grained error codes.

 - The read and write functions have an additional output parameter to
   return the actual number of bytes transferred. Since these functions
   are not atomic, some data might still be transferred successfully if
   an error occurs.

The dive computer backends are updated to use the new api.
2016-05-10 11:34:57 +02:00
..
2014-12-21 14:52:12 +01:00
2014-12-21 14:52:12 +01:00
2016-04-26 10:59:02 +02:00
2016-04-26 10:59:02 +02:00
2012-06-21 21:39:24 +02:00
2014-03-19 09:16:07 +01:00
2014-03-19 09:16:07 +01:00
2014-03-14 09:44:10 +01:00
2013-08-22 09:15:55 +02:00
2012-06-21 21:42:37 +02:00
2014-03-19 09:16:07 +01:00
2014-03-19 09:16:07 +01:00
2016-04-26 10:59:02 +02:00