Hi,
Our product scheme is that the host computer (including the HTTP client and server) is set up on PC to communicate with CC3220 based on the HTTP protocol for data transmission. The CC3220 contains two main functions: 1. Operating in AP mode to establish an AP signal, 2. Establishing an HTTP client. The PC will connect to the AP signal of CC3220, so both clients and servers are within the same local network for data transmission.
In the CC3220 SDK, only setting up as a STA mode (where CC3220 connects to a mobile hotspot for testing) allows clients to connect to the server successfully. However, if we switch CC3220 to AP mode where the PC connects to this AP signal, the CC3220 client cannot connect to the server. The function HTTPClient_connect returns an error code -2006 (indicating an input parameter error). The HOSTNAME is verified to be correct.
Questions:
- In AP mode, is the CC3220 be able to operate as a client to connect a PC server?
- If yes, how can we resolve the above error issue?
E2E论坛提问.docx