Author Topic: Getting timeout on connecting to wcl opp server  (Read 21106 times)

rajeshkumar

  • Guest
Getting timeout on connecting to wcl opp server
« on: November 23, 2016, 05:15:54 PM »
Hi,

we are using wcl library in a application for to transfer some data between two devices. Here one device send some information to other, and second device receives that information and after performing some operation, this device transmits some data to first device.
Basically it is a sync framework where two devices performs synchronization.
Previously we were using wcl library 6.9.1.0, and this was working perfectly without any issue. After upgrading the latest one 6.15.1.0, we started to face the timeout issues intermittently.

The difference i found while implementating the new library is,  wclTransport type for wclOPPClient and wclOPPServer. Previously this was separate for client and server.

Need help on this.

Thanks.


Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Getting timeout on connecting to wcl opp server
« Reply #1 on: November 23, 2016, 07:29:44 PM »
Hi,

Please, try to run WCL OPPClient and OPPServo demos first to make sure there is something with the library.

We have just did a tests and found only 2 possible issues: invalid Transport values or Authentication (pairing).

rajeshkumar

  • Guest
Re: Getting timeout on connecting to wcl opp server
« Reply #2 on: November 28, 2016, 09:08:07 AM »
Hi Mike,

As i mentioned earlier i am facing this issue only when i am using the latest library of wcl and no issue with verion 6.9.0.1. So i think there should be no issue with Authentication, also in older library there were different values for transport but in new one these are same for client and server. i am using below for client and server.

wclOPPClient.Transport = wclTransport.trBluetooth;
wclOPPServer.Transport = wclTransport.trBluetooth;

please let me know if i am missing something.

Thanks

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Getting timeout on connecting to wcl opp server
« Reply #3 on: November 28, 2016, 10:07:18 AM »
Hi,

As I told please test WCL demos first (wclOPPClientDemo and wclOPPServer demo). There were a lot of changes since 6.9 so authentication may also be an issue.

rajeshkumar

  • Guest
Re: Getting timeout on connecting to wcl opp server
« Reply #4 on: July 04, 2017, 04:16:50 PM »
Hi Mike,

Sorry for lifting this topic after a long time  ;). As i am working to upgrade the library from 6.9 to 6.15.
As suggested by you this time i am testing the demos where i ran the wclOPPServer on a system and wclOPPClientDemo on another. The client discovers the nearby devices successfully but when i am trying to connect to specific (the wclOPPServer), it gives the error code 44. The server is in listening mode.

Please let me know i am testing correctly or missing something.

Thanks in advance.


Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Getting timeout on connecting to wcl opp server
« Reply #5 on: July 04, 2017, 04:26:49 PM »
Error 44 means Service Not Found. Probably you are trying to connect to other device or your device is not in connectable mode.

rajeshkumar

  • Guest
Re: Getting timeout on connecting to wcl opp server
« Reply #6 on: July 04, 2017, 05:59:43 PM »
Mike,

I have double check that i am trying to connect right device (verified the mac address also) , also these device connects successfully with older version.
please help.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Getting timeout on connecting to wcl opp server
« Reply #7 on: July 04, 2017, 06:14:52 PM »
Would be great if you contact me by Skype and then I can take a look on it on your side through TeamViewer.

rajeshkumar

  • Guest
Re: Getting timeout on connecting to wcl opp server
« Reply #8 on: July 05, 2017, 08:22:22 AM »
Sure, my skype id is decurtis_rajesh.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Getting timeout on connecting to wcl opp server
« Reply #9 on: July 05, 2017, 01:59:37 PM »
Hi,

Sorry I am on vocation in 2 days. I'll ping you by skype when back.

rajeshkumar

  • Guest
Re: Getting timeout on connecting to wcl opp server
« Reply #10 on: July 06, 2017, 02:57:14 PM »
Thanks Mike.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Getting timeout on connecting to wcl opp server
« Reply #11 on: July 07, 2017, 05:30:52 AM »
Hi
I have added your skype contact. Ping me when ready.

rajeshkumar

  • Guest
Re: Getting timeout on connecting to wcl opp server
« Reply #12 on: July 07, 2017, 07:54:43 AM »
Sorry, but i have not received any contact request yest.
Could you plz try again or share your id so that i can try.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Getting timeout on connecting to wcl opp server
« Reply #13 on: July 07, 2017, 07:56:49 AM »
Skype: mike.petrichenko

rajeshkumar

  • Guest
Re: Getting timeout on connecting to wcl opp server
« Reply #14 on: July 07, 2017, 09:31:15 AM »
Just added you to contacts.

 

Sitemap 1 2 3 4 5 6 7