96 <td><a href="#MicroPythonSerialDeviceInterface.__readSerial">__readSerial</a></td> |
96 <td><a href="#MicroPythonSerialDeviceInterface.__readSerial">__readSerial</a></td> |
97 <td>Private slot to read all available serial data and emit it with the "dataReceived" signal for further processing.</td> |
97 <td>Private slot to read all available serial data and emit it with the "dataReceived" signal for further processing.</td> |
98 </tr> |
98 </tr> |
99 <tr> |
99 <tr> |
100 <td><a href="#MicroPythonSerialDeviceInterface.connectToDevice">connectToDevice</a></td> |
100 <td><a href="#MicroPythonSerialDeviceInterface.connectToDevice">connectToDevice</a></td> |
101 <td>Public slot to connect to the device.</td> |
101 <td>Public method to connect to the device.</td> |
102 </tr> |
102 </tr> |
103 <tr> |
103 <tr> |
104 <td><a href="#MicroPythonSerialDeviceInterface.disconnectFromDevice">disconnectFromDevice</a></td> |
104 <td><a href="#MicroPythonSerialDeviceInterface.disconnectFromDevice">disconnectFromDevice</a></td> |
105 <td>Public slot to disconnect from the device.</td> |
105 <td>Public slot to disconnect from the device.</td> |
106 </tr> |
106 </tr> |
318 <a NAME="MicroPythonSerialDeviceInterface.connectToDevice" ID="MicroPythonSerialDeviceInterface.connectToDevice"></a> |
318 <a NAME="MicroPythonSerialDeviceInterface.connectToDevice" ID="MicroPythonSerialDeviceInterface.connectToDevice"></a> |
319 <h4>MicroPythonSerialDeviceInterface.connectToDevice</h4> |
319 <h4>MicroPythonSerialDeviceInterface.connectToDevice</h4> |
320 <b>connectToDevice</b>(<i>connection</i>) |
320 <b>connectToDevice</b>(<i>connection</i>) |
321 |
321 |
322 <p> |
322 <p> |
323 Public slot to connect to the device. |
323 Public method to connect to the device. |
324 </p> |
324 </p> |
325 <dl> |
325 <dl> |
326 |
326 |
327 <dt><i>connection</i> (str)</dt> |
327 <dt><i>connection</i> (str)</dt> |
328 <dd> |
328 <dd> |
330 </dd> |
330 </dd> |
331 </dl> |
331 </dl> |
332 <dl> |
332 <dl> |
333 <dt>Return:</dt> |
333 <dt>Return:</dt> |
334 <dd> |
334 <dd> |
335 flag indicating success |
335 flag indicating success and an error message |
336 </dd> |
336 </dd> |
337 </dl> |
337 </dl> |
338 <dl> |
338 <dl> |
339 <dt>Return Type:</dt> |
339 <dt>Return Type:</dt> |
340 <dd> |
340 <dd> |
341 bool |
341 tuple of (bool, str) |
342 </dd> |
342 </dd> |
343 </dl> |
343 </dl> |
344 <a NAME="MicroPythonSerialDeviceInterface.disconnectFromDevice" ID="MicroPythonSerialDeviceInterface.disconnectFromDevice"></a> |
344 <a NAME="MicroPythonSerialDeviceInterface.disconnectFromDevice" ID="MicroPythonSerialDeviceInterface.disconnectFromDevice"></a> |
345 <h4>MicroPythonSerialDeviceInterface.disconnectFromDevice</h4> |
345 <h4>MicroPythonSerialDeviceInterface.disconnectFromDevice</h4> |
346 <b>disconnectFromDevice</b>(<i></i>) |
346 <b>disconnectFromDevice</b>(<i></i>) |