Microchip's Accessory Framework for Android(tm)
Description
Per instance client driver for Android device. Called by USB host stack from the client driver table.
Remarks
This is a internal API only. This should not be called by anything other than the USB host stack via the client driver table
Preconditions
None
Parameters
32
Parameters
BYTE address
DWORD flags
BYTE clientDriverID
Return Values
Return Values
TRUE
FALSE
Description
the address of the device that is being initialized
the initialization flags for the device
the clientDriverID for the device
Description
initialized successfully
does not support this device
Function
BOOL AndroidAppInitialize( BYTE address, DWORD flags, BYTE clientDriverID )
5.5 Events
Macros
Name
Description
This event is thrown when an Android device is
attached and successfully entered into accessory
mode already. The data portion of this event is the
handle that is required to communicate to the device
and should be saved so that it can be passed to all of
the transfer functions. Always use this definition in
the code and never put a static value as the value of
this event may change based on various build
options.
This event is thrown when an Android device is
removed. The data portion of the event is the handle
of the device that has been removed. Always use
this definition in the code and never put a static value
as the value of this event may change based on
various build options.
EVENT_ANDROID_HID_REGISTRATION_COMPLETE This event is thrown after a HID report is successfully
registered. That report is now available for use by the
application
The requested report has been sent to the requested
device.
32
5
相关PDF资料
DM300004-2 BOARD DEMO DSPICDEM.NET 2
DM300014 BOARD DEMO DSPICDEM 1.1 GEN PURP
DM300016 BOARD DEMO DSPICDEM STARTER
DM300017 BOARD DEMO DSPICDEM STARTER
DM300020 BOARD DEV DSPICDEM MC1 MOTORCTRL
DM300021 MODULE PWR DSPICDEM MC1H HV 3PHS
DM300022 MODULE PWR DSPICDEM MC1L LV 3PHS
DM320002 BOARD EXPANSION PIC32 I/O
相关代理商/技术参数
DM2410-0AL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0BL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0CL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0DL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0GL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0HL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0SL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-1AL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic