tag:blogger.com,1999:blog-89878749563391212.post2264794435097723253..comments2024-03-25T17:53:11.127-07:00Comments on Android-er: Send Hello to Arduino from Android in USB Host ModeUnknownnoreply@blogger.comBlogger13125tag:blogger.com,1999:blog-89878749563391212.post-1597009745004003732019-01-24T04:45:46.727-08:002019-01-24T04:45:46.727-08:00Not all the USB device need to do control transfer...Not all the USB device need to do control transfer to set the configure. For my case, my USB device has preset configure, I skipped the control transfer & do bulk transfer directly. Anonymoushttps://www.blogger.com/profile/00670037062726920287noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-57392512679511401532019-01-11T11:36:03.616-08:002019-01-11T11:36:03.616-08:00Blogger Anchal said...
I am an android app develop...Blogger Anchal said...<br />I am an android app developer and new to embedded systems.<br />While doing the control transfer, I receive -1 (ie failure) in the Toast.<br />Can you please tell me why is it so?(I am using FTDI board for communication between mobile app and FTDI board)<br />While doing control transfer for RQSID_SET_CONTROL_LINE_STATE, Why buffer is sent as null.<br />although in case of RQSID_SET_LINE_CODING, buffer is set to be a byte array of 255.<br />Please answer my queries as it's urgent for me to close this ASAP.<br /><br />October 12, 2017 at 1:10 AM<br />------------------------------------------------------------------------------------<br />Hi, are you fix the problem?, i have the same problem :( and i don't know do :(<br />i wait you can help me <br />:)Anonymoushttps://www.blogger.com/profile/14177924094254398548noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-77690294756361341062017-10-12T01:10:08.031-07:002017-10-12T01:10:08.031-07:00I am an android app developer and new to embedded ...I am an android app developer and new to embedded systems.<br />While doing the control transfer, I receive -1 (ie failure) in the Toast.<br />Can you please tell me why is it so?(I am using FTDI board for communication between mobile app and FTDI board)<br />While doing control transfer for RQSID_SET_CONTROL_LINE_STATE, Why buffer is sent as null.<br />although in case of RQSID_SET_LINE_CODING, buffer is set to be a byte array of 255.<br />Please answer my queries as it's urgent for me to close this ASAP.<br />Anchalhttps://www.blogger.com/profile/15678012783565910067noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-19571761065841248112017-01-25T06:11:57.175-08:002017-01-25T06:11:57.175-08:00Hello Eric,
This video looks a lot like something...Hello Eric,<br /><br />This video looks a lot like something i am looking for! Do you know by any chance if the USB host also lets you control a stepper motor (using an h-bridge for an example).<br />Our goal is to connect two dc motors over usb cable to an android phone and control the motors with an application.<br /><br />looking forward to an answer to help me further on the way (or that makes me decide something else).uitwerkingen for lifehttps://www.blogger.com/profile/11790798406338418567noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-20841167391247492392016-05-25T09:09:51.105-07:002016-05-25T09:09:51.105-07:00Is there any way to send "Hello" from An...Is there any way to send "Hello" from Android phone to another Android phone?Anonymoushttps://www.blogger.com/profile/00403663797782155831noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-46963165386266941072016-04-01T08:18:37.647-07:002016-04-01T08:18:37.647-07:00he works on Arduino méga 256he works on Arduino méga 256Anonymoushttps://www.blogger.com/profile/13220514405804785226noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-18715892081915309342016-03-18T05:58:25.068-07:002016-03-18T05:58:25.068-07:00hello sreenath tk,
please read more examples in S...hello sreenath tk,<br /><br />please read more examples in <a href="http://android-er.blogspot.com/2014/09/send-data-from-android-to-arduino-uno.html" rel="nofollow">Send data from Android to Arduino Uno, in USB Host Mode</a>.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-84112473385827028832016-03-18T02:31:26.947-07:002016-03-18T02:31:26.947-07:00Sir please help me to do the reverse. Print ardu...Sir please help me to do the reverse. Print arduino data on androidteamfindrhttps://www.blogger.com/profile/13648027620707060158noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-22209368482602260322016-01-29T05:01:44.106-08:002016-01-29T05:01:44.106-08:00What is the value returned by the "usbDeviceC...What is the value returned by the "usbDeviceConnection.releaseInterface(usbInterface);" method? I always get <b>false</b>.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-13895643946617647232014-04-22T13:46:40.848-07:002014-04-22T13:46:40.848-07:00good day, I can implement this code with arduino m...good day, I can implement this code with arduino mega ADK, which changes you should make, thanks and sorry for the English.Jorge Pujolhttps://www.blogger.com/profile/05527361528949605112noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-75840492000353450702014-03-07T05:57:22.401-08:002014-03-07T05:57:22.401-08:00Here goes a video of my version working: http://ww...Here goes a video of my version working: http://www.youtube.com/watch?v=RLtCVy_M4lwMichael Cifkanoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-57855152340465320212014-03-04T16:15:06.159-08:002014-03-04T16:15:06.159-08:00Hello Michael Cifka,
Thx for your comment :)Hello Michael Cifka,<br /><br />Thx for your comment <i><b>:)</b></i>Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-8563338852567101532014-03-04T14:48:45.092-08:002014-03-04T14:48:45.092-08:00After a few hours, I finally got this working with...After a few hours, I finally got this working with Arduino Uno R3 and Samsung S3 Mini (without rooting). It wasn't exactly easy though.<br /><br />Firstly, ProductID needed to be changed to 67 for Arduino Uno R3.<br /><br />Secondly, it was needed to switch Samsung S3 Mini into the USB Host mode. This can be done by connecting the OTG cable to an USB power source and restarting the phone. Most easily, you can use a 2x USB cable (also called Y cable) commonly used for portable hard drives to interconnect OTG cable with a laptop. After restarting the phone, you can disconnect the 2x USB cable and connect Arduino. The phone will stay in the USB Host mode until the next restart (which also means that USB charging won't work so make sure to start with a fully charged phone).<br /><br />Thirdly, this app was always crashing on my Samsung S3 Mini. I have fixed this by commenting out the function calls to showRawDescriptors() function which was crashing it.<br /><br />Cheers for this great app and gut luck with Android and Arduino development!Michael Cifkanoreply@blogger.com