amirhammad / libusbhost

Open-source USB host stack for embedded devices
GNU General Public License v3.0
0 stars 1 forks source link

Low level driver: Proper retry mechanism on transmit error #2

Open amirhammad opened 9 years ago

amirhammad commented 9 years ago

When transmit error happens, low level driver returns FATAL status code, meaning, the device is out of service. Solution 1: try 3 times sending/receiving the message, and after that return FATAL.