esp32-wifi
wifi wrapper library
|
this component constitutes some wrappers for the example wifi connections from esp-idf
see the esp-idf examples for more detail
git submodule add git@github.com:wolffshots/esp32-wifi.git components/esp32-wifi
in your main projectstation mode
- this is when the esp32 acts as a client on another wifi network and receives an ip and is accessible through that networksoftap mode
- this is when the esp32 acts as a router and broadcasts its own wifi network#include "wifi_sta.h"
or #include "wifi_sap.h"
should give you access to the wifi station or wifi soft ap parts of this component respectively.a typical use case would look like the following if you support both modes:
if the above steps don't work then you may need to run git submodule init components/esp32-wifi
and then git submodule update --remote --recursive
in your main project
the component esp32-wifi contains two source files in C language wifi_sta.c and wifi_sap.c. the files are located in root folder.
esp-idf projects are build using cmake. the project build configuration is contained in CMakeLists.txt
files that provide set of directives and instructions describing the project's source files and targets (executable, library, or both).
below is short explanation of remaining files in the project folder.
for more information on structure and contents of esp-idf projects, please refer to Section Build System of the esp-idf programming guide.
automatically generated API documentation (doxygen) is available here.
the code in this project is licensed under the MIT license - see LICENSE for details.
git submodule update --remote --recursive
- updates the checked out modules to the most recent commit to their main branch