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

On Windows, prefix port names with '\\.\' to work with ports above COM9.

This commit is contained in:
Martin Ling
2013-11-04 13:08:09 +00:00
committed by Uwe Hermann
parent f6a1fb65ea
commit 99945a1fb5
2 changed files with 13 additions and 3 deletions

4
README
View File

@@ -131,8 +131,8 @@ int sp_open(struct sp_port *port, int flags);
flags: Flags to use when opening the serial port. Possible
flags are: SP_MODE_RDWR, SP_MODE_RDONLY, and SP_MODE_NONBLOCK.
Returns: SP_OK on success, SP_ERR_FAIL on failure, or SP_ERR_ARG
if an invalid port is passed.
Returns: SP_OK on success, SP_ERR_FAIL on failure, SP_ERR_MEM on allocation
failure, or SP_ERR_ARG if an invalid port is passed.
int sp_close(struct sp_port *port);