Once the module is placed into command mode, you are able to get/set a variety of configuration settings via specially formatted ASCII text messages on the UART interface.
Commands are broken into several configuration categories. They are identified by the following top-level ASCII keywords:
- Configuration settings are stored in the module's flash memory
- After changing a configuration setting, the command "save" must be entered to save the changes to NVM
- Many changes require a reboot to take effect
Most WiFly commands have the following structure:
"<Action Keyword> <Category Keyword> <Category Option> <Value>"
For example, the following command configures the SSID of the AP that the module is to associate with:
set wlan ssid IRF2111_1
Some commands are much simpler. For example, the following command returns the MAC address of the module:
The following table shows the common Action Keywords available:
- Commands are case-sensitive
- Spaces are not allowed, substitute $ for the space, for example
"MY NETWORK" must be entered as "MY$NETWORK"
- Shorthand notation is available, per the following examples
set uart baudrate 115200 // valid set uart b 115200 // valid set u b 115200 // valid s uart baudrate 115200 // invalid