Closed acer1204 closed 4 years ago
Is there any ethernet module on the board, and do you want to use it?
If there is no physical ethernet configuration, the only choice is to use the WI-FI on ESP32, so you need to switch the config to use WiFi instead by changing the below line;
to
#define CONFIG_EXAMPLE_CONNECT_WIFI 1
I will move these fields to sdkconfig in the future.
Is there any ethernet module on the board, and do you want to use it?
If there is no physical ethernet configuration, the only choice is to use the WI-FI on ESP32, so you need to switch the config to use WiFi instead by changing the below line;
to
#define CONFIG_EXAMPLE_CONNECT_WIFI 1
I will move these fields to sdkconfig in the future.
just replace "CONFIG_EXAMPLE_CONNECT_ETHERNET 1" to "CONFIG_EXAMPLE_CONNECT_WIFI 1" and no other code needs to be changed in opcua-esp32 project?
After setting your wi-fi SSID and Password from idf.py menuconfig
, flash and run the idf.py monitor
, the ip address after a succesful connection will appear on the log and you can connect from an OPC UA Client by using that IP address.
After setting your wi-fi SSID and Password from
idf.py menuconfig
, flash and run theidf.py monitor
, the ip address after a succesful connection will appear on the log and you can connect from an OPC UA Client by using that IP address.
thank you very much! It work Now.
Your welcome, that would be great if you leave a star to the project. :)
i download this project and compile it success and download it in ESP32-WROVER-B.
it show emac_esp32_init rest timeout and init_mac failed.
is this problem is ESP32-WROVER just have wi-fi without eth?