参数资料
型号: DM240415
厂商: Microchip Technology
文件页数: 16/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)
11
3.3 Requirements, Limitations, and Potential
Issues
This section describes the limitations and requirements for using the Microchip's Accessory Framework for Android.
Requirements:
The Microchip's Accessory Framework for Android requires Android versions v2.3.4 or v3.1 or later. The Open Accessory
API is not available in OS versions earlier than this. If the target device is using an older version than this, the library will not
be able to connect to that device.
Please see the Creating the Setup (
see page 36) section for details about how to get the correct tool versions. Please
see page 43) section for more information about how to select the right tool
set when creating a new Android application.
Limitations and Potential Issues:
1. The read() function in the Android OS will not throw an IOException when the file stream under it is closed on file streams
created from the USB Open Accessory API. This creates issues when applications or services close down and try to free
resources. If a read is in progress, then this can result in the ParcelFileDescriptor object being locked until the accessory
is detached from the Android device. This is present in version v2.3.4 and v3.1 of the Android OS.
? Workaround: Since the Read() request never completes resulting in locked resources, a workaround can be
implemented in the application layer. If the accessory and the application implement a command for the application to
indicate to the accessory that the app is closing (or is being paused), then the accessory can respond back with an
acknowledge packet. When the app receives this ACK packet, it knows not to start a new read() (since that read()
request will not be able to terminated once started).
2. The available() function in the Open Accessory API in the Android OS always throws an IOException error. This function
is not available for use.
3. This release only shows connecting to an Android device with the Android device as the USB device. Most phones and
tablets operate in this mode. A few Android devices at the time of this release are capable of being a USB host as well.
Examples for using this mode of operation are not provided in this release. Firmware to talk to these host capable Android
devices can be found at www.microchip.com/usb or www.microchip.com/mal . Application example to access accessories
running in device mode will follow shortly. The Open Accessory API allows connections in either direction.
3.4 Getting the Source Code
If you are working from the pre-compiled version and would like to get the source code version of these projects, please visit
www.microchip.com/mal . The source code is provided in that download (version 2011-06-xx or later).
3.5 What's Next?
This section describes what Microchip is working on or considering next. This section makes no statement that these items
will ever actually be released. Projects on this list may be discontinued indefinitely.
11
3
相关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