Commit Graph

113 Commits

Author SHA1 Message Date
Martin Ling d54e90047b Identify ports by sp_port structure, not name. 2013-11-15 00:42:38 +01:00
Martin Ling 24c1a4bb05 Always return an empty port list unless allocation fails. 2013-11-15 00:42:38 +01:00
Martin Ling 1ebf4347e0 Fix building on OSX and Linux. 2013-11-15 00:42:37 +01:00
Martin Ling bdfb5b8c08 Rename "name" to "value" to be more consistent with Windows terminology. 2013-11-15 00:42:37 +01:00
Martin Ling 4b97c9fc26 Ignore non-existant serial8250 ports on Linux. 2013-11-15 00:42:37 +01:00
Martin Ling 08fe0bdbdb On Linux, skip virtual ttys that have no parent device. 2013-11-15 00:42:37 +01:00
Martin Ling 8683177b9d Minor changes to port flags on Unix, to remain in sync with libsigrok. 2013-11-15 00:42:37 +01:00
Martin Ling db2794cea9 Fix list append. 2013-11-15 00:42:37 +01:00
Martin Ling 68ab64ccdc Document enumeration functions. 2013-11-15 00:42:36 +01:00
Martin Ling 3b63f34dcb Add serial enumeration code. 2013-11-15 00:42:36 +01:00
Martin Ling 64eec30d22 Avoid unused variable warning on non-Windows platforms. 2013-10-27 10:56:31 +00:00
Martin Ling 954e81adaf Remove unused glob.h include. 2013-10-27 10:56:31 +00:00
Martin Ling 74510d4b59 Initial version. Builds for Linux and Windows. 2013-10-27 10:56:22 +00:00