From 7bf24a25e8d754bcbd5f1946d5c4b36db7945ea6 Mon Sep 17 00:00:00 2001 From: cliechti Date: Wed, 28 Dec 2011 21:39:42 +0000 Subject: 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 --- documentation/pyserial_api.rst | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'documentation') 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 -- cgit v1.2.1