9: Action Settings
PremierWave® XC HSPA+ Intelligent Gateway User Guide
64
To enter the wwan0 link state change command level:
enable -> config -> action -
> wwan0 link state change
To enter digital input 1 state change command level:
enable -> config -> action ->
digital input 1 state change
To enter digital input 2 state change command level:
enable -> config -> action ->
digital input 2 state change
To enter device temperature change command level:
enable -> config -> action ->
device temperature change
To enter cellular temperature change command level:
enable -> config -> action ->
cellular temperature change
To enter cellular temperature change command level:
enable -> config -> action ->
on scheduled reboot
Using XML
Include in your file:
<configgroup name = "action" instance = "eth0 link
state change">
Include in your file:
<configgroup name = "action" instance = "wwan0 link
state change">
Include in your file:
<configgroup name = "digital input 1 state change"
Include in your file:
<configgroup name = "digital input 2 state change"
Include in your file:
<configgroup name = "device temperature change"
Include in your file:
<configgroup name = "cellular temperature 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 HSPA+ includes the installation
of Python interpreter, making it easy to load and run custom Python scripts on your intelligent
gateway.
The version of Python programming language installed on the Lantronix PremierWave intelligent
gateway 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 platform include the following: