Other Parts Discussed in Thread: CC3220SF
Tool/software: Code Composer Studio
The HTTP server was added to the MQTT client routine, and my mobile phone connected to mysimplelink.net/portable.html and found that the webpage could not interact with CC3220SF.
1. I click the button of mysimplelink.net/portable.html webpage to control the led light, cc3220sf luanchpad cannot interact with the button of mysimplelink.net/portable.html webpage to control the led light?
2. I commented out the thread of MQTT client and found that a separate Http server thread works normally and can communicate with CC3220SF normally?
1. I click the button of mysimplelink.net/portable.html webpage to control the led light, cc3220sf luanchpad cannot interact with the button of mysimplelink.net/portable.html webpage to control the led light?
2. I commented out the thread of MQTT client and found that a separate Http server thread works normally and can communicate with CC3220SF normally?
3. I speculate that there is a problem with the communication between the SPI driver and the NWP, because MQTT and http server are both SPI and the network processor NWP exchange data, if this is the problem, how can I solve the problem?
4. If you add an HTTP Server thread to the MQTT client and find that there is a problem with the execution of the MQTT and HTTP threads, I can connect to the Http service webpage mysimplelink.net/portable.html, but CC3220SF cannot interact with the Http service webpage, and the MQTT thread Unable to connect to MQTT broker. My published data cannot be received by the MQTT agent.