Hello,

We are a design office electronics.
We develop some applications to interact with our electronic cards (update, 
configuration, management, etc. ..). Bluetooth is the technology currently used 
for this task. We now want to communicate via USB.
We develop an application "test" shipment via USB, the content of EditText when 
pressing a button and displays what you get in a TextView. We helped
http://developer.android.com/guide/t.../usb/host.html
and
http://android.serverbox.ch/?p=549 # comments
but we do not use arduino but a simple interface USB/RS232 where the RX and 
TX are connected and we check the result with an oscilloscope.
We also have our tablet (Iconia A500) hyperterminal Slick USB 2 Serial Demo.

Here is our problem:
Our application works only if we have previously opened the hyperterminal. In 
fact, if we run our application directly, the code works correctly, and okay 
until 
the sending function "bulkTransfert" (which returns the size of datas to 
send) but sending does not occur (check on the oscilloscope).
But when the previously opened hyperterminal, sending is successful.
And when the application sends nothing (when it should) and you open the 
hyperterminal then we get our bytes sent on this one.
We believe that open hyperterminal or authorizes the things we do not.

Do you have an idea of ​​what is missing in our program?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to