|
What you are talking about is the part where I write data and send data. This part is still relatively easy to handle, similar to the method you mentioned. My problem now is: the entire program is not only controlled by my PC application, but my program is compatible with the phone on the other end of the USB. When only the phone on the USB end is operating, the phone on the other end is Will send a command, then my application has to read the sent command data and automatically perform corresponding operations. In short, as long as the phone is operated, it means that a new command is sent, so there is no definite time to send a data command. I don't know when to call Readfile to read the command data sent by the phone? ? ? ? |
|