Wireless Communication Library Support Forum

Frameworks => Serial Framework => Topic started by: ashgie on December 04, 2008, 02:17:07 PM

Title: Serial Communication in WCL.NET
Post by: ashgie on December 04, 2008, 02:17:07 PM
Hey Mike,

We are testing the WCL.NET compared to the previous Bluetooth Framework, and are finding that a lot of the functionality is a lot more stable.
The appliance we use it for is to establish a serial connection. This all goes well, and we receive the stream over bluetooth.
However....
After about 30/40k of data received. The connection stops and upon sending a command to the device we get the exception back that the client is not connected. While the status still indicates that the client is active and connected. This is something we didnt encounter in the previous BT framework, and also via a simple terminal connection we dont encounter this problem.

Here is the code I use to open the port...if you need any more let me know.

Quote
           
mWclClient.BluetoothParams.Address = mBtDevice.Address;
mWclClient.BluetoothParams.Radio = mBtRadio;
mWclClient.BluetoothParams.Service = wclnet.wclUUIDs.SerialPortServiceClass_UUID;

mWclStatus = WS_OPENING;
parent.UpdateStatus("Radio [" + mBtRadio.Name + "] connecting to device [" + mBtDevice.Name(mBtRadio) + "].");
mWclClient.Open();

Greetings,
Marcel
Title: Re: Serial Communication in WCL.NET
Post by: Mike Petrichenko on December 04, 2008, 04:58:10 PM
Good day!

The code looks correct. It is strange that the device drops the connection. Check the services of the device, may be it has more than 1 SPP service and first one drops the connection? Also the demo version has limitaion on send/receive data size.
Title: Re: Serial Communication in WCL.NET
Post by: ashgie on December 05, 2008, 12:21:05 PM
Nope,

We're using the registered version of BS stack and have only one SPP. With BTFX it used to work.....
This is basically the last bit of the product setup we have to do and we're very anxious to be able to market the product.

Greetings...

Marcel
Title: Re: Serial Communication in WCL.NET
Post by: Mike Petrichenko on December 05, 2008, 01:45:55 PM
I mean demo versin of the library.
Title: Re: Serial Communication in WCL.NET
Post by: ashgie on December 05, 2008, 02:43:56 PM
No....registered dev. licence
Title: Re: Serial Communication in WCL.NET
Post by: Mike Petrichenko on December 05, 2008, 04:09:58 PM
Hm. Very strange. I'll check it out.
Title: Re: Serial Communication in WCL.NET
Post by: ashgie on December 10, 2008, 01:17:01 PM
Can you give me an ETA (estimate time of arrival) when you can tell me a bit more?
I have to finish up the R&D within a week and I hope I can tell WCL.NET is the way to go.

Greets
Title: Re: Serial Communication in WCL.NET
Post by: ashgie on December 16, 2008, 07:18:23 PM
any idea?
Title: Re: Serial Communication in WCL.NET
Post by: Mike Petrichenko on December 16, 2008, 08:28:59 PM
Good day!

I have checked the issue and unfortunatelly couldn't simulate it. Can you contact me by MSN to solve the problem online?
Title: Re: Serial Communication in WCL.NET
Post by: ashgie on December 17, 2008, 03:17:53 PM
I've added you to msn...
Title: Re: Serial Communication in WCL.NET
Post by: Mike Petrichenko on December 17, 2008, 03:51:55 PM
MSN is very strange. Just have got your add request (and some others which are about day old) even MSN is turned on always
Title: Re: Serial Communication in WCL.NET
Post by: ashgie on January 13, 2009, 10:55:43 AM
Is that new version out yet?
Or, if not, when will it be?
Title: Re: Serial Communication in WCL.NET
Post by: sander on January 16, 2009, 10:40:49 AM
Mike,

We're waiting for news.... Could you please provide an estimate for the release date, as the last one has passed without so much as a word.

Best regards,
Sander
Title: Re: Serial Communication in WCL.NET
Post by: Mike Petrichenko on January 16, 2009, 12:31:30 PM
http://www.btframework.com/news.htm
http://www.btframework.com/download.htm
Title: Re: Serial Communication in WCL.NET
Post by: sander on January 16, 2009, 03:11:01 PM
Why did you not answer my question?

The download page indicates that the wcl.net version is still at 6.0.0.67, released 16.07.2008. When i download this link, I get a rar archive with a setup dated 18.09.2008. Do you want me to believe this is wcl.net version 6.2.0.0????
Also the news section that you linked to clearly indicates that only the VCL version of the new library has been released. There is no news regarding a new wcl.net version.

1- As you know (look in the topic, it says "WCL.NET") I am waiting for the .net version of the library.
2- As you know, we have uncovered a bug in the serial communication of the wcl.net v6.0.0.67. This bug has been discussed with you both in the forum and via msn. I will repeat the bug description: The client stops receiving data within 1 minute; the client indicates connected  = true, but when sending a new command over the link, the exception "client is not connected" is thrown.
3- You were supposed to test this, and see if the issue can be fixed.
4- Documentation for the .net version is missing; you were supposed to release the new version with .net documentation included.

So my question are:
- When will there be a new version of WCL.NET (.NET version)?
- Will this version include the promised documentation?
- When will you verify and fix the bug we have indicated?

Regards,
Sander
Title: Re: Serial Communication in WCL.NET
Post by: Mike Petrichenko on January 21, 2009, 05:11:37 AM
Good day!

Sorry for delayed answer.

The new version is still under testing. I will let you know immediatelly when the new version will be available.

Regarding the serial port issues. Unfrotunatelly, as I wrote, I couldn't simulate the situation. It will be good if you can send me the app wich does not work and then I can find where is the problem.
Title: Re: Serial Communication in WCL.NET
Post by: sander on January 21, 2009, 09:43:42 AM
Hi Mike,

Thanks for your reply. I will send you the application that has the problem as soon as possible, so you can perform some testing. Perhaps the error is in our code.
Looking forward to the new release!

Regards,
Sander
Title: Re: Serial Communication in WCL.NET
Post by: Mike Petrichenko on January 21, 2009, 10:00:23 AM
Thank you, I'll check the app immediatelly when will get it.