Skip to end of metadata
Go to start of metadata

Accessory Example

This example represents a template that you can use to start the development of your Android Accessory class project. When using this application, any Android devices connected to the host that supports the Android Open Accessory Protocol will be switched to the accessory mode.

The application offers blank functions that you can use to implement the communication with the Android device.


The example implementation is located in /examples/usb/host/ex_usbh_aoap_accessory.c.


This example offers only one API named Ex_USBH_AOAP_Init(). This function is normally called from a USB host core example.