diff options
author | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2011-12-28 21:39:42 +0000 |
---|---|---|
committer | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2011-12-28 21:39:42 +0000 |
commit | 7bf24a25e8d754bcbd5f1946d5c4b36db7945ea6 (patch) | |
tree | c29261cf0a0118b9560f20eae6ef28ab729aad9c /documentation | |
parent | c5fe0c0fc6d6e7f21e9bcf8aa3ea03f7938aaba1 (diff) | |
download | pyserial-7bf24a25e8d754bcbd5f1946d5c4b36db7945ea6.tar.gz |
implement outWaiting on Posix, doc updates
git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@443 f19166aa-fa4f-0410-85c2-fa1106f25c8a
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/pyserial_api.rst | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/documentation/pyserial_api.rst b/documentation/pyserial_api.rst index bafea46..f0a0cb1 100644 --- a/documentation/pyserial_api.rst +++ b/documentation/pyserial_api.rst @@ -73,10 +73,11 @@ Native ports The parameter *baudrate* can be one of the standard values: 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200. - These are well supported on all platforms. Standard values above 115200 - such as: 230400, 460800, 500000, 576000, 921600, 1000000, 1152000, - 1500000, 2000000, 2500000, 3000000, 3500000, 4000000 also work on many - platforms. + These are well supported on all platforms. + + Standard values above 115200, such as: 230400, 460800, 500000, 576000, + 921600, 1000000, 1152000, 1500000, 2000000, 2500000, 3000000, 3500000, + 4000000 also work on many platforms and devices. Non-standard values are also supported on some platforms (GNU/Linux, MAC OSX >= Tiger, Windows). Though, even on these platforms some serial @@ -360,6 +361,15 @@ Native ports .. warning:: Programs using the following methods are not portable to other platforms! + .. method:: outWaiting() + + :platform: Unix + :platform: Windows + + Return the number of bytes in the output buffer. + + .. versionchanged:: 2.7 (Posix support added) + .. method:: nonblocking() :platform: Unix |