!
1.3. ESP8266 SDK
The ESP8266 Software Development Kit (SDK) is an Internet of Things (IoT) application
development platform developed by Espressif for developers. It includes such examples of
application development as Smart Lights and Smart Plugs.
Depending on whether they are based on an operating system (OS), SDKs can be
categorized into two types: Non-OS SDK and RTOS SDK.
1.3.1. Non-OS SDK
Non-OS SDK is not based on an operating system. It supports the compilation of
IOT_Demo and AT commands. Non-OS SDK uses timers and callbacks as the main way to
perform various functions such as nested events and functions triggered by certain
conditions. Non-OS SDK uses the espconn network interface; users need to develop their
software according to usage rules of the espconn interface.
1.3.2. RTOS SDK
RTOS SDK is based on FreeRTOS, open-source software development on Github.
The FreeRTOS SDK is based on FreeRTOS , a multi-tasking OS. Users can use
•
standard interfaces to realize resource management, recycling operations, execution
delays, inter-task messaging and synchronization, and other task-oriented process
design approaches. For the specifics of interface methods, please refer to the official
website of FreeRTOS or USING THE FreeRTOS REAL TIME KERNEL—A Practical
Guide
The network operation interface in RTOS SDK is the standard lwIP API. RTOS SDK
•
provides a package which enables a BSD Socket API interface. Users can directly
use the socket API to develop software applications; and port to ESP8266 other
applications from other platforms using the socket API, effectively reducing the
learning costs arising from switching platforms.
RTOS SDK introduces cJSON library whose functions make it easier to parse JSON
•
packets.
RTOS is compatible with non-OS SDK in Wi-Fi interfaces, SmartConfig interfaces,
•
Sniffer related interfaces, system interfaces, timer interfaces, FOTA interfaces and
peripheral driver interfaces, but does not support AT implementation.
1.4. ESP8266 FW
ESP8266 FW (Firmware) has been provided in binary format files (.BIN) that can be
downloaded directly to the HDK. Users can choose between Over-The-Air (OTA) and non-
OTA firmware. For detailed information, please refer to Table 1-1.
Espressif
2
! /33
1. Overview
2017.05
Need help?
Do you have a question about the ESP8266 SDK and is the answer not in the manual?
Questions and answers