Questions tagged [android-open-accessory]

The Android Open Accessory protocol allows external USB hardware to interact with an Android-powered device in a special accessory mode.

Android Open Accessory support allows external USB hardware to interact with an -powered device in a special accessory mode.

Documentation for the Android Open Accessory protocol is published by Google and can be found here.

31 questions
11
votes
1 answer

How to use adb tcpip without USB debugging enabled?

I've read quite a few posts already on adb and tcpip mode and I can create a wireless adb connection, but only when USB debugging is on. The way I'm using it is like so: USB debugging is enabled call adb tcpip on the computer (switches from usb to…
George Profenza
  • 50,687
  • 19
  • 144
  • 218
9
votes
1 answer

What is the clientID needed for?

Since specifying the clienID is only a feature in the class MqttAndroidClient, and can not be specified when using classes IMqttClient and IMqttAsynchClient. what is the real purpose of connecting a client with a unique ID?
rmaik
  • 1,076
  • 3
  • 15
  • 48
3
votes
1 answer

Running two Android DJI apps over USB at the same time?

Has anyone had success running a custom DJI Mobile SDK application alongside the DJI Go application on Android? It appears as though only one application at a time can connect to the controller over USB. I am creating an app with the Mobile SDK for…
Seibar
  • 68,705
  • 38
  • 88
  • 99
2
votes
0 answers

How to automatically set app as default for a particular accessory?

I'm working on a custom accessory for Android using the Android Open Accessory API. When I first install the app and connect the accessory, it prompts me with "Open [My app] when this USB accessory is connected?", with an option to set it as a…
Parker Kemp
  • 719
  • 1
  • 10
  • 23
2
votes
1 answer

Android Open Accessory Protocol and MTP

I am working on a project, in which our embedded system support both Android open accessory protocol and USB MTP. We came across a problem, where USB MTP doesn't work when AOAP session is established with Android device. I am lost basically, I don't…
Coder
  • 845
  • 1
  • 10
  • 20
2
votes
1 answer

Android Open Accessory USB communication failing after sending large data packets

I have an android phone communicating with a Linux machine using AOA. The Linux machine is set up to initiate the connection, then wait for incoming data and echo it back to the phone unchanged. This works fine for small packets of data (less than…
Sir_Lagsalot
  • 542
  • 1
  • 4
  • 14
2
votes
2 answers

How to find if Android Handset or Tablet supports Android Open Accessory (AOA) protocol?

I am developing an application to interface an accessory using Android Open Accessory (AOA) protocol. I test the application using either a handset(Android 4.2.2) or a tablet (Android 4.1). Both these devices have USB Micro-B receptacle, whereas,…
SunGa
  • 231
  • 3
  • 10
2
votes
2 answers

Android Open Accessory simultaneous connection

I'm developing an AOA application. And i wonder if it's possible to maintain several simultaneous connections with AOA? Is it possible? Or only one application can use AOA in a time?
Andrew
  • 573
  • 2
  • 6
  • 18
1
vote
0 answers

Use AOA Alongside Android Auto to Transfer Data?

Im using OpenAuto on a Raspberry Pi to be able to play music and do navigation. Works great. However I've also written a Car PC app where one Raspberry Pi hooks into the CAN Bus, collects data and passes through a network cable using UDP Broadcast…
Simon
  • 1,385
  • 1
  • 11
  • 20
1
vote
1 answer

How to know the topic(s) i am currently subscribed to?

I am using Paho MQTT library, but I do not know how to know if i am currently subscribed to a certain topic so that, no to subscribe to it again. is there any way to know if a specific topic i am subscribed to it or not??
Amrmsmb
  • 1
  • 27
  • 104
  • 226
1
vote
2 answers

Sending data to Android device, immediately after connection to USB, results in timeout

I have the following use case: App is running on phone. User connects accessory to phone. Accessory puts phone in accessory mode. After reconnecting and opening the right USB endpoint, accessory immediately tries to send data to app. At step 4, I…
Frank Kusters
  • 2,544
  • 2
  • 21
  • 30
1
vote
1 answer

My messages are getting downgraded by MQTT-broker, so what?

As far as I understand, if you subscribed to a topic with a specific QoS, the subscriber will see only the messages under that topic provided by the MQTT broker with the QoS level equal or lower to that QoS specified at publishing the topic. In…
Amrmsmb
  • 1
  • 27
  • 104
  • 226
1
vote
1 answer

Android Open Accessory on Galaxy Note 3

I am making some experiments with Android Open Accessory Protocol (AOA) using various phones/tablets and Arduino DUE. I need some help to try to find the cause of a different behaviour of a simple app based on AOA that reads data from an analog…
frada
  • 11
  • 4
0
votes
1 answer

Where can I find the android open accessory API / libraries / firmware examples?

In the docs regarding custom accessories, there is a link to what it claims is the firmware source code but this link only points back to the top page for the Android Peripherals and Accessories (no source code). All the pages under "Custom…
topher217
  • 1,188
  • 12
  • 35
0
votes
0 answers

Android AOA. Is FT312 RST pin pulling down == reconnecting USB cable?

I am working on Android AOA project with FT312 chip. There is well known bug in Android where after Andoird app restarting there is a problem with inputstream data flow. Simple solution is to reconnect USB cable but that is not ok for me. The…
1
2 3