![Telit Wireless Solutions GS2101M Series Command Reference Manual Download Page 23](http://html1.mh-extra.com/html/telit-wireless-solutions/gs2101m-series/gs2101m-series_command-reference-manual_1083662023.webp)
GS2101M IP2WiFi Adapter Command Reference Guide
1VV0301499
Rev. 2.0
23
2019-08-05
•
System Initialization, page 23
•
Command Processing Mode, page 25
•
•
•
Wireless Network Management, page 29
The software for the IP-to-WiFi Application is mainly driven using a state machine. Upon
powering on, the required initialization of all the modules is performed and then the state
machine is entered. This state machine is event-driven and processes the events received
from either the serial port or from the WiFi/Network interface as well as internal events
from its own modules. The state machine calls the appropriate handler for a given event per
the current state.
The IP-to-WiFi Application has three distinct operating modes (
default
command
processing
operating
mode, commands to configure and manage the
interface are sent over the serial interface. In the default mode, the node accepts commands
entered by the Host CPU and processes each of the commands. All commands are available
in this mode. The User can establish a data connection here and send data.
In
data processing
mode, data can be sent to, or received from the host.
For each mode, configuration parameters are stored in non-volatile memory. In addition to
factory-default parameter values, two user-defined profiles (0 and 1) are available. The
parameter set to be used is determined by a user command (see
2.2 Serial Interface
The serial interface used is determined by the interface configuration option selected when
building the binary using SDK Builder.
GS nodes do not support dynamic detection of serial interfaces as SPI or UART binaries
are built from the SDK builder.
2.3 System Initialization
Upon startup, the IP-to-WiFi (IP2WiFi) interface performs the following actions:
–
During the initialization process, the module will search for a saved configuration
file. The configuration file include the auto connection settings, default profile
and profile settings. If a saved configuration file is available, it is loaded from
non-volatile memory. If no saved configuration file, the default settings will be
applied. If there are no saved parameters, the factory-default configuration is
loaded.
–
The IP2WiFi application is initialized based on the profile settings.