
15 Jan
2012
15 Jan
'12
4:03 a.m.
Hi All! I would like to use the asio library to communicate through usb with some devices. I looked the documentation, and searched the internet. It was said that it can be done, but I could not find any specific information. I found a code for (old) serial ports, it mentioned the usb, but nothing more. I think the important parts were: boost::asio::serial_port port; port.open(devname); port.set_option(***); where one can set these options boost::asio::serial_port_base::baud_rate, parity, character_size, flow_control, stop_bits Are these option also available for usb ports? For example the data flows (found by be) are not the same. Thanks beforehand for your reply and help. Laci
4787
Age (days ago)
4787
Last active (days ago)
0 comments
1 participants
participants (1)
-
László Veréb