Author Topic: WCL Discovering on web  (Read 14219 times)

novice

  • Guest
WCL Discovering on web
« 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



novice

  • Guest
Re: WCL Discovering on web
« Reply #1 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

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL Discovering on web
« Reply #2 on: June 26, 2008, 11:33:49 AM »
I will try to simulate the problem and then let you know the solution.

 

Sitemap 1 2 3 4 5 6 7