Soumya The "IP config failed" error usually occurs when the module cannot connect to an AP. Additionally, the syntax of the AT+SOCK command used is incorrect.
To set up a TCP server, please follow these steps:
1.Connect to AP(Confirm it shows a valid local IP e.g., 192.168.x.x):
AT+RAP=your_ssid,your_password
Check the assigned IP:
AT+LIP
2.Set moduleas TCP Server:
AT+SOCK=TCPS,9100
3.Start the server:
AT+WLANC=3
For details, refer to the FSC-BW246 programming user guide .Let me know if this resolves the issue!