202 <tr> |
202 <tr> |
203 <td><a href="#RP2Device.getEthernetStatus">getEthernetStatus</a></td> |
203 <td><a href="#RP2Device.getEthernetStatus">getEthernetStatus</a></td> |
204 <td>Public method to get Ethernet status data of the connected board.</td> |
204 <td>Public method to get Ethernet status data of the connected board.</td> |
205 </tr> |
205 </tr> |
206 <tr> |
206 <tr> |
|
207 <td><a href="#RP2Device.getSecurityModes">getSecurityModes</a></td> |
|
208 <td>Public method to get a list of security modes supported by the device.</td> |
|
209 </tr> |
|
210 <tr> |
207 <td><a href="#RP2Device.getWifiData">getWifiData</a></td> |
211 <td><a href="#RP2Device.getWifiData">getWifiData</a></td> |
208 <td>Public method to get data related to the current WiFi status.</td> |
212 <td>Public method to get data related to the current WiFi status.</td> |
209 </tr> |
213 </tr> |
210 <tr> |
214 <tr> |
211 <td><a href="#RP2Device.hasBluetooth">hasBluetooth</a></td> |
215 <td><a href="#RP2Device.hasBluetooth">hasBluetooth</a></td> |
1020 <dt>Raises <b>OSError</b>:</dt> |
1024 <dt>Raises <b>OSError</b>:</dt> |
1021 <dd> |
1025 <dd> |
1022 raised to indicate an issue with the device |
1026 raised to indicate an issue with the device |
1023 </dd> |
1027 </dd> |
1024 </dl> |
1028 </dl> |
|
1029 <a NAME="RP2Device.getSecurityModes" ID="RP2Device.getSecurityModes"></a> |
|
1030 <h4>RP2Device.getSecurityModes</h4> |
|
1031 <b>getSecurityModes</b>(<i></i>) |
|
1032 <p> |
|
1033 Public method to get a list of security modes supported by the device. |
|
1034 </p> |
|
1035 |
|
1036 <dl> |
|
1037 <dt>Return:</dt> |
|
1038 <dd> |
|
1039 list of supported security modes |
|
1040 </dd> |
|
1041 </dl> |
|
1042 <dl> |
|
1043 <dt>Return Type:</dt> |
|
1044 <dd> |
|
1045 list of str |
|
1046 </dd> |
|
1047 </dl> |
1025 <a NAME="RP2Device.getWifiData" ID="RP2Device.getWifiData"></a> |
1048 <a NAME="RP2Device.getWifiData" ID="RP2Device.getWifiData"></a> |
1026 <h4>RP2Device.getWifiData</h4> |
1049 <h4>RP2Device.getWifiData</h4> |
1027 <b>getWifiData</b>(<i></i>) |
1050 <b>getWifiData</b>(<i></i>) |
1028 <p> |
1051 <p> |
1029 Public method to get data related to the current WiFi status. |
1052 Public method to get data related to the current WiFi status. |
1380 |
1403 |
1381 <dt><i>ssid</i> (str)</dt> |
1404 <dt><i>ssid</i> (str)</dt> |
1382 <dd> |
1405 <dd> |
1383 SSID of the access point |
1406 SSID of the access point |
1384 </dd> |
1407 </dd> |
1385 <dt><i>security</i> (int (optional))</dt> |
1408 <dt><i>security</i> (str (optional))</dt> |
1386 <dd> |
1409 <dd> |
1387 security method (defaults to None) |
1410 security mode (defaults to None) (unused) |
1388 </dd> |
1411 </dd> |
1389 <dt><i>password</i> (str (optional))</dt> |
1412 <dt><i>password</i> (str (optional))</dt> |
1390 <dd> |
1413 <dd> |
1391 password (defaults to None) |
1414 password (defaults to None) |
1392 </dd> |
1415 </dd> |