holds common components for esp32 applications
The current CMakeList.txt places this folder at the same level with application folder
--/application folder
--/main
--/...
--/esp32_common
--/cmds
--/tcp
--/utils
If you place it differently update CMakeList.txt
The picture below shows how framework is initialized with respect the common components.
implements system and wifi utility commands
Note about console command
console on | off | tcp
on --> display messages (printfs, ESP_LOGx) on the serial console
tcp --> redirects all messages to LOG_SERVER listening on LOG_PORT (tcp_log.h)on the server machine just run ncat -l LOG_PORT -k
off --> mute all your messages, but IDF components using printf directly cannot be muted
implements SPI wrapper required by communication with AD7811
implements primitives to start conversion and read data for AD7811
implements mqtt client app site, NTP sync and log redirection over TCP
implements ota utility, printf wrappers and a spiffs read/write function