Overview of FlashAir Application Development
FlashAir and Application Development
Since the FlashAir has a built in web server, Wi-Fi devices can connect to the FlashAir and access its
HTTP (HyperText Transfer Protocol) and any modern browser.
HTTP control allows you to do the following:
- Web server
- By issuing HTTP GET requests to files on the FlashAir, you can download them. The FlashAir
API includes CGI commands
to get list of files and to customize your configuration.
- You can execute Lua scripts on FlashAir.
- FlashAir supports PIO.
- You can read from and write SRAM.
Types of HTTP connections available
You can access the contents of the FlashAir using the API (Application Programming Interface). These are the
- GET command for files
- When the wireless LAN client issues an HTTP GET command to files on the FlashAir, the FlashAir returns their
- GET command for folders
- When the wireless LAN client issues an HTTP GET command to folders on the FlashAir, the FlashAir returns the
Utility page. The Browser Utility displays folder contents and allows you to edit them. For more information,
Browser Utility API Guide.
- CGI (Common Gateway Interface)
- By issuing HTTP GET command or HTTP POST command to these CGI files, you can perform special operations,
FlashAir's status, and change settings. The following CGIs are available:
How to configure the FlashAir
You can configure the FlashAir manually by editing
/SD_WLAN/CONFIG, which can be accessed from any SD host device. To learn more about how to
configure the FlashAir,
please read the
CONFIG CONFIG section of the API Guide.