ac36d7c715
This is a first step toward adding USB accessory URI support BUG: 4073248 Modified USB accessory matching logic to look only at manufacturer, model and version (description and URI are not considered when matching apps to accessories) Also added test for USB accessory protocol version to accessorytest BUG: 4080288 Change-Id: I992a3433c74efa7a7db37bf030f02c1f0c92f9e2 Signed-off-by: Mike Lockwood <lockwood@android.com>
This is a test app for the USB accessory APIs. It consists of two parts: AccessoryChat - A Java app with a chat-like UI that sends and receives strings via the UsbAccessory class. accessorychat - A C command-line program that communicates with AccessoryChat. This program behaves as if it were a USB accessory. It builds both for the host (Linux PC) and as an android command line program, which will work if run as root on an android device with USB host support