Datasheet

C
#define EVENT_ANDROID_HID_SEND_EVENT_COMPLETE ANDROID_EVENT_BASE + 3
Description
The requested report has been sent to the requested device.
5.6 Type Definitions
Enumerations
Name Description
ANDROID_AUDIO_MODE
( see page 35)
Defines the available audio modes
Structures
Name Description
ANDROID_ACCESSORY_INFORMATION
( see page 34)
This structure contains the informatin that is required to
successfully create a link between the Android device and the
accessory. This information must match the information entered in
the accessory filter in the Android application in order for the
Android application to access the device. An instance of this
structure should be passed into the AndroidAppStart ( see page
25)() at initialization.
5.6.1 ANDROID_ACCESSORY_INFORMATION Structure
File
usb_host_android.h
C
typedef struct {
char* manufacturer;
BYTE manufacturer_size;
char* model;
BYTE model_size;
char* description;
BYTE description_size;
char* version;
BYTE version_size;
char* URI;
BYTE URI_size;
char* serial;
BYTE serial_size;
ANDROID_AUDIO_MODE audio_mode;
} ANDROID_ACCESSORY_INFORMATION;
Members
Members Description
char* manufacturer; String: manufacturer name
BYTE manufacturer_size; length of manufacturer string
char* model; String: model name
BYTE model_size; length of model name string
char* description; String: description of the accessory
Microchip's Accessory Framework for Android(tm) 34
34
5