Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: shankar_052003 on May 04, 2014, 08:48:56 PM

Title: Listen for incoming Files
Post by: shankar_052003 on May 04, 2014, 08:48:56 PM
Hi,
I am new to Bluetooth programming. Initially I had problem sending file but after going through this following topic
http://forum.btframework.com/index.php/topic,1693.msg6139.html#msg6139
I am able to send file using the demo project.

Next I tried receive file by running BTOPPSecureServer or BluetoothOPPServer demo. It says it is listening but when I send file to my laptop Bluetooth (where this demo is running). My laptop says there is file request and whether to accept but the demo is not recognizing the send request.

Can anyone please help me on this. Am I need to do anything with the windows Bluetooth driver?

Thanks. any help would be greatly appreciated.
Title: Re: Listen for incoming Files
Post by: Mike Petrichenko on May 05, 2014, 06:08:03 AM
Hi,

I guess you use Toshiba or BlueSoleil drivers. In this case you have to disable file receiving in your Bluetooth driver control panel first.
Title: Re: Listen for incoming Files
Post by: shankar_052003 on May 05, 2014, 10:32:32 AM
Dear Mike,
Thanks for your reply. Mine is Lenovo laptop and it uses Atheros driver. Can you please tell me how to disable the file receiving in the Bluetooth driver?
Title: Re: Listen for incoming Files
Post by: Mike Petrichenko on May 05, 2014, 11:47:06 AM
There is actualy no Atheros Bluetooth driver. Usually it can be BlueSoleil, WidComm (XP), Toshiba or Microsoft. So you have to open your driver's Bluetooth control panel and disable file receiving service there (it also may be called as "ObjectPush", OPP, "OBEX" or somehow else)
Title: Re: Listen for incoming Files
Post by: shankar_052003 on May 05, 2014, 05:25:12 PM
Dear Mike,
Thanks again for your reply. Please find attached the doc which has the driver settings. Please let me know if that is what you want to set.


[attachment deleted by admin]
Title: Re: Listen for incoming Files
Post by: Mike Petrichenko on May 05, 2014, 07:30:15 PM
It looks like Microsoft stack with WidComm extention. Also it  looks like all checkboxes are unchecked as they should and all should work. If it does not can you please provide me with more details about your cell phone and how you send file to PC.
Title: Re: Listen for incoming Files
Post by: shankar_052003 on May 05, 2014, 09:35:55 PM
Dear Mike,
Thanks a lot for your support. This seems to work on my XOLO phone but not on my Motorola XT530. could be problem with my mobile?
btw Is it possible for me send file from my IPhone or IPad over any method like wifi, etc?
Title: Re: Listen for incoming Files
Post by: Mike Petrichenko on May 06, 2014, 06:00:12 AM
Probably Motorola uses other method (FTP or something).

Unfortunately no, it's not possible to send files by WiFi.
Title: Re: Listen for incoming Files
Post by: shankar_052003 on May 06, 2014, 12:08:54 PM
Thanks for the update Mike. I really appreciate your support.
Title: Re: Listen for incoming Files
Post by: shankar_052003 on May 12, 2014, 02:59:52 PM
Dear Mike,

It seems to work for some phones now. but for few phones it says passkey to confirm.

Any idea why such case comes in to picture?

Thanks
Sankar
Title: Re: Listen for incoming Files
Post by: Mike Petrichenko on May 12, 2014, 03:30:21 PM
Hello,

New devices usualy require pairing before can send/receive something. So you have to use pairing.
Title: Re: Listen for incoming Files
Post by: shankar_052003 on May 12, 2014, 09:26:53 PM
Sure thanks Mike. I can use the demo sample for Pairing I guess
Title: Re: Listen for incoming Files
Post by: Mike Petrichenko on May 12, 2014, 09:28:00 PM
Of course. But I think the better solution when PC is server is use wclAuthenticator (take a look on Authenticator demo)