Microchip's Accessory Framework for Android(tm)
29
5.2.1 USB_ERROR_BUFFER_TOO_SMALL Macro
File
usb_host_android.h
C
#define USB_ERROR_BUFFER_TOO_SMALL USB_ERROR_CLASS_DEFINED + 0
Description
Error code indicating that the buffer passed to the read function was too small. Since the USB host can't control how much
data it will receive in a single packet, the user must provide a buffer that is at least the size of the endpoint of the attached
device. If a buffer is passed in that is too small, the read will not start and this error is returned to the user.
5.3 Configuration Definitions
Macros
Name
Description
NUM_ANDROID_DEVICES_SUPPORTED Defines the number of concurrent Android devices this
implementation is allowed to talk to. This definition is only used for
implementations where the accessory is the host and the Android
device is the slave. This is also most often defined to be 1. If this
is not defined by the user, a default of 1 is used.
This option is only used when compiling the source version of the
library. This value is set to 1 for pre-compiled versions of the
library.
5.3.1 NUM_ANDROID_DEVICES_SUPPORTED Macro
File
usb_host_android.h
C
#define NUM_ANDROID_DEVICES_SUPPORTED 1
Description
Defines the number of concurrent Android devices this implementation is allowed to talk to. This definition is only used for
implementations where the accessory is the host and the Android device is the slave. This is also most often defined to be 1.
If this is not defined by the user, a default of 1 is used.
This option is only used when compiling the source version of the library. This value is set to 1 for pre-compiled versions of
the library.
29
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