Microchip® Advanced Software Framework

usb_protocol_aoa.h File Reference

USB Android Open Accessory protocol definitions.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

Macros

#define AOA_ACCESSORY_ADB_PID   0x2D01
 Google Product ID which indicates it supports Android Accessory Device which supports ADB. More...
 
#define AOA_ACCESSORY_AUDIO_ADB_PID   0x0205
 
#define AOA_ACCESSORY_AUDIO_PID   0x0204
 
#define AOA_ACCESSORY_PID   0x2D00
 Google Product ID which indicates it supports Android Accessory Device. More...
 
#define AOA_AUDIO_ADB_PID   0x0203
 
#define AOA_AUDIO_PID   0x0202
 
#define AOA_STRING_INDEX_DESCRIPTION   2
 Index of description. More...
 
#define AOA_STRING_INDEX_MANUFACTURER   0
 Index of manufacturer. More...
 
#define AOA_STRING_INDEX_MODEL   1
 Index of model. More...
 
#define AOA_STRING_INDEX_SERIAL   5
 Index of serialnumber. More...
 
#define AOA_STRING_INDEX_URL   4
 Index of URL. More...
 
#define AOA_STRING_INDEX_VERSION   3
 Index of version. More...
 
#define GOOGLE_VID   0x18D1
 Google Vendor ID. More...
 
#define USB_REQ_AOA_GET_PROTOCOL   0x33
 Android Open Accessory USB requests (bRequest) More...
 
#define USB_REQ_AOA_REGISTER_HID   54
 Register a HID device. More...
 
#define USB_REQ_AOA_SEND_HID_EVENT   57
 Sending HID events. More...
 
#define USB_REQ_AOA_SEND_IDENT_STRING   0x34
 Sending identifying string info. More...
 
#define USB_REQ_AOA_SET_HID_RPT_DESC   56
 Sending the HID report descriptor. More...
 
#define USB_REQ_AOA_STARTUP   0x35
 Start the Android Device in acc mode. More...
 
#define USB_REQ_AOA_UNREGISTER_HID   55
 Unregister a HID device. More...