Wireless Communication Library Support Forum
Common => Common => Topic started by: Candengo on October 13, 2009, 10:48:44 PM
-
Hi,
Im trying to get my head around the functions that can be carried out on a single dongle.
Is it possible to recieve inbound (to a PC) connetions via the wclOPPServer and have the Bluetooth discovery running as well?
Could i send a file while doing the above using the OPPCLient?
I know wheres 7 chanels on the DOngles, but do i need to manage them or are they pooled?
Sorry for so many questions, ive been unable to find the docs!
regards
David
-
Hi,
The things you asked about are depends on drivers used. With MS bluetooth drivers all those are possible. With WidComm it is possible to send and receive, not discovering. With others - only sending or only receiving or only discovering.
To recieve files you should use wclOPPServer. One per possible connection. So ifyou want to receive from 7 devices you should use 7 wclOPPServers. Each of them must listen on different channel (with the same service's UUID).
To send to a device use wclOPPClient. One per possible connection.
-
Thanks for the prompt reply - im using the Microsoft Bluetooth stack, but i cant find the way to set the listen chanel id
quote:
7 wclOPPServers. Each of them must listen on different channel (with the same service's UUID).
can you let me know where i would set this?
thanks
-
wclOPPServer.BluetoothParams.Channel
For MS stack you can try to leave it 0 - then stack should allocate free channel number. If not (sometimes it does not allocate channel) then use any number between 1 and 30 (including 1 and 30)