Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
USB Android Open Accessory

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...
 

#define AOA_ACCESSORY_ADB_PID   0x2D01

Google Product ID which indicates it supports Android Accessory Device which supports ADB.

Referenced by uhi_aoa_install().

#define AOA_ACCESSORY_AUDIO_ADB_PID   0x0205

Referenced by uhi_aoa_install().

#define AOA_ACCESSORY_AUDIO_PID   0x0204

Referenced by uhi_aoa_install().

#define AOA_ACCESSORY_PID   0x2D00

Google Product ID which indicates it supports Android Accessory Device.

Referenced by uhi_aoa_install().

#define AOA_AUDIO_ADB_PID   0x0203
#define AOA_AUDIO_PID   0x0202
#define AOA_STRING_INDEX_DESCRIPTION   2

Index of description.

Referenced by uhi_aoa_mode_enable_step2().

#define AOA_STRING_INDEX_MANUFACTURER   0

Index of manufacturer.

Referenced by uhi_aoa_mode_enable_step2().

#define AOA_STRING_INDEX_MODEL   1

Index of model.

Referenced by uhi_aoa_mode_enable_step2().

#define AOA_STRING_INDEX_SERIAL   5

Index of serialnumber.

Referenced by uhi_aoa_mode_enable_step2().

#define AOA_STRING_INDEX_URL   4

Index of URL.

Referenced by uhi_aoa_mode_enable_step2().

#define AOA_STRING_INDEX_VERSION   3

Index of version.

Referenced by uhi_aoa_mode_enable_step2().

#define GOOGLE_VID   0x18D1

Google Vendor ID.

Referenced by uhi_aoa_install().

#define USB_REQ_AOA_GET_PROTOCOL   0x33

Android Open Accessory USB requests (bRequest)

Get AOA Protocol version

Referenced by uhi_aoa_mode_enable_step1().

#define USB_REQ_AOA_REGISTER_HID   54

Register a HID device.

Referenced by uhi_aoa_register_hid().

#define USB_REQ_AOA_SEND_HID_EVENT   57

Sending HID events.

Referenced by uhi_aoa_send_hid_event().

#define USB_REQ_AOA_SEND_IDENT_STRING   0x34

Sending identifying string info.

Referenced by uhi_aoa_send_info_string().

#define USB_REQ_AOA_SET_HID_RPT_DESC   56

Sending the HID report descriptor.

Referenced by uhi_aoa_register_hid().

#define USB_REQ_AOA_STARTUP   0x35

Start the Android Device in acc mode.

Referenced by uhi_aoa_mode_enable_step3().

#define USB_REQ_AOA_UNREGISTER_HID   55

Unregister a HID device.

Referenced by uhi_aoa_unregister_hid().