Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: novice on June 26, 2008, 02:37:22 AM

Title: WCL Discovering on web
Post by: novice on June 26, 2008, 02:37:22 AM
Good day

Hi

I am now trying to use WCL in our project in web., I am using Vs 2005 c#, i am trying to discover bluetooth device, but the problem is DiscoveryStarted is not triggering. and also i think it is not discovering.

Question
1. How am i going to use WCL in web?
2. Is there anything that i have to do first so that i can discover?


here is a sample code

wclBluetoothDiscovery L_discovery = new wclBluetoothDiscovery();
L_discovery.DiscoveryStarted +=new wclnet.OnBluetoothDiscoveryStarted(L_discovery_DiscoveryStarted);

public bool Discovery(wclBluetoothRadio radio)
{
      bool discok = false;
      try
       {
                L_discovery.Discovery(radio);
                discok = true;
        }
        catch (Exception)
        {
                discok = false;
        }
return discok;
}

private void L_discovery_DiscoveryStarted(object sender, BluetoothDiscoveryStartedEventArgs e)
{
         L_isDiscovering = true;
}



Note i have post the same problem of mine in general discussion but i think it is not the apropriate place so i post it here again. and remove the post topic  in general discussion.

Thanks


Title: Re: WCL Discovering on web
Post by: novice on June 26, 2008, 10:56:21 AM
Good Day

Hi i try the code that i used in web application to win application
 and it is  working  in win application but in web it doesnt work :(, is wcl still applicable in web? coz BTF 5.2 i know it is working.

Thanks
Jelene
Title: Re: WCL Discovering on web
Post by: Mike Petrichenko on June 26, 2008, 11:33:49 AM
I will try to simulate the problem and then let you know the solution.