Author Topic: Discovery results stale / old / chached  (Read 2945 times)

Offline ami

  • Newbie
  • *
  • Posts: 26
  • Karma: 0
Discovery results stale / old / chached
« on: November 25, 2010, 10:13:56 PM »
When i do a scan, the results of the discovery sometimes contains old or chached pairings. Is there a way to eliminate this?

Online Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3055
  • Karma: 1000
    • Soft Service Company
Re: Discovery results stale / old / chached
« Reply #1 on: November 25, 2010, 10:21:52 PM »
No, there is no way to skip them. However it depends on driver used.

Offline ami

  • Newbie
  • *
  • Posts: 26
  • Karma: 0
Re: Discovery results stale / old / chached
« Reply #2 on: November 25, 2010, 11:22:01 PM »
I'm using the MS driver.

So if a radio, has been paired with device X, i unplug the device X, plug in device Y,  do a scan a few min later, both X and Y will be in the discovery?

Online Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3055
  • Karma: 1000
    • Soft Service Company
Re: Discovery results stale / old / chached
« Reply #3 on: November 25, 2010, 11:23:58 PM »
If both devices were paird then for MS - yes. The way - unpair devices.

Offline ami

  • Newbie
  • *
  • Posts: 26
  • Karma: 0
Re: Discovery results stale / old / chached
« Reply #4 on: November 26, 2010, 05:19:53 PM »
Okay.

Here's what i'm thinking of doing

1. Scan, fast = true;
2. Unpair all
3. Scan, fast = false;
4. Pair All

I'm thinking this should solve my problem. Do you see any problems going about it this way?

Online Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3055
  • Karma: 1000
    • Soft Service Company
Re: Discovery results stale / old / chached
« Reply #5 on: November 26, 2010, 05:55:16 PM »
Absolutely correct way.

 

Sitemap 1 2 3 4 5 6 7 8 9