LUFA Library  120219
AndroidAccessoryClassCommon.h File Reference

Common definitions and declarations for the library USB Android Open Accessory Class driver. More...

Defines

#define ANDROID_ACCESSORY_PRODUCT_ID   0x2D00
#define ANDROID_ACCESSORY_ADB_PRODUCT_ID   0x2D01

Enumerations

enum  AOA_Descriptor_ClassSubclassProtocol_t {
  AOA_CSCP_AOADataClass = 0xFF,
  AOA_CSCP_AOADataSubclass = 0xFF,
  AOA_CSCP_AOADataProtocol = 0x00
}
enum  AOA_ClassRequests_t {
  AOA_REQ_GetAccessoryProtocol = 0x33,
  AOA_REQ_SendString = 0x34,
  AOA_REQ_StartAccessoryMode = 0x35
}
enum  AOA_Strings_t {
  AOA_STRING_Manufacturer = 0,
  AOA_STRING_Model = 1,
  AOA_STRING_Description = 2,
  AOA_STRING_Version = 3,
  AOA_STRING_URI = 4,
  AOA_STRING_Serial = 5
}
enum  AOA_Protocols_t { AOA_PROTOCOL_AccessoryV1 = 0x0001 }

Detailed Description

Common definitions and declarations for the library USB Android Open Accessory Class driver.

Note:
This file should not be included directly. It is automatically included as needed by the USB module driver dispatch header located in LUFA/Drivers/USB.h.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines