Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: rajeshkumar on November 23, 2016, 05:15:54 PM

Title: Getting timeout on connecting to wcl opp server
Post by: rajeshkumar 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.

Title: Re: Getting timeout on connecting to wcl opp server
Post by: Mike Petrichenko 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).
Title: Re: Getting timeout on connecting to wcl opp server
Post by: rajeshkumar 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
Title: Re: Getting timeout on connecting to wcl opp server
Post by: Mike Petrichenko 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.
Title: Re: Getting timeout on connecting to wcl opp server
Post by: rajeshkumar 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.

Title: Re: Getting timeout on connecting to wcl opp server
Post by: Mike Petrichenko 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.
Title: Re: Getting timeout on connecting to wcl opp server
Post by: rajeshkumar 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.
Title: Re: Getting timeout on connecting to wcl opp server
Post by: Mike Petrichenko 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.
Title: Re: Getting timeout on connecting to wcl opp server
Post by: rajeshkumar on July 05, 2017, 08:22:22 AM
Sure, my skype id is decurtis_rajesh.
Title: Re: Getting timeout on connecting to wcl opp server
Post by: Mike Petrichenko 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.
Title: Re: Getting timeout on connecting to wcl opp server
Post by: rajeshkumar on July 06, 2017, 02:57:14 PM
Thanks Mike.
Title: Re: Getting timeout on connecting to wcl opp server
Post by: Mike Petrichenko on July 07, 2017, 05:30:52 AM
Hi
I have added your skype contact. Ping me when ready.
Title: Re: Getting timeout on connecting to wcl opp server
Post by: rajeshkumar 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.
Title: Re: Getting timeout on connecting to wcl opp server
Post by: Mike Petrichenko on July 07, 2017, 07:56:49 AM
Skype: mike.petrichenko
Title: Re: Getting timeout on connecting to wcl opp server
Post by: rajeshkumar on July 07, 2017, 09:31:15 AM
Just added you to contacts.