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

ami

  • Guest
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?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
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.

ami

  • Guest
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?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
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.

ami

  • Guest
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?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
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