I have a device that is a source of data. It is connected to a PC where my program is running. I have two scenarios of how to get the data from that device.I am wondering, which one is synchronous and which is asynchronous data transmission?I start the device and my program executes a thread that periodically polls the device for new data.I register a callback function in my program with the device and whenever there is new data available, the device calls my callback function.
What is the difference between synchronous and asynchronous data transmission?
asynchronous