I need to communicate between device and pc
Like this, I have software in windows and send data to mobile with serial port
My project is connecting the device to pc and send a request(take a picture) to mobile with serial port and in-app, take a picture and save it
Maybe?
Tip: I don't want to use Socket or WebSocket
Why do you not want to use socket? It will do the job quite easily and can do it over wifi not to mention the data transfer is much faster than a serial connection.
Why do you not want to use socket? It will do the job quite easily and can do it over wifi not to mention the data transfer is much faster than a serial connection.
This library wraps the following open source project: https://github.com/felHR85/UsbSerial (MIT license). It is an alternative to the UsbSerial2 library. The following devices are supported: CP210x, CDC, FTDI, PL2303 and CH34x. Usage is simple. You find the UsbDevice with USB library and then...