Ok,i have figure out what went wrong with my application(based on WCLDEMO).
I will explain:
When i was plug-out my Bluetooth adapter and plug-in it again,the first scan was not showing anything(no devices found and populated in lvdevices,from the WCLDEMO-6.0).The next scans were ok.
This was happening because i had removed the line
MessageBox.Show("Async discovery complete success on radio " + Adr, "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
So everytime i was starting the application for the first time,no devices were populating,until the 2nd,3rd and so on scans.
The problem was solved by inserting the above line again.But i cant understand why this is happening.Does the messagebox right before lvDevices.BeginUpdate();
was making the lvdevices to populate?
Any solution or ideas on how to make it work without the messagebox.
PS:kind of hard to understand what i am saying but hope i have explained well.