185 </tr> |
185 </tr> |
186 <tr> |
186 <tr> |
187 <td><a href="#MicrobitDevice.setConnected">setConnected</a></td> |
187 <td><a href="#MicrobitDevice.setConnected">setConnected</a></td> |
188 <td>Public method to set the connection state.</td> |
188 <td>Public method to set the connection state.</td> |
189 </tr> |
189 </tr> |
|
190 <tr> |
|
191 <td><a href="#MicrobitDevice.supportsDeviceScan">supportsDeviceScan</a></td> |
|
192 <td>Public method to indicate, that the Bluetooth implementation supports scanning for devices.</td> |
|
193 </tr> |
190 </table> |
194 </table> |
191 |
195 |
192 <h3>Static Methods</h3> |
196 <h3>Static Methods</h3> |
193 <table> |
197 <table> |
194 <tr><td>None</td></tr> |
198 <tr><td>None</td></tr> |
838 <dl> |
842 <dl> |
839 |
843 |
840 <dt><i>connected</i> (bool)</dt> |
844 <dt><i>connected</i> (bool)</dt> |
841 <dd> |
845 <dd> |
842 connection state |
846 connection state |
|
847 </dd> |
|
848 </dl> |
|
849 <a NAME="MicrobitDevice.supportsDeviceScan" ID="MicrobitDevice.supportsDeviceScan"></a> |
|
850 <h4>MicrobitDevice.supportsDeviceScan</h4> |
|
851 <b>supportsDeviceScan</b>(<i></i>) |
|
852 <p> |
|
853 Public method to indicate, that the Bluetooth implementation supports |
|
854 scanning for devices. |
|
855 </p> |
|
856 |
|
857 <dl> |
|
858 <dt>Return:</dt> |
|
859 <dd> |
|
860 flag indicating that the scanning function is supported |
|
861 </dd> |
|
862 </dl> |
|
863 <dl> |
|
864 <dt>Return Type:</dt> |
|
865 <dd> |
|
866 bool |
843 </dd> |
867 </dd> |
844 </dl> |
868 </dl> |
845 <div align="right"><a href="#top">Up</a></div> |
869 <div align="right"><a href="#top">Up</a></div> |
846 <hr /> |
870 <hr /> |
847 <hr /> |
871 <hr /> |