src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html

branch
mpy_network
changeset 9891
e58c3fadcacc
parent 9880
f425c58cf8e9
child 9912
c731e9bdd105
equal deleted inserted replaced
9890:66a6d3f131cc 9891:e58c3fadcacc
96 <p> 96 <p>
97 Supported Bluetooth commands are: 97 Supported Bluetooth commands are:
98 <ul> 98 <ul>
99 <li>hasBluetooth: check, if the board has Bluetooth functionality</li> 99 <li>hasBluetooth: check, if the board has Bluetooth functionality</li>
100 <li>getBluetoothStatus: get Bluetooth status data</li> 100 <li>getBluetoothStatus: get Bluetooth status data</li>
101 <li>activateBluetoothInterface: activate a Bluetooth interface</li>
101 <li>deactivateBluetoothInterface: deactivate a Bluetooth interface</li> 102 <li>deactivateBluetoothInterface: deactivate a Bluetooth interface</li>
103 <li>getDeviceScan: scan for visible Bluetooth devices</li>
104 </ul>
105 </p>
106 <p>
107 Supported Ethernet commands are:
108 <ul>
109 <li>hasEthernet: check, if the board has Ethernet functionality
110 <li>getEthernetStatus: get Ethernet status data
111 <li>connectToLan: connect to an Ethernet network
112 <li>disconnectFromLan: disconnect from an Ethernet network
113 <li>checkInternetViaLan: check, if internet access via LAN is possible
114 <li>deactivateEthernet: deactivate the Ethernet interface
115 <li>writeLanAutoConnect: save IPv4 parameters to the board and create a script
116 to connect the board to the LAN
117 <li>removeLanAutoConnect: remove the IPv4 parameters and script from the board
102 </ul> 118 </ul>
103 </p> 119 </p>
104 <h3>Derived from</h3> 120 <h3>Derived from</h3>
105 QObject 121 QObject
106 <h3>Class Attributes</h3> 122 <h3>Class Attributes</h3>
2132 flag indicating the active status 2148 flag indicating the active status
2133 </dd> 2149 </dd>
2134 </dl> 2150 </dl>
2135 <a NAME="BaseDevice.setNetworkTime" ID="BaseDevice.setNetworkTime"></a> 2151 <a NAME="BaseDevice.setNetworkTime" ID="BaseDevice.setNetworkTime"></a>
2136 <h4>BaseDevice.setNetworkTime</h4> 2152 <h4>BaseDevice.setNetworkTime</h4>
2137 <b>setNetworkTime</b>(<i>server="0.pool.ntp.org", tzOffset=0, timeout=10</i>) 2153 <b>setNetworkTime</b>(<i>server="pool.ntp.org", tzOffset=0, timeout=10</i>)
2138 2154
2139 <p> 2155 <p>
2140 Public method to set the time to the network time retrieved from an 2156 Public method to set the time to the network time retrieved from an
2141 NTP server. 2157 NTP server.
2142 </p> 2158 </p>

eric ide

mercurial