USB - write to the USB from more than one application

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi, 

   

 

   

I'm trying to write to the same device from two applications in the following manner:

   

1. Application 1 connects to the device.

   

2. Application 1 writes to the device.

   

3. Application 2 connects to the device.

   

4. Application 2 writes to the device.

   

5. Application 1 writes to the device.

   

...

   

What happens is that when application 2 writes to the device for the first time application 1 is disconnected from the device.

   

 

   

What am I doing wrong?

   

Thanks, 

   

Ohad

0 Likes
1 Reply
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Hello,

   

Can you please mention which device are you using

0 Likes