6: Action Settings
PremierWave® EN Embedded System on Module User Guide
65
Include in your file:
<configgroup name = "action" instance = "wlan0 link
state change">
Include in your file:
<configgroup name = "action" instance = "on scheduled reboot">
Python
Python™ is a dynamic, object-oriented programming language that can be used for developing a
wide range of software applications. The Lantronix PremierWave EN embedded system on
module includes the installation of Python interpreter, making it easy to load and run custom
Python scripts on your embedded system on module.
The version of Python programming language installed on the Lantronix PremierWaveEN
embedded system on module comes with "batteries included" by having the Python language's
standard library. In addition, the developer can take advantage of thousands of available third
party packages to speed up development.
IDE
Python scripts can be written with any text editor. If using Windows for development, + is
a powerful choice as this text editor includes traditional IDE features such as syntax highlighting
and automatic indentation (
http://notepad-plus-plus.org/
). + also includes the ability to
customize through plugins. Some interesting plugins for the development of Python scripts for the
Lantronix PremierWave EN platform include the following:
PyNPP:
https://github.com/mpcabd/PyNPP
This plugin allows the user to use keystrokes to launch the open Python script in the local
Python interpreter for debugging and testing.
NppFTP:
http://sourceforge.net/projects/nppftp/
This plugin provides a one-click upload of a file to an FTP server. Debugging and testing on
the PremierWave platform easier because PremierWave products have an FTP server
through which to upload files into the file system.
Applications
The PremierWave EN embedded system on module supports the ability to install and uninstall
user-defined Python scripts and packages and will include the following:
contains the setting options for configuring, installing, uninstalling and running external
applications via Python scripts.
Caution:
Use extreme caution when installing and running scripts.
bin
python
lib
libpython{version}.so
<ltrx python sdk>
libpython{version}
"python precompiled scripts
"python shared libraries