1. Using the flask framework to provide web services is simply a few keystrokes and then some indication of status! Access through the browser, you can view the status, you can change the status after logging in (such as pressing the button to control the light on and off)
2. After clicking the button, you need to communicate with the lower computer through socket,TCP connection,
3. The lower computer is a piece of STM32 as the main control, plus some peripherals, the main communication equipment is through the communication module for TCP or UDP communication, does not support the http protocol
4. Summary: tcp communication with a specific ip through web web pages.
1. How to send data to a specific ip by clicking the web interface button
2. How to accept specific ip data
3. How to run flask service while opening a separate port to provide socket service, using TCP connection (currently only needs to communicate with one lower computer)
1. Do the bosses have any relevant materials (such as flask-socketio), demo
2. Do the bosses have a better implementation plan? (do not use falsk, to use python WSGI interface to manually do it?)
3. Beg the boss for advice