there is a problem when using a static IP address for an RTL8195 WiFi server. I use the following sequence to assign the static IP address to the server:
. . .
status = WiFi.begin(ssid, pass);
. . .
While compiling the source code, the following error occurs:
libraries\WiFi\WiFi.cpp.o: In function `WiFiClass::config(IPAddress)':
C:\Users\admin\AppData\Local\Arduino15\packages\realtek\hardware\ameba\1.1.4\libraries\WiFi\src/WiFi.cpp:235: undefined reference to `WiFiDrv::config(unsigned char, unsigned long, unsigned long, unsigned long)'
How to correct this?
There were no problems with other WiFi boards (nodeMCU, ESP8266, etc.) when I tried
to assign a static IP to a server.