]>
sigrok.org Git - libserialport.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Martin Ling [Thu, 14 Nov 2013 22:27:51 +0000 (22:27 +0000)]
Store control bits in sp_port_data on Unix.
Martin Ling [Thu, 14 Nov 2013 22:05:22 +0000 (22:05 +0000)]
Split up prototypes in include file for clarity.
Martin Ling [Thu, 14 Nov 2013 22:01:11 +0000 (22:01 +0000)]
Add functions for setting individual port parameters.
Martin Ling [Thu, 14 Nov 2013 21:43:07 +0000 (21:43 +0000)]
Apply sane termios settings at port open time.
Martin Ling [Thu, 14 Nov 2013 21:39:56 +0000 (21:39 +0000)]
Add prototypes for config helper functions.
Martin Ling [Thu, 14 Nov 2013 21:27:06 +0000 (21:27 +0000)]
Retrieve current control line settings in start_config.
Martin Ling [Thu, 14 Nov 2013 21:12:17 +0000 (21:12 +0000)]
New API for serial control lines.
Martin Ling [Thu, 14 Nov 2013 20:30:26 +0000 (20:30 +0000)]
Move cfset{i,o}speed() calls to set_baudrate().
Martin Ling [Thu, 14 Nov 2013 19:45:42 +0000 (19:45 +0000)]
Use negative values in sp_port_config to retain existing settings.
Martin Ling [Thu, 14 Nov 2013 18:41:28 +0000 (18:41 +0000)]
Replace sp_set_params with sp_set_config, which takes a struct.
Uwe Hermann [Fri, 15 Nov 2013 10:36:14 +0000 (11:36 +0100)]
Use new project URL.
Uwe Hermann [Thu, 14 Nov 2013 21:09:14 +0000 (22:09 +0100)]
pkg-config file: Use Requires.private to fix static build.
Any libs needed when building static binaries must be listed in the
'Requires.private' field of the installed pkg-config file libserialport.pc.
Currently, this is libudev (but only when building on/for Linux).
Uwe Hermann [Thu, 14 Nov 2013 21:16:11 +0000 (22:16 +0100)]
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.
Uwe Hermann [Thu, 14 Nov 2013 21:01:08 +0000 (22:01 +0100)]
configure.ac: Drop unneeded AC_MSG_ERROR.
The default behaviour of PKG_CHECK_MODULES is to abort with an error
anyway, but it will also print a more usable error message and hints
for the user about how to use PKG_CONFIG_PATH and so on.
Uwe Hermann [Thu, 14 Nov 2013 20:58:03 +0000 (21:58 +0100)]
libserialport: Allow C++ frontends to use the lib easily.
Uwe Hermann [Thu, 14 Nov 2013 16:33:53 +0000 (17:33 +0100)]
Minor cosmetics, typos, and so on.
Martin Ling [Thu, 14 Nov 2013 13:09:52 +0000 (13:09 +0000)]
Divide sp_set_params into separate helper functions.
Martin Ling [Mon, 4 Nov 2013 14:08:03 +0000 (14:08 +0000)]
Include <stdio.h> on Windows for sprintf, used in sp_open.
Martin Ling [Mon, 4 Nov 2013 14:02:51 +0000 (14:02 +0000)]
Support 6-bit data on Unix.
Martin Ling [Mon, 4 Nov 2013 14:02:41 +0000 (14:02 +0000)]
Set data bits on Windows.
Martin Ling [Mon, 4 Nov 2013 13:42:55 +0000 (13:42 +0000)]
Add sp_copy_port() function.
Martin Ling [Mon, 4 Nov 2013 13:08:09 +0000 (13:08 +0000)]
On Windows, prefix port names with '\\.\' to work with ports above COM9.
Martin Ling [Mon, 4 Nov 2013 12:53:12 +0000 (12:53 +0000)]
Rename header to libserialport.h.
Martin Ling [Mon, 4 Nov 2013 02:16:21 +0000 (02:16 +0000)]
Fix enumeration on Windows.
Martin Ling [Mon, 4 Nov 2013 00:00:05 +0000 (00:00 +0000)]
Fix enumeration on OS X.
Martin Ling [Sun, 3 Nov 2013 23:12:03 +0000 (23:12 +0000)]
Update documentation.
Martin Ling [Sun, 3 Nov 2013 22:40:39 +0000 (22:40 +0000)]
Remove outdated inline documentation, README is now authoritative.
Martin Ling [Sun, 3 Nov 2013 22:38:50 +0000 (22:38 +0000)]
Clarify return values of sp_get_port_by_name() and sp_list_ports().
Martin Ling [Sun, 3 Nov 2013 22:34:17 +0000 (22:34 +0000)]
Clarify documentation for sp_read() and sp_write().
Martin Ling [Sun, 3 Nov 2013 22:30:46 +0000 (22:30 +0000)]
Update documentation.
Martin Ling [Sun, 3 Nov 2013 22:27:59 +0000 (22:27 +0000)]
Add sp_free_port() function.
Martin Ling [Sun, 3 Nov 2013 22:15:54 +0000 (22:15 +0000)]
Make sp_list_ports and sp_get_port_by_name return int.
Martin Ling [Sun, 3 Nov 2013 21:35:46 +0000 (21:35 +0000)]
Add sp_get_port_by_name() function.
Martin Ling [Sun, 3 Nov 2013 21:30:43 +0000 (21:30 +0000)]
Port name string length now no longer needs to be passed around.
Martin Ling [Sun, 3 Nov 2013 21:22:21 +0000 (21:22 +0000)]
Handle conversion of unicode names to char * on Windows.
Martin Ling [Sun, 3 Nov 2013 21:17:21 +0000 (21:17 +0000)]
Identify ports by sp_port structure, not name.
Martin Ling [Sun, 3 Nov 2013 20:50:01 +0000 (20:50 +0000)]
Always return an empty port list unless allocation fails.
Martin Ling [Sun, 3 Nov 2013 20:21:36 +0000 (20:21 +0000)]
Add SP_ERR_MEM failure code.
Martin Ling [Sat, 2 Nov 2013 19:14:36 +0000 (19:14 +0000)]
Fix building on OSX and Linux.
Martin Ling [Mon, 28 Oct 2013 01:32:06 +0000 (01:32 +0000)]
Rename "name" to "value" to be more consistent with Windows terminology.
Martin Ling [Sun, 27 Oct 2013 17:24:12 +0000 (17:24 +0000)]
Add enum values for flow control settings.
Martin Ling [Sun, 27 Oct 2013 17:19:39 +0000 (17:19 +0000)]
Add documentation.
Martin Ling [Sun, 27 Oct 2013 15:42:08 +0000 (15:42 +0000)]
Add include guard.
Martin Ling [Sun, 27 Oct 2013 12:51:55 +0000 (12:51 +0000)]
Ignore non-existant serial8250 ports on Linux.
Martin Ling [Sun, 27 Oct 2013 12:09:37 +0000 (12:09 +0000)]
On Linux, skip virtual ttys that have no parent device.
Martin Ling [Sun, 27 Oct 2013 11:29:25 +0000 (11:29 +0000)]
Minor changes to port flags on Unix, to remain in sync with libsigrok.
Martin Ling [Wed, 8 May 2013 01:55:43 +0000 (02:55 +0100)]
Fix list append.
Martin Ling [Sun, 28 Apr 2013 11:36:02 +0000 (12:36 +0100)]
Document enumeration functions.
Martin Ling [Sun, 28 Apr 2013 10:56:06 +0000 (11:56 +0100)]
Add serial enumeration code.
Martin Ling [Sat, 27 Apr 2013 23:50:30 +0000 (00:50 +0100)]
Add .gitignore for build outputs.
Martin Ling [Sat, 27 Apr 2013 23:32:08 +0000 (00:32 +0100)]
Add build system.
Martin Ling [Sat, 27 Apr 2013 23:17:46 +0000 (00:17 +0100)]
Avoid unused variable warning on non-Windows platforms.
Martin Ling [Sat, 27 Apr 2013 23:15:09 +0000 (00:15 +0100)]
Remove unused glob.h include.
Martin Ling [Sat, 27 Apr 2013 22:35:45 +0000 (23:35 +0100)]
Initial version. Builds for Linux and Windows.