Hi All,
I have a GS1500M WiFi tower and TWRK60F120.
In httpsrv demo code IN mqx4.0.2, I can change the
#define ENET_IPADDR IPADDR(192,168,0,1) and
#define A 192 |
#define B 168
#define C 0
#define D 1
to change the IP address of my device.
Now after I configure all the setting for httpsrv and use the HTTPSRV_init function start it, how can I reconfigure the IP address,switch the mode from "adhoc" to "managed"
and restart the HTTPSRV_init? Because by default I want the WiFi device act as a "adhoc" mode, after user finish some configurations through a browser, I can set it back to
"managed" mode. Is there a way to do this?
Thank you.
Hi Daniel,
To unbind an IP address from a device interface, call RTCS_if_unbind()
Description of the RTCS functions can be found in the RTCS Reference Manual.
Regards
Sol