3 Commits

Author SHA1 Message Date
Glenn Maynard
849fd7a975 Simplify overlapped I/O handling, and add a command timeout.
If we don't get a response from a command in a while, resend it.  This doesn't
normally happen (it only happened during firmware development), but it makes
command sending more robust, so let's keep it.  This also uses a single OVERLAPPED
for a whole command, which is simpler.
2019-01-03 18:13:51 -06:00
Glenn Maynard
48c75ba224 Pass the packet response to completion callbacks. 2019-01-01 18:00:27 -06:00
Glenn Maynard
57379383c0 Import for release. 2017-12-15 02:55:34 -06:00