Wireless Communication Library Support Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Wireless Communication Library Support Forum
»
Frameworks
»
Bluetooth Framework
»
Discovery results stale / old / chached
« previous
next »
Print
Pages: [
1
]
Go Down
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?
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
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.
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
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?
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
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.
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
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?
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
Re: Discovery results stale / old / chached
«
Reply #5 on:
November 26, 2010, 05:55:16 PM »
Absolutely correct way.
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
Print
Pages: [
1
]
Go Up
« previous
next »
Wireless Communication Library Support Forum
»
Frameworks
»
Bluetooth Framework
»
Discovery results stale / old / chached
Sitemap
1
2
3
4
5
6
7