This is the generic Mist port for the ESP32 platform. This repository is supposed to be used as a submodule to a ESP32 project repository.
The role of this submodule is to group all ESP32-specific Wish and Mist port functions to one and same repo, which can be used in all the ESP32 projects.
The following options can be set.
Device identity defined by mist_port_esp32_init(), which calls functions in port_platform.c to create an initial identity, if there are no identities.
The wifi network name is set in main/Makefile.projbuild of the enclosing project.
Add in main/Makefile.projbuild
CFLAGS+=-DMIST_PORT_COMMISSIONING_WIFI_SSID=\"mist-olimex-esp32-evb\"
The wld class, also known as wld meta product
Add in main/Makefile.projbuild
CFLAGS+=-DMIST_PORT_WLD_META_PRODUCT=\"fi.controlthings.olimex-esp32-evb\"
Add in main/Makefile.projbuild
CFLAGS+=-DWISH_REMOTE_MANAGEMENT
Add in main/Makefile.projbuild
CFLAGS+=-DRELAY_SERVER_HOST=\"host:port\"
mist-port-esp32 includes the Mist config ESP32 app, which is used for for wifi commissioning. The app can be disabled by adding to CFLAGS:
CFLAGS+=-DWITHOUT_MIST_CONFIG_APP