Commit graph

5 commits

Author SHA1 Message Date
Zach Klippenstein cb7e06bdb9 OpenRead will now return an error if the server returns an error when trying to open a file.
All sync status reads now also check for failure status,
using the same logic as the normal Scanner (the only difference
being that for normal scanners, length is encoded as a hex
string, but for sync scanners it's in binary little-endian).
2015-12-28 19:46:14 -08:00
Zach Klippenstein b966d11cda Randomly backoff restarting adb server from DeviceWatcher. 2015-11-29 10:41:10 -08:00
Zach Klippenstein af4b3ddcf2 DeviceWatcher events are more strongly typed and added higher-level methods. 2015-09-07 21:19:59 -07:00
Zach Klippenstein 92af9f1b15 Removed unused err return value from NewDeviceWatcher. 2015-09-05 23:24:02 -07:00
Zach Klippenstein 164ab27d25 Implemented device event watcher and improved errors. 2015-07-19 12:45:24 -07:00