.NET Components for Mobility

how i can remove remebered Devices?

Last post 09-01-2010 11:14 AM by preinold. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 08-24-2010 9:21 PM

    how i can remove remebered Devices?

    now i have 896 devices with remebered = True.

    the discovertime ist 22 Seconds.

    How i can remove remebered Devices to reduce the discovertime?

     

    Very Thanks

    Peter

  • 08-25-2010 12:24 PM In reply to

    Re: how i can remove remebered Devices?

    BluetoothSecurity.RemoveDevice should do the trick.

    (BTW I suspect the DiscoverDevices will return after the normal ~12s, but perhaps accessing properties at display time on the not-in-range devices is slow...)

  • 08-26-2010 9:35 PM In reply to

    Re: how i can remove remebered Devices?

     sorry, but this remove only the PAIRED, NOT the REMEMBERED Device

    Greets Peter

  • 08-30-2010 7:25 AM In reply to

    Re: how i can remove remebered Devices?

    Really? It should do...  What platform is that on? desktop/WM? MSFT/Widcomm?
  • 08-30-2010 10:18 AM In reply to

    Re: how i can remove remebered Devices?

     a desktop with widcomm.

    every 1 month i must deinstall the complete widcomm, reboot, new install the widcomm, reboot. than i have 0 remebered devices.

    this cant be a good solution.

     

    Greets Peter

  • 08-30-2010 11:12 AM In reply to

    Re: how i can remove remebered Devices?

    Ahh.  The devices are stored in the registry, so do e.g.

    C:\temp>reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Widcomm\BTConfig\Devices

    or the programmatic equivalent...   That should hopefully solve your problem. :-)

  • 08-31-2010 5:31 AM In reply to

    Re: how i can remove remebered Devices?

     THANKS !!! Thats the best solution EVER!

     

    Greets Peter

  • 09-01-2010 4:51 AM In reply to

    • cttm
    • Top 50 Contributor
    • Joined on 08-12-2010
    • Posts 16

    Re: how i can remove remebered Devices?

    Hi guys, Sorry to butt in but how do I do it programmatically? Thanks for any replies. Best regards, Chris
  • 09-01-2010 11:14 AM In reply to

    Re: how i can remove remebered Devices?

    Const cDevices As String = "SOFTWARE\Widcomm\BTConfig\Devices"

    Dim sFullAdr As String = sAdr.Substring(0, 2) & ":" & sAdr.Substring(2, 2) & ":" & sAdr.Substring(4, 2) & ":" & sAdr.Substring(6, 2) & ":" & sAdr.Substring(8, 2) & ":" & sAdr.Substring(10, 2)

    Registry.LocalMachine.DeleteSubKeyTree(cDevices & "\" & sFullAdr)

    it runs ;-)

    Greets Peter

Page 1 of 1 (9 items)
Copyright © 2001-2012 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy. OrcsWeb's Windows Cloud Server Hosting