Update Android Accessory Class driver to be compatible with protocol version 2 devices.
This commit is contained in:
parent
39603f05b2
commit
0223c3668c
3 changed files with 9 additions and 6 deletions
|
@ -104,16 +104,17 @@
|
|||
AOA_STRING_Version = 3, /**< Index of the Version Number property string. */
|
||||
AOA_STRING_URI = 4, /**< Index of the URI Information property string. */
|
||||
AOA_STRING_Serial = 5, /**< Index of the Serial Number property string. */
|
||||
|
||||
|
||||
#if !defined(__DOXYGEN__)
|
||||
AOA_STRING_TOTAL_STRINGS
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
/** Enum for the possible Android Open Accessory protocol versions. */
|
||||
enum AOA_Protocols_t
|
||||
{
|
||||
AOA_PROTOCOL_AccessoryV1 = 0x0001, /**< Android Open Accessory version 1. */
|
||||
AOA_PROTOCOL_AccessoryV2 = 0x0002, /**< Android Open Accessory version 2. */
|
||||
};
|
||||
|
||||
/* Disable C linkage for C++ Compilers: */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue