Socket interface for ESP8266. Implements the NetworkSocketAPI. Requires device to use the Espressif Firmware.

Dependencies:   ESP8266

Dependents:   ESP8266InterfaceTests HelloESP8266Interface

Fork of ESP8266Interface by NetworkSocketAPI

Note

This library assumes your ESP8266 is running the Espressif Firmware. For instructions on how to update your ESP8266 to use the correct firmware see the Firmware Update Wiki Page.

Currently the ESP8266Interface LIbrary has the following Abilities:

Working

  • TCP Client
  • UDP Client
  • Transparent mode (single connection of 1 type at a time)
  • Station Mode (connects to AP)

To be implimented

  • TCP Server
  • UDP Server
  • Multi Connection Mode (able to have up to 5 sockets at a time)
  • AP Mode (Make ESP Chip act like access point)
  • DNS Support (currently websites must be looked up by IP)
  • Error Recovery

Nice but not necessary

  • colorized text for ESP AT Commands in Command line (easier to differentiate from other text)
Committer:
austin.blackstone@arm.com
Date:
Sun May 31 13:09:39 2015 -0500
Revision:
5:72561d7c6f65
Parent:
2:87009183eb2e
added #include for hte hwnamedriver.h file since the interface .c file will have to call the funcitons in the hw driver to impliment its functions.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sam_grove 2:87009183eb2e 1 /* WiFiInterface Application Interface
sam_grove 2:87009183eb2e 2 * Copyright (c) 2015 ARM Limited
sam_grove 2:87009183eb2e 3 *
sam_grove 2:87009183eb2e 4 * Licensed under the Apache License, Version 2.0 (the "License");
sam_grove 2:87009183eb2e 5 * you may not use this file except in compliance with the License.
sam_grove 2:87009183eb2e 6 * You may obtain a copy of the License at
sam_grove 2:87009183eb2e 7 *
sam_grove 2:87009183eb2e 8 * http://www.apache.org/licenses/LICENSE-2.0
sam_grove 2:87009183eb2e 9 *
sam_grove 2:87009183eb2e 10 * Unless required by applicable law or agreed to in writing, software
sam_grove 2:87009183eb2e 11 * distributed under the License is distributed on an "AS IS" BASIS,
sam_grove 2:87009183eb2e 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
sam_grove 2:87009183eb2e 13 * See the License for the specific language governing permissions and
sam_grove 2:87009183eb2e 14 * limitations under the License.
sam_grove 2:87009183eb2e 15 */
sam_grove 2:87009183eb2e 16
austin.blackstone@arm.com 5:72561d7c6f65 17 #include "WiFiInterface.h" // functions to impliment
austin.blackstone@arm.com 5:72561d7c6f65 18 #include "hwnamedriver.h" // functions to use to impliment WifiInterface
austin.blackstone@arm.com 5:72561d7c6f65 19
austin.blackstone@arm.com 5:72561d7c6f65 20 // TODO: User must impliment WifiInterface functions here.