参数资料
型号: DM240415
厂商: Microchip Technology
文件页数: 31/63页
文件大小: 0K
描述: ACCESSORY DEVELOPMENT START KIT
设计资源: PIC24F ADK Schematic
特色产品: DM240415 Android? Accessory Starter Kit
标准包装: 1
主要目的: 参考设计,平板式
嵌入式: 是,MCU,16 位
已用 IC / 零件: PIC24F
主要属性: 机器人 OS,附件开发平台,兼容 Arduino
次要属性: 免版税,免软件库许可费
已供物品: 电路板,适配器,调试程序,电源,软件
Microchip's Accessory Framework for Android(tm)
Parameters
26
Parameters
Description
ANDROID_ACCESSORY_INFORMATION the information about the Android accessory
*info
Function
void AndroidAppStart( ANDROID_ACCESSORY_INFORMATION ( see page 34) *info)
5.1.5 AndroidAppWrite Function
Sends data to the Android device specified by the passed in handle.
File
usb_host_android.h
C
BYTE AndroidAppWrite (
void * handle ,
BYTE* data ,
DWORD size
);
Description
Sends data to the Android device specified by the passed in handle.
Remarks
None
Preconditions
Transfer is not already in progress. USB module is initialized and Android device has attached.
Parameters
Parameters
void* handle
BYTE* data
DWORD size
Return Values
Return Values
USB_SUCCESS
USB_UNKNOWN_DEVICE
USB_INVALID_STATE
USB_ENDPOINT_ILLEGAL_TYPE
Description
the handle passed to the device in the EVENT_ANDROID_ATTACH ( see
page 33) event
the data to send to the Android device
the size of the data that needs to be sent
Description
Write started successfully.
Device with the specified address not found.
We are not in a normal running state.
Must use USBHostControlWrite to write to a control endpoint.
USB_ENDPOINT_ILLEGAL_DIRECTION Must write to an OUT endpoint.
USB_ENDPOINT_STALLED
USB_ENDPOINT_ERROR
USB_ENDPOINT_BUSY
USB_ENDPOINT_NOT_FOUND
Endpoint is stalled. Must be cleared by the application.
Endpoint has too many errors. Must be cleared by the application.
A Write is already in progress.
Invalid endpoint.
5
Function
BYTE AndroidAppWrite(void* handle, BYTE* data, DWORD size)
26
相关PDF资料
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
相关代理商/技术参数
参数描述
DM2410-0AL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0BL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0CL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0DL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic
DM2410-0GL1 制造商:未知厂家 制造商全称:未知厂家 功能描述:Optoelectronic