Author Topic: ProximitySender wclProximitySender_GetFile  (Read 7924 times)

dsum

  • Guest
ProximitySender wclProximitySender_GetFile
« 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

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: ProximitySender wclProximitySender_GetFile
« Reply #1 on: June 17, 2008, 10:20:47 AM »
You are correct

seamus

  • Guest
Re: ProximitySender wclProximitySender_GetFile
« Reply #2 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 ?


Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: ProximitySender wclProximitySender_GetFile
« Reply #3 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

 

Sitemap 1 2 3 4 5 6 7