Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
Posts: 7
Registered: ‎07-14-2010
My Device: Not Specified

Initiating USB connection from device to PC (not reverse)

I have looked at the USBdemo application and it works fine. We are successfully using it as a logger to send application logs and data to our application running on PC. 

 

However, the problem we are facing is that the USBDemo sample application requires that PC initiates the connection to device. This is a problem for us since we need to ensure that application on device is running before we start the PC side application. If device side application restarts, PC loses connectivity. We also lose on initial logs if we start PC application after device side application starts. 

 

What we would like to do is that device to initiate connection to PC software, so even if device application restarts, it re-initiates the connection to PC over USB 

 

Any help.

 

 

New Contributor
Posts: 7
Registered: ‎07-14-2010
My Device: Not Specified

Re: Initiating USB connection from device to PC (not reverse)

pls help

Developer
Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.3.2.858, Z10 (STL100-3)-10.3.1.2576, Z30 (STA100-5)-10.3.1.2582, Passport (SQW100-1)-10.3.1.2576, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: Initiating USB connection from device to PC (not reverse)

RIM has stated that BlackBerrys cannot act as host USB devices. So this is not possible.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Highlighted
New Contributor
Posts: 7
Registered: ‎07-14-2010
My Device: Not Specified

Re: Initiating USB connection from device to PC (not reverse)

No, you didn't get my question. USB Host is a different thing. I am asking if BB can initiate a connection to PC rather than PC initiating the connection.