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:
4
README
4
README
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user