Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: dsum on June 17, 2008, 08:04:09 AM

Title: ProximitySender wclProximitySender_GetFile
Post by: dsum on June 17, 2008, 08:04:09 AM
Hi Mike,

I am trying to convert my testing app from BTFramework to WCL. I notice that the OnFileNeeded event is replaced by GetFile. in the wclSpamGetFileEventArgs, it no longer expose the device associate the file that need to be send.
May I ask how what is the process of sending multiple files to multiple bluetooth device? I am guessing it starts by getting a list of all the files, then it tries to connect to available BTdevice. Once it is done, it goes back to sleep and wakes up again to get a list of files. Please correct me if I am wrong.

Thanks
Title: Re: ProximitySender wclProximitySender_GetFile
Post by: Mike Petrichenko on June 17, 2008, 10:20:47 AM
You are correct
Title: Re: ProximitySender wclProximitySender_GetFile
Post by: seamus on June 24, 2008, 03:22:09 PM
Im in the same situation , how do i know the device as i need to check a database to see what content i need to send

I could easily do this in 5 but dont get how to do this in 6 ?

Also if i set teh filename to "" , it still tries to connect to the device ?

Title: Re: ProximitySender wclProximitySender_GetFile
Post by: Mike Petrichenko on July 03, 2008, 05:03:44 PM
I aready answered to the same question here on forum.

Currently there is no way to access file with device. So the current solution is send files by one per iteration (loop). The you can control which file to which device.

FileName = "" and More = False