Wireless Communication Library Support Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Wireless Communication Library Support Forum
»
Frameworks
»
Bluetooth Framework
»
OPPThread with multi files
« previous
next »
Print
Pages: [
1
]
2
Go Down
Author
Topic: OPPThread with multi files (Read 28867 times)
bga
Guest
OPPThread with multi files
«
on:
March 22, 2010, 01:29:38 PM »
Hello,
how can I send multi files to a phone with OPPThread?
Tks
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
Re: OPPThread with multi files
«
Reply #1 on:
March 22, 2010, 01:39:24 PM »
Hi,
You should use more than one wclOPPClient, one per connection. You do not need any threads as WCL is asynchronous library. Or you can use wclProximitySender (what is better).
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
bga
Guest
Re: OPPThread with multi files
«
Reply #2 on:
March 22, 2010, 02:47:07 PM »
more than one wclOPPClient for send many files to only one phone?
have you an example?
with wclProximitySender I make a discovery every time I send a new file to my phone. I would initially see a list of telephone and a second time to send files to the selected phone restart without discovery.
sorry for my english
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
Re: OPPThread with multi files
«
Reply #3 on:
March 22, 2010, 02:50:05 PM »
Ah, I thought you were tolking about sending to many phones. If you want send more than one file to one phone you should use one wclOPPClient. Send files one-by-one.
it's like:
Put(file1)->OnPutComplete->Put(file2)->OnPutComplete->....
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
bga
Guest
Re: OPPThread with multi files
«
Reply #4 on:
March 23, 2010, 10:23:59 AM »
Thank you very much it works very well.
is there a way to know the power of Bluetooth devices?
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
Re: OPPThread with multi files
«
Reply #5 on:
March 23, 2010, 10:25:29 AM »
Unfortunatly no. Currently there is no way to get RSSI level, but we are working on it. Main problem is MS drivers.
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
bga
Guest
Re: OPPThread with multi files
«
Reply #6 on:
March 24, 2010, 10:47:17 AM »
est il possible de reduire la dur
Logged
bga
Guest
Re: OPPThread with multi files
«
Reply #7 on:
March 24, 2010, 10:47:42 AM »
is it possible to shorten the discovery? because changing the timeout of discovery has no effect?
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
Re: OPPThread with multi files
«
Reply #8 on:
March 24, 2010, 11:06:02 AM »
Hi
The only way to make it "faster" use timeout value. Unfortunatly timeout is just "recomendation" and driver may decide to do not use it or use other value.
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
bga
Guest
Re: OPPThread with multi files
«
Reply #9 on:
March 24, 2010, 11:26:55 AM »
ah shame
and would you list using the timeout?
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
Re: OPPThread with multi files
«
Reply #10 on:
March 24, 2010, 11:40:12 AM »
What do you mean?
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
bga
Guest
Re: OPPThread with multi files
«
Reply #11 on:
March 24, 2010, 11:44:50 AM »
I have a Belkin bluetooth key that does not seem to take into account the timeout.
I know the names of other materials which use the timeout.
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
Re: OPPThread with multi files
«
Reply #12 on:
March 24, 2010, 11:53:26 AM »
It does not depend on hardware. It depends on driver used. WidComm doesnot use timeout value. Others do but not as precition value but just as "recomendation".
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
bga
Guest
Re: OPPThread with multi files
«
Reply #13 on:
March 24, 2010, 12:05:04 PM »
actually on the widcomm it is not working but on a laptop with microsoft driver it works.
thks
Logged
bga
Guest
Re: OPPThread with multi files
«
Reply #14 on:
April 08, 2010, 09:40:33 AM »
hello
everything works
but sometimes the name of mobile is unknown, which is the problem?
thks
Logged
Print
Pages: [
1
]
2
Go Up
« previous
next »
Wireless Communication Library Support Forum
»
Frameworks
»
Bluetooth Framework
»
OPPThread with multi files
Sitemap
1
2
3
4
5
6
7