384 <tr> |
384 <tr> |
385 <td><a href="#BaseDevice.hasWifi">hasWifi</a></td> |
385 <td><a href="#BaseDevice.hasWifi">hasWifi</a></td> |
386 <td>Public method to check the availability of WiFi.</td> |
386 <td>Public method to check the availability of WiFi.</td> |
387 </tr> |
387 </tr> |
388 <tr> |
388 <tr> |
|
389 <td><a href="#BaseDevice.hasWifiCountry">hasWifiCountry</a></td> |
|
390 <td>Public method to check, if the device (potentially) has support to set the WiFi country.</td> |
|
391 </tr> |
|
392 <tr> |
389 <td><a href="#BaseDevice.isLanConnected">isLanConnected</a></td> |
393 <td><a href="#BaseDevice.isLanConnected">isLanConnected</a></td> |
390 <td>Public method to check the LAN connection status.</td> |
394 <td>Public method to check the LAN connection status.</td> |
391 </tr> |
395 </tr> |
392 <tr> |
396 <tr> |
393 <td><a href="#BaseDevice.isNetworkConnected">isNetworkConnected</a></td> |
397 <td><a href="#BaseDevice.isNetworkConnected">isNetworkConnected</a></td> |
901 tuple of (bool, str) |
905 tuple of (bool, str) |
902 </dd> |
906 </dd> |
903 </dl> |
907 </dl> |
904 <a NAME="BaseDevice.connectToLan" ID="BaseDevice.connectToLan"></a> |
908 <a NAME="BaseDevice.connectToLan" ID="BaseDevice.connectToLan"></a> |
905 <h4>BaseDevice.connectToLan</h4> |
909 <h4>BaseDevice.connectToLan</h4> |
906 <b>connectToLan</b>(<i>config</i>) |
910 <b>connectToLan</b>(<i>config, hostname</i>) |
907 |
911 |
908 <a NAME="BaseDevice.connectWifi" ID="BaseDevice.connectWifi"></a> |
912 <a NAME="BaseDevice.connectWifi" ID="BaseDevice.connectWifi"></a> |
909 <h4>BaseDevice.connectWifi</h4> |
913 <h4>BaseDevice.connectWifi</h4> |
910 <b>connectWifi</b>(<i>ssid, password</i>) |
914 <b>connectWifi</b>(<i>ssid, password, hostname</i>) |
911 |
915 |
912 <a NAME="BaseDevice.deactivateBluetoothInterface" ID="BaseDevice.deactivateBluetoothInterface"></a> |
916 <a NAME="BaseDevice.deactivateBluetoothInterface" ID="BaseDevice.deactivateBluetoothInterface"></a> |
913 <h4>BaseDevice.deactivateBluetoothInterface</h4> |
917 <h4>BaseDevice.deactivateBluetoothInterface</h4> |
914 <b>deactivateBluetoothInterface</b>(<i></i>) |
918 <b>deactivateBluetoothInterface</b>(<i></i>) |
915 |
919 |
1736 </dl> |
1740 </dl> |
1737 <dl> |
1741 <dl> |
1738 <dt>Return Type:</dt> |
1742 <dt>Return Type:</dt> |
1739 <dd> |
1743 <dd> |
1740 tuple of (bool, str) |
1744 tuple of (bool, str) |
|
1745 </dd> |
|
1746 </dl> |
|
1747 <a NAME="BaseDevice.hasWifiCountry" ID="BaseDevice.hasWifiCountry"></a> |
|
1748 <h4>BaseDevice.hasWifiCountry</h4> |
|
1749 <b>hasWifiCountry</b>(<i></i>) |
|
1750 |
|
1751 <p> |
|
1752 Public method to check, if the device (potentially) has support to set the |
|
1753 WiFi country. |
|
1754 </p> |
|
1755 <dl> |
|
1756 <dt>Return:</dt> |
|
1757 <dd> |
|
1758 flag indicating the support of WiFi country |
|
1759 </dd> |
|
1760 </dl> |
|
1761 <dl> |
|
1762 <dt>Return Type:</dt> |
|
1763 <dd> |
|
1764 bool |
1741 </dd> |
1765 </dd> |
1742 </dl> |
1766 </dl> |
1743 <a NAME="BaseDevice.isLanConnected" ID="BaseDevice.isLanConnected"></a> |
1767 <a NAME="BaseDevice.isLanConnected" ID="BaseDevice.isLanConnected"></a> |
1744 <h4>BaseDevice.isLanConnected</h4> |
1768 <h4>BaseDevice.isLanConnected</h4> |
1745 <b>isLanConnected</b>(<i></i>) |
1769 <b>isLanConnected</b>(<i></i>) |
2369 directory to be used for saving files |
2393 directory to be used for saving files |
2370 </dd> |
2394 </dd> |
2371 </dl> |
2395 </dl> |
2372 <a NAME="BaseDevice.startAccessPoint" ID="BaseDevice.startAccessPoint"></a> |
2396 <a NAME="BaseDevice.startAccessPoint" ID="BaseDevice.startAccessPoint"></a> |
2373 <h4>BaseDevice.startAccessPoint</h4> |
2397 <h4>BaseDevice.startAccessPoint</h4> |
2374 <b>startAccessPoint</b>(<i>ssid, security=None, password=None, ifconfig=None</i>) |
2398 <b>startAccessPoint</b>(<i>ssid, security=None, password=None, hostname=None, ifconfig=None, </i>) |
2375 |
2399 |
2376 <p> |
2400 <p> |
2377 Public method to start the access point interface. |
2401 Public method to start the access point interface. |
2378 </p> |
2402 </p> |
2379 <dl> |
2403 <dl> |
2387 security method (defaults to None) |
2411 security method (defaults to None) |
2388 </dd> |
2412 </dd> |
2389 <dt><i>password</i> (str (optional))</dt> |
2413 <dt><i>password</i> (str (optional))</dt> |
2390 <dd> |
2414 <dd> |
2391 password (defaults to None) |
2415 password (defaults to None) |
|
2416 </dd> |
|
2417 <dt><i>hostname</i> (str (optional))</dt> |
|
2418 <dd> |
|
2419 host name of the device (defaults to None) |
2392 </dd> |
2420 </dd> |
2393 <dt><i>ifconfig</i> (tuple of (str, str, str, str))</dt> |
2421 <dt><i>ifconfig</i> (tuple of (str, str, str, str))</dt> |
2394 <dd> |
2422 <dd> |
2395 IPv4 configuration for the access point if not default |
2423 IPv4 configuration for the access point if not default |
2396 (IPv4 address, netmask, gateway address, DNS server address) |
2424 (IPv4 address, netmask, gateway address, DNS server address) |
2489 tuple of (str, str) |
2517 tuple of (str, str) |
2490 </dd> |
2518 </dd> |
2491 </dl> |
2519 </dl> |
2492 <a NAME="BaseDevice.writeCredentials" ID="BaseDevice.writeCredentials"></a> |
2520 <a NAME="BaseDevice.writeCredentials" ID="BaseDevice.writeCredentials"></a> |
2493 <h4>BaseDevice.writeCredentials</h4> |
2521 <h4>BaseDevice.writeCredentials</h4> |
2494 <b>writeCredentials</b>(<i>ssid, password</i>) |
2522 <b>writeCredentials</b>(<i>ssid, password, hostname, country</i>) |
2495 |
2523 |
2496 <a NAME="BaseDevice.writeLanAutoConnect" ID="BaseDevice.writeLanAutoConnect"></a> |
2524 <a NAME="BaseDevice.writeLanAutoConnect" ID="BaseDevice.writeLanAutoConnect"></a> |
2497 <h4>BaseDevice.writeLanAutoConnect</h4> |
2525 <h4>BaseDevice.writeLanAutoConnect</h4> |
2498 <b>writeLanAutoConnect</b>(<i>config</i>) |
2526 <b>writeLanAutoConnect</b>(<i>config, hostname</i>) |
2499 |
2527 |
2500 <div align="right"><a href="#top">Up</a></div> |
2528 <div align="right"><a href="#top">Up</a></div> |
2501 <hr /> |
2529 <hr /> |
2502 </body></html> |
2530 </body></html> |