304 <tr> |
304 <tr> |
305 <td><a href="#BaseDevice.hasFlashMenuEntry">hasFlashMenuEntry</a></td> |
305 <td><a href="#BaseDevice.hasFlashMenuEntry">hasFlashMenuEntry</a></td> |
306 <td>Public method to check, if the device has its own flash menu entry.</td> |
306 <td>Public method to check, if the device has its own flash menu entry.</td> |
307 </tr> |
307 </tr> |
308 <tr> |
308 <tr> |
|
309 <td><a href="#BaseDevice.hasNetworkTime">hasNetworkTime</a></td> |
|
310 <td>Public method to check the availability of network time functions.</td> |
|
311 </tr> |
|
312 <tr> |
309 <td><a href="#BaseDevice.hasTimeCommands">hasTimeCommands</a></td> |
313 <td><a href="#BaseDevice.hasTimeCommands">hasTimeCommands</a></td> |
310 <td>Public method to check, if the device supports time commands.</td> |
314 <td>Public method to check, if the device supports time commands.</td> |
311 </tr> |
315 </tr> |
312 <tr> |
316 <tr> |
313 <td><a href="#BaseDevice.hasWifi">hasWifi</a></td> |
317 <td><a href="#BaseDevice.hasWifi">hasWifi</a></td> |
382 <td>Public method to set the connection state.</td> |
386 <td>Public method to set the connection state.</td> |
383 </tr> |
387 </tr> |
384 <tr> |
388 <tr> |
385 <td><a href="#BaseDevice.setFileManager">setFileManager</a></td> |
389 <td><a href="#BaseDevice.setFileManager">setFileManager</a></td> |
386 <td>Public method to set the File Manager status and dependent status.</td> |
390 <td>Public method to set the File Manager status and dependent status.</td> |
|
391 </tr> |
|
392 <tr> |
|
393 <td><a href="#BaseDevice.setNetworkTime">setNetworkTime</a></td> |
|
394 <td>Public method to set the time to the network time retrieved from an NTP server.</td> |
387 </tr> |
395 </tr> |
388 <tr> |
396 <tr> |
389 <td><a href="#BaseDevice.setPlotter">setPlotter</a></td> |
397 <td><a href="#BaseDevice.setPlotter">setPlotter</a></td> |
390 <td>Public method to set the Plotter status and dependent status.</td> |
398 <td>Public method to set the Plotter status and dependent status.</td> |
391 </tr> |
399 </tr> |
1930 <dt><i>on</i> (bool)</dt> |
1957 <dt><i>on</i> (bool)</dt> |
1931 <dd> |
1958 <dd> |
1932 flag indicating the active status |
1959 flag indicating the active status |
1933 </dd> |
1960 </dd> |
1934 </dl> |
1961 </dl> |
|
1962 <a NAME="BaseDevice.setNetworkTime" ID="BaseDevice.setNetworkTime"></a> |
|
1963 <h4>BaseDevice.setNetworkTime</h4> |
|
1964 <b>setNetworkTime</b>(<i>server="0.pool.ntp.org", tzOffset=0, timeout=10</i>) |
|
1965 |
|
1966 <p> |
|
1967 Public method to set the time to the network time retrieved from an |
|
1968 NTP server. |
|
1969 </p> |
|
1970 <dl> |
|
1971 |
|
1972 <dt><i>server</i> (str (optional))</dt> |
|
1973 <dd> |
|
1974 name of the NTP server to get the network time from |
|
1975 (defaults to "0.pool.ntp.org") |
|
1976 </dd> |
|
1977 <dt><i>tzOffset</i> (int (optional))</dt> |
|
1978 <dd> |
|
1979 offset with respect to UTC (defaults to 0) |
|
1980 </dd> |
|
1981 <dt><i>timeout</i> (int)</dt> |
|
1982 <dd> |
|
1983 maximum time to wait for a server response in seconds |
|
1984 (defaults to 10) |
|
1985 </dd> |
|
1986 </dl> |
|
1987 <dl> |
|
1988 <dt>Return:</dt> |
|
1989 <dd> |
|
1990 tuple containing a flag indicating success and an error string |
|
1991 </dd> |
|
1992 </dl> |
|
1993 <dl> |
|
1994 <dt>Return Type:</dt> |
|
1995 <dd> |
|
1996 tuple of (bool, str) |
|
1997 </dd> |
|
1998 </dl> |
1935 <a NAME="BaseDevice.setPlotter" ID="BaseDevice.setPlotter"></a> |
1999 <a NAME="BaseDevice.setPlotter" ID="BaseDevice.setPlotter"></a> |
1936 <h4>BaseDevice.setPlotter</h4> |
2000 <h4>BaseDevice.setPlotter</h4> |
1937 <b>setPlotter</b>(<i>on</i>) |
2001 <b>setPlotter</b>(<i>on</i>) |
1938 |
2002 |
1939 <p> |
2003 <p> |