B4R Question ESP WiFi mode: NETwork-mode and\or AP-mode

peacemaker

Expert
Licensed User
Longtime User
HI, All

1) What is the difference globally between connecting MCU to my Wifi SSID or start MCU's AP-point ?
Some special difference ?

2) I'm trying to release both modes as user options for ESP32-C3, it has USB-host built-in (not separated USB-UART bridge) and the option "USB CDC on boot" must be on for dedugging.
But if to unplug USB ("USB CDC on boot" is on) - WiFi is not connected !

If to disable "USB CDC on boot" - WiFi is OK, but ... COM-port cannot be used for some PC user app.

Anyone touched such troubles ?
 

Cableguy

Expert
Licensed User
Longtime User
1) What is the difference globally between connecting MCU to my Wifi SSID or start MCU's AP-point ?
Some special difference ?
When connecting to your wifi network, your router will do all the data routing between devices concted to it, and also give out ip addresses to them.
When using MCU AP mode, the devices will connect directly to thecMCU wifi, and it will be responsive all the work the router would do.
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
Indeed, thanks.

So, switching to Client mode is good.
Now looking CDC trouble solution for C3.
 
Upvote 0
Top