Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
SerialTester Class Reference
Public Member Functions | |
| def | new_session_with_baud |
| def | read |
| def | write |
| def | set_read_timeout |
| def | flush |
Detailed Description
Helper object to buffer serial and setup baud
Definition at line 64 of file serial_test.py.
Member Function Documentation
| def flush | ( | self ) |
Wait for all writes to complete
Definition at line 144 of file serial_test.py.
| def new_session_with_baud | ( | self, | |
| baud, | |||
| parent_test | |||
| ) |
Start a new session by restarting target and setting baud
Definition at line 85 of file serial_test.py.
| def read | ( | self, | |
| length | |||
| ) |
Read serial data
Definition at line 130 of file serial_test.py.
| def set_read_timeout | ( | self, | |
| timeout | |||
| ) |
Set timeout for read operations
Definition at line 139 of file serial_test.py.
| def write | ( | self, | |
| data | |||
| ) |
Write serial port data in the background
Definition at line 134 of file serial_test.py.
Generated on Tue Jul 12 2022 15:37:38 by
1.7.2