Provides connection to the device via computer's serial port.
More...
|
| def | __init__ (self, portName, baudRate) |
| |
|
def | __del__ (self, release=cyberatom.IConnection_release) |
| |
| def | sendMessage (self, code, payload, len) |
| |
| def | checkForMessages (self, receiver) |
| |
Provides connection to the device via computer's serial port.
| def cyberatom.SerialConnection.__init__ |
( |
|
self, |
|
|
|
portName, |
|
|
|
baudRate |
|
) |
| |
- Parameters
-
| portName | Name of serial port used to communicate with the device. On Windows system that would be COMx and on Linux/Unix system typically /dev/ttyXXX. |
| baudRate | Communication rate in bauds. |
| def cyberatom.SerialConnection.checkForMessages |
( |
|
self, |
|
|
|
receiver |
|
) |
| |
| def cyberatom.SerialConnection.sendMessage |
( |
|
self, |
|
|
|
code, |
|
|
|
payload, |
|
|
|
len |
|
) |
| |
The documentation for this class was generated from the following file: