1
0
mirror of git://sigrok.org/libserialport synced 2023-08-10 21:13:24 +03:00
Commit Graph

46 Commits

Author SHA1 Message Date
Uwe Hermann
1652aa869f Add Doxygen @since tags to all public API functions. 2014-05-05 02:09:11 +02:00
Uwe Hermann
524b0e1454 Add runtime version querying functions.
This fixes bug #282.
2014-03-13 12:23:56 +01:00
Uwe Hermann
deaf0a6351 Doxygen: Fix a warning / incorrect parameter name. 2013-12-27 02:39:29 +01:00
Martin Ling
6f1186aa82 Add API for waiting on port events. 2013-12-20 18:24:42 +00:00
Uwe Hermann
0a1ab8bf8f Minor Doxygen updates/fixes. 2013-12-17 22:39:19 +01:00
Martin Ling
2c827b2188 Handle EINTR from tcdrain() in sp_drain(). 2013-11-27 14:35:36 +00:00
Martin Ling
b87deb7c70 Clarify documentation regarding signals and EINTR. 2013-11-27 14:12:12 +00:00
Martin Ling
859874648e Fix error in documentation. 2013-11-27 14:12:04 +00:00
Martin Ling
2007ce5e14 Document EINTR handling. 2013-11-27 13:18:29 +00:00
Martin Ling
3353c22f32 Add sp_input_waiting() and sp_output_waiting() functions. 2013-11-27 02:55:18 +00:00
Martin Ling
e3dcf9068e New API and implementation for blocking and non-blocking I/O. 2013-11-27 01:45:48 +00:00
Martin Ling
e432ce6006 Support mark/space parity settings. 2013-11-25 18:05:58 +00:00
Martin Ling
9b1502efce Make configuration structure opaque. 2013-11-23 20:43:13 +00:00
Martin Ling
0151b15710 Clarify documentation. 2013-11-23 18:23:45 +00:00
Martin Ling
3c126654b3 Add sp_get_port_handle() function. 2013-11-23 17:50:45 +00:00
Martin Ling
1c5aae9dc5 Make port structure opaque. 2013-11-23 17:11:19 +00:00
Martin Ling
863b35e69c Add API for and default handler for debug messages. 2013-11-22 22:41:03 +00:00
Martin Ling
f36c639545 Remove dupliate/redundant return value documentation. 2013-11-22 21:58:51 +01:00
Martin Ling
6aabf62a90 Use new SP_ERR_SUPP error to indicate unsupported operations. 2013-11-22 21:46:26 +01:00
Uwe Hermann
7de20e3915 Use common 3-digit package version number. 2013-11-22 16:44:29 +01:00
Uwe Hermann
24abdb680f Minor cosmetics. 2013-11-22 16:10:55 +01:00
Uwe Hermann
8645feda60 Add missing #include guards. 2013-11-22 11:59:12 +01:00
Martin Ling
3f099f4fe8 Add missing @param port entries to documentation. 2013-11-22 02:11:45 +01:00
Martin Ling
8cf7c6978f Add sp_get_signals() function. 2013-11-22 02:11:40 +01:00
Martin Ling
90cc3ee62b Add sp_start_break() and sp_end_break() functions. 2013-11-22 02:11:34 +01:00
Martin Ling
69a3739ca0 Add sp_drain() function. 2013-11-22 02:11:34 +01:00
Martin Ling
ea34fba899 Add missing @param port entry to documentation. 2013-11-22 01:53:27 +01:00
Martin Ling
fd8fd11a4e Make sp_flush take an option for what to flush. 2013-11-22 01:53:22 +01:00
Martin Ling
a036341bdf Use a more logical set of SP_MODE_* flags. 2013-11-22 01:48:02 +01:00
Martin Ling
20e63a77b5 Define SP_PARITY_* more logically. 2013-11-22 01:47:34 +01:00
Uwe Hermann
cf9d365ce0 Doxygen cosmetics. 2013-11-19 20:10:56 +01:00
Uwe Hermann
626d280fd3 Consistently use the "@" notation for Doxygen tags. 2013-11-19 19:37:03 +01:00
Uwe Hermann
c85d0a28de Fix minor Doxygen warning. 2013-11-19 12:30:55 +01:00
Martin Ling
c200f5c144 Clarify usage of -1 in configuration API. 2013-11-19 03:14:09 +00:00
Martin Ling
091e75fedc Group functions for documentation. 2013-11-19 03:02:45 +00:00
Martin Ling
eb6ed20f51 Use named enums instead of ints for clearer documentation. 2013-11-19 02:36:22 +00:00
Martin Ling
cd5f52812d Add doxygen documentation. 2013-11-19 02:17:38 +00:00
Martin Ling
bf2cbd652f Mark config argument to sp_set_config as const. 2013-11-19 01:13:09 +00:00
Martin Ling
067417af4f Add sp_get_config() function. 2013-11-16 20:55:53 +00:00
Martin Ling
a33d84f6a0 Remove disused flowcontrol field from sp_port_config. 2013-11-15 11:43:07 +00:00
Martin Ling
18fc2dd12b Add sp_set_flowcontrol helper function. 2013-11-15 11:43:07 +00:00
Martin Ling
e96d8bd288 Split up prototypes in include file for clarity. 2013-11-15 11:43:07 +00:00
Martin Ling
9069c2fbb2 Add functions for setting individual port parameters. 2013-11-15 11:43:07 +00:00
Martin Ling
d514a26f81 New API for serial control lines. 2013-11-15 11:43:07 +00:00
Martin Ling
d1202734fb Replace sp_set_params with sp_set_config, which takes a struct. 2013-11-15 11:43:07 +00:00
Uwe Hermann
baba075903 libserialport.h: Add package/lib version macros.
These can be used by frontends e.g. for conditional compilation, or
simply for printing, logging to debug output, and so on.
2013-11-15 09:28:34 +01:00