esp-open-rtos/open_esplibs
Our Air Quality c997155ee7 open_esplibs user_interface: source code for functions touching the struct netif.
Add source code for functions touching the struct netif to better support lwip development: sdk_wifi_get_ip_info, sdk_wifi_set_ip_info, sdk_wifi_get_macaddr, sdk_wifi_set_macaddr.

Also code for sdk_wifi_station_get_connect_status.

Also code for wifi_get_sleep_type and set_sleep_type, noting wifi_set_sleep_type returns a bool success flag, and implement wifi_get_sleep_type using sdk_pm_get_sleep_type.
2016-11-11 18:12:11 +11:00
..
include open_esplibs: Add README and Copyright headers 2016-07-06 17:22:09 +10:00
libmain open_esplibs user_interface: source code for functions touching the struct netif. 2016-11-11 18:12:11 +11:00
component.mk Add conditional compilation for open_esplib code 2016-07-06 17:21:34 +10:00
README.md open_esplibs: Add README and Copyright headers 2016-07-06 17:22:09 +10:00

Open Espressif Libs

These are functional recreations of the MIT licensed binary Espressif SDK libraries found in lib. They keep the same functionality as the SDK libraries (possibly with bugfixes or other minor tweaks), but are compiled from source.

Most of the reverse engineering work so far has been by Alex Stewart (@foogod).

See http://esp8266-re.foogod.com/wiki/ for more technical details of SDK library internals.

Disabling

The open ESP libs are compiled in by default, and they automatically replace any binary SDK symbols (functions, etc.) with the same names.

To compile using the binary SDK libraries only, override the COMPONENTS list in parameters.mk to remove the open_esplibs component, or add -DOPEN_ESPLIBS=0 to CPPFLAGS.

To selectively replace some functionality with binary SDK functionality for debugging, edit the header file open_esplibs/include/open_esplibs.h