Skip to content

common components for ESP32 based iot applications

License

Notifications You must be signed in to change notification settings

ves011/esp32_common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 25, 2025
646f10f · Mar 25, 2025

History

61 Commits
Aug 2, 2023
Mar 25, 2025
Mar 9, 2025
Mar 25, 2025
Mar 9, 2025
Mar 2, 2025
Jan 31, 2025
Mar 2, 2025
Mar 25, 2025
Mar 25, 2025
Mar 31, 2023
Mar 13, 2024
Mar 25, 2025
Mar 25, 2025
Mar 25, 2025
Nov 19, 2024
Aug 6, 2024
Jan 31, 2025

Repository files navigation

esp32_common

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. plot

esp32_common/cmds

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

esp32_common/comm

implements SPI wrapper required by communication with AD7811

esp32_common/AD7811

implements primitives to start conversion and read data for AD7811

esp32_common/tcp

implements mqtt client app site, NTP sync and log redirection over TCP

esp32_common/utils

implements ota utility, printf wrappers and a spiffs read/write function

About

common components for ESP32 based iot applications

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages