WIFI Block

View table of content.

How this block appears in a Simulink model?

appearance wifi setup.PNG

What can be configured?

Configuration Parameter Selectable Option/Value Description
WIFI mode WIFI AP--WIFI STA Configure ESP32 to function in Access Point Mode or Station Mode.
Enable static IP assignment Check--Uncheck In STA mode the user has the option to manually assign a static IP or allow the IP to be auto assigned.
IP Address Enter the IP address.
Gateway address IP Enter the gateway IP.
Subnet mask IP Enter the subnet mask IP
Enable manual DNS IP Check--Uncheck Enable manual DNS IP
DNS IP Enter the DNS IP
Enable WIFI custom configuration string Check--Uncheck Enable custom WIFI configuration parameters.
WIFI configuration string For advanced users, the block can be used to configure additional parameters using this string.

When to use this block?

This block is used to setup a WIFI network with the user specified configurations.

How does this block work?

The WiFi libraries provide support for configuring and monitoring the ESP32 WiFi networking functionality. This includes configuration for:

Demo

WIFI demo

Previous : DAC Block
Next : HTTP Block