Martin Ling
|
8094e4a0ce
|
Divide sp_set_params into separate helper functions.
|
2013-11-15 00:42:40 +01:00 |
|
Martin Ling
|
767c5ba80e
|
Include <stdio.h> on Windows for sprintf, used in sp_open.
|
2013-11-15 00:42:40 +01:00 |
|
Martin Ling
|
d1d566f27f
|
Support 6-bit data on Unix.
|
2013-11-15 00:42:40 +01:00 |
|
Martin Ling
|
e4cc1a537a
|
Set data bits on Windows.
|
2013-11-15 00:42:39 +01:00 |
|
Martin Ling
|
32b5ac05b4
|
Add sp_copy_port() function.
|
2013-11-15 00:42:39 +01:00 |
|
Martin Ling
|
99945a1fb5
|
On Windows, prefix port names with '\\.\' to work with ports above COM9.
|
2013-11-15 00:42:39 +01:00 |
|
Martin Ling
|
f6a1fb65ea
|
Rename header to libserialport.h.
|
2013-11-15 00:42:39 +01:00 |
|
Martin Ling
|
d9573bad9a
|
Fix enumeration on Windows.
|
2013-11-15 00:42:39 +01:00 |
|
Martin Ling
|
0d34b4519c
|
Fix enumeration on OS X.
|
2013-11-15 00:42:39 +01:00 |
|
Martin Ling
|
c45eb4bee2
|
Update documentation.
|
2013-11-15 00:42:39 +01:00 |
|
Martin Ling
|
f9796bcb86
|
Remove outdated inline documentation, README is now authoritative.
|
2013-11-15 00:42:39 +01:00 |
|
Martin Ling
|
b9a462bb47
|
Clarify return values of sp_get_port_by_name() and sp_list_ports().
|
2013-11-15 00:42:39 +01:00 |
|
Martin Ling
|
25ab82f6c0
|
Clarify documentation for sp_read() and sp_write().
|
2013-11-15 00:42:38 +01:00 |
|
Martin Ling
|
0161932884
|
Update documentation.
|
2013-11-15 00:42:38 +01:00 |
|
Martin Ling
|
e3b2f7a4e3
|
Add sp_free_port() function.
|
2013-11-15 00:42:38 +01:00 |
|
Martin Ling
|
77f262c4f9
|
Make sp_list_ports and sp_get_port_by_name return int.
|
2013-11-15 00:42:38 +01:00 |
|
Martin Ling
|
d4babed247
|
Add sp_get_port_by_name() function.
|
2013-11-15 00:42:38 +01:00 |
|
Martin Ling
|
5919c9134a
|
Port name string length now no longer needs to be passed around.
|
2013-11-15 00:42:38 +01:00 |
|
Martin Ling
|
8b532d9c1e
|
Handle conversion of unicode names to char * on Windows.
|
2013-11-15 00:42:38 +01:00 |
|
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
|
e9a2f9c9d3
|
Add SP_ERR_MEM failure code.
|
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
|
ac74fdafca
|
Add enum values for flow control settings.
|
2013-11-15 00:42:37 +01:00 |
|
Martin Ling
|
0a16d4def9
|
Add documentation.
|
2013-11-15 00:42:37 +01:00 |
|
Martin Ling
|
e8ffaee986
|
Add include guard.
|
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
|
d22b213120
|
Add .gitignore for build outputs.
|
2013-11-15 00:42:36 +01:00 |
|
Martin Ling
|
0662f2bb88
|
Add build system.
|
2013-10-27 11:01:44 +00: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 |
|