Easily add all supported connectivity methods to your mbed OS project
esp8266-driver/README.md@0:615f90842ce8, 2017-07-12 (annotated)
- Committer:
- MACRUM
- Date:
- Wed Jul 12 10:52:58 2017 +0000
- Revision:
- 0:615f90842ce8
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
MACRUM | 0:615f90842ce8 | 1 | # The ESP8266 WiFi driver for mbed-os |
MACRUM | 0:615f90842ce8 | 2 | The mbed OS driver for the ESP8266 WiFi module |
MACRUM | 0:615f90842ce8 | 3 | |
MACRUM | 0:615f90842ce8 | 4 | ## Firmware version |
MACRUM | 0:615f90842ce8 | 5 | ESP8266 modules come in different shapes and forms, but most important difference is which firmware version it is programmed with. To make sure that your module has mbed-os compatible firmware follow update guide: https://developer.mbed.org/teams/ESP8266/wiki/Firmware-Update |
MACRUM | 0:615f90842ce8 | 6 | |
MACRUM | 0:615f90842ce8 | 7 | ## Testing |
MACRUM | 0:615f90842ce8 | 8 | The ESP8266 library contains the core network tests taken from mbed OS. After installing mbed CLI and importing the mbed OS library, the tests can be ran with the `mbed test` command: |
MACRUM | 0:615f90842ce8 | 9 | ``` bash |
MACRUM | 0:615f90842ce8 | 10 | # Runs the ESP8266 network tests, requires a wifi access point |
MACRUM | 0:615f90842ce8 | 11 | mbed test -t <COMPILER HERE> -m <BOARD HERE> -n tests-net* --compile -DMBED_CFG_ESP8266_SSID='"<SSID HERE>"' -DMBED_CFG_ESP8266_PASS='"<PASS HERE>"' |
MACRUM | 0:615f90842ce8 | 12 | mbed test -t <COMPILER HERE> -m <BOARD HERE> -n tests-net* --run --verbose |
MACRUM | 0:615f90842ce8 | 13 | ``` |