Changes in this patch include [x] Use %zu for size_t, %zd for ssize_t [x] Some minor changes have been done to conform with standard JNI practice (e.g. use of jint instead of int in JNI function prototypes) Change-Id: Id1aaa7894a7d0b85ac7ecd7b2bfd8cc40374261f Signed-off-by: Ashok Bhat <ashok.bhat@arm.com> Signed-off-by: Craig Barber <craig.barber@arm.com> Signed-off-by: Kévin PETIT <kevin.petit@arm.com> Signed-off-by: Marcus Oakland <marcus.oakland@arm.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