Rich Bayliss / AndroidAccessory
Embed: (wiki syntax)

« Back to documentation index

AndroidAccessory Class Reference

AndroidAccessory Class Reference

Library to allow your mbed device to communicate with the Android ADK. More...

#include <AndroidAccessory.h>


Detailed Description

Library to allow your mbed device to communicate with the Android ADK.

Information about the ADK here: http://accessories.android.com/

Example:

 class DemoKit : public AndroidAccessory
 {
   public:
     DemoKit() : AndroidAccessory    ( 3,
                                       3,
                                      "Google, Inc.",
                                      "DemoKit",
                                      "DemoKit Arduino Board",
                                      "1.0",
                                      "http://www.android.com",
                                      "0000000012345678") {};
     virtual int  callbackRead(u8 *buff, int len);
     virtual void setupDevice();
     virtual void resetDevice();
 }

Definition at line 58 of file AndroidAccessory.h.