Author Topic: Listen for incoming Files  (Read 2419 times)

Offline shankar_052003

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Listen for incoming Files
« 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.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3052
  • Karma: 1000
    • Soft Service Company
Re: Listen for incoming Files
« Reply #1 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.

Offline shankar_052003

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Listen for incoming Files
« Reply #2 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?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3052
  • Karma: 1000
    • Soft Service Company
Re: Listen for incoming Files
« Reply #3 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)

Offline shankar_052003

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Listen for incoming Files
« Reply #4 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.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3052
  • Karma: 1000
    • Soft Service Company
Re: Listen for incoming Files
« Reply #5 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.

Offline shankar_052003

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Listen for incoming Files
« Reply #6 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?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3052
  • Karma: 1000
    • Soft Service Company
Re: Listen for incoming Files
« Reply #7 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.

Offline shankar_052003

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Listen for incoming Files
« Reply #8 on: May 06, 2014, 12:08:54 PM »
Thanks for the update Mike. I really appreciate your support.

Offline shankar_052003

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Listen for incoming Files
« Reply #9 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

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3052
  • Karma: 1000
    • Soft Service Company
Re: Listen for incoming Files
« Reply #10 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.

Offline shankar_052003

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Listen for incoming Files
« Reply #11 on: May 12, 2014, 09:26:53 PM »
Sure thanks Mike. I can use the demo sample for Pairing I guess

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3052
  • Karma: 1000
    • Soft Service Company
Re: Listen for incoming Files
« Reply #12 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)

 

Sitemap 1 2 3 4 5 6 7 8 9