esp-open-rtos/open_esplibs
Our Air Quality b39df7f91e open_esplibs user_interface: source code for functions touching the struct netif. (#275)
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-21 16:05:34 +02:00
..
include Update and re-organise the sdk internal definitions. (#267) 2016-11-14 00:05:13 +02:00
libmain open_esplibs user_interface: source code for functions touching the struct netif. (#275) 2016-11-21 16:05:34 +02:00
libnet80211 open_esplibs: add a skeleton for code in more libraries. (#266) 2016-11-12 20:54:24 +02:00
libphy open_esplibs: add a skeleton for code in more libraries. (#266) 2016-11-12 20:54:24 +02:00
libpp open_esplibs: add a skeleton for code in more libraries. (#266) 2016-11-12 20:54:24 +02:00
libwpa open_esplibs: add a skeleton for code in more libraries. (#266) 2016-11-12 20:54:24 +02:00
component.mk open_esplibs: add a skeleton for code in more libraries. (#266) 2016-11-12 20:54:24 +02: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