This is a quick example of a simple ESP8266 WiFi module application using the WiFi and network-socket APIs that is provided as a part of mbed-os. The program brings up the WiFi and the underlying network interface, and uses it to scans available networks, connects to a network, prints interface and connection details and performs simple HTTP operation.
Auto generated API documentation and code listings for mbed-os-example-esp8266
ATParser | Parser class for parsing AT commands |
BufferedSerial | A serial port (UART) for communication with other serial devices |
ESP8266 | ESP8266Interface class |
ESP8266Interface | ESP8266Interface class Implementation of the NetworkStack for the ESP8266 |
MyBuffer< T > | A templated software ring buffer |
Code
ATParser.cpp [code] | |
ATParser.h [code] | |
BufferedPrint.c [code] | |
BufferedSerial.cpp [code] | Software Buffer - Extends mbed Serial functionallity adding irq driven TX and RX |
BufferedSerial.h [code] | Software Buffer - Extends mbed Serial functionallity adding irq driven TX and RX |
ESP8266.cpp [code] | |
ESP8266.h [code] | |
ESP8266Interface.cpp [code] | |
ESP8266Interface.h [code] | |
main.cpp [code] | |
MyBuffer.cpp [code] | |
MyBuffer.h [code] |