Frameworks > Bluetooth Framework

WCL Discovering on web

(1/1)

novice:
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


novice:
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

Mike Petrichenko:
I will try to simulate the problem and then let you know the solution.

Navigation

[0] Message Index

Sitemap 1 2 3 4 5 6 7 
Go to full version