Sat, 26 Apr 2025 12:34:32 +0200
MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.
<!DOCTYPE html> <html><head> <title>eric7.MicroPython.BluetoothDialogs.BluetoothController</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.MicroPython.BluetoothDialogs.BluetoothController</h1> <p> Module implementing the Bluetooth related functionality. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#BluetoothController">BluetoothController</a></td> <td>Class implementing the Bluetooth related functionality.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="BluetoothController" ID="BluetoothController"></a> <h2>BluetoothController</h2> <p> Class implementing the Bluetooth related functionality. </p> <h3>Derived from</h3> QObject <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#BluetoothController.__init__">BluetoothController</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#BluetoothController.__activateInterface">__activateInterface</a></td> <td>Private slot to activate the Bluetooth interface.</td> </tr> <tr> <td><a href="#BluetoothController.__deactivateInterface">__deactivateInterface</a></td> <td>Private slot to deactivate the Bluetooth interface.</td> </tr> <tr> <td><a href="#BluetoothController.__scan">__scan</a></td> <td>Private slot to scan for Bluetooth devices.</td> </tr> <tr> <td><a href="#BluetoothController.__showBtStatus">__showBtStatus</a></td> <td>Private slot to show the status and some parameters of the Bluetooth interface.</td> </tr> <tr> <td><a href="#BluetoothController.createMenu">createMenu</a></td> <td>Public method to create the Bluetooth submenu.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="BluetoothController.__init__" ID="BluetoothController.__init__"></a> <h4>BluetoothController (Constructor)</h4> <b>BluetoothController</b>(<i>microPython, parent=None</i>) <p> Constructor </p> <dl> <dt><i>microPython</i> (MicroPythonWidgep)</dt> <dd> reference to the MicroPython widget </dd> <dt><i>parent</i> (QObject (optional))</dt> <dd> reference to the parent object (defaults to None) </dd> </dl> <a NAME="BluetoothController.__activateInterface" ID="BluetoothController.__activateInterface"></a> <h4>BluetoothController.__activateInterface</h4> <b>__activateInterface</b>(<i></i>) <p> Private slot to activate the Bluetooth interface. </p> <a NAME="BluetoothController.__deactivateInterface" ID="BluetoothController.__deactivateInterface"></a> <h4>BluetoothController.__deactivateInterface</h4> <b>__deactivateInterface</b>(<i></i>) <p> Private slot to deactivate the Bluetooth interface. </p> <a NAME="BluetoothController.__scan" ID="BluetoothController.__scan"></a> <h4>BluetoothController.__scan</h4> <b>__scan</b>(<i></i>) <p> Private slot to scan for Bluetooth devices. </p> <a NAME="BluetoothController.__showBtStatus" ID="BluetoothController.__showBtStatus"></a> <h4>BluetoothController.__showBtStatus</h4> <b>__showBtStatus</b>(<i></i>) <p> Private slot to show the status and some parameters of the Bluetooth interface. </p> <a NAME="BluetoothController.createMenu" ID="BluetoothController.createMenu"></a> <h4>BluetoothController.createMenu</h4> <b>createMenu</b>(<i>menu</i>) <p> Public method to create the Bluetooth submenu. </p> <dl> <dt><i>menu</i> (QMenu)</dt> <dd> reference to the parent menu </dd> </dl> <dl> <dt>Return:</dt> <dd> reference to the created menu </dd> </dl> <dl> <dt>Return Type:</dt> <dd> QMenu </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>