deathprincess
Posts: 8
Joined: Wed Nov 19, 2008 8:08 am
Location: Philippines

Help pls.. determine if device is still sending

Wed Nov 19, 2008 8:17 am

Hi guys,

Were creating an application with the use of Bluetools sdk. Basically, what the application does is discover devices and simultaneously send up to 5 devices. The sending works fine until a request for another discovery. My problem is how to determine if my bluetooth device is still sending so that i can request for another device discovery without interrupting the sending process? Im using OBEXobjectpush service.

Any reply would be appreciated.
Thanks! -DP

Jonas
Posts: 2319
Joined: Mon Jan 09, 2006 2:20 pm
Location: Sweden

RE: Help pls.. determine if device is still sending

Wed Nov 19, 2008 9:01 am

You have to keep track of this yourself. There is no way of knowing this otherwise.

Regards,
Jonas

deathprincess
Posts: 8
Joined: Wed Nov 19, 2008 8:08 am
Location: Philippines

RE: Help pls.. determine if device is still sending

Wed Nov 19, 2008 9:16 am

Hi Jonas,

Thanks for the reply..

Hmmm.. Could you please give me an idea on how to track this? or Is there a way to get the devices that are currently connected to the server/local device?

Thanks!
-DP

Jonas
Posts: 2319
Joined: Mon Jan 09, 2006 2:20 pm
Location: Sweden

RE: Help pls.. determine if device is still sending

Wed Nov 19, 2008 11:28 am

If you have created the service yourself, just count the Streams you are sending through.

Regards,
Jonas

deathprincess
Posts: 8
Joined: Wed Nov 19, 2008 8:08 am
Location: Philippines

RE: Help pls.. determine if device is still sending

Wed Nov 19, 2008 11:36 am

Hi Jonas,

Thanks!

I think I can proceed with the project given this idea.
-DP

Return to “BlueTools”