How to remove all trace of bluetooth pairing/link key information?
How to remove all trace of bluetooth pairing/link key information?
- Subject: How to remove all trace of bluetooth pairing/link key information?
- From: Rick Peacock <email@hidden>
- Date: Thu, 25 Jun 2009 21:01:42 +0100
Hi bluetooth devs,
I'm new to bluetooth development and looking for advice from the sage
ones from this list regarding how to remove a device pairing,
effectively giving a fresh start for my bluetooth app to work with so
I can work through the authentication process.
I'm developing a kiosk application that needs to be able to push files
onto users mobile phones via bluetooth. It's a kiosk app so there's no
access to the os x bluetooth applications so the app needsto do it
all. So far I'm using the api to do just that and it's working great
with my personal phone. However, when I tried the app on a different
machine I realized I've only done half the job - it doesn't work,
because the mobile hasn't been paired with this other mac yet. On my
original machine I'd already setup the pairing via the 8 digit link
key for day to day use of the phone.
So, what I'd really like to do at this stage is to create a level
playing field for development and reset my development machine's
bluetooth to factory settings, ie no knowledge of any devices, so to
make a connection I'll need to apply the 8 digit link key.
So far I've used bluetooth preferences to delete the device. Done.
Still connects without asking to pair. The phone does ask to accept
the connection, but it's a simple yes no rather than a passkey
request. Next I deleted the pairing on the phone. Same issue, I'm
still able to create a bluetooth connection without any passkey
authentication request.
I'm assuming here the authentication passkey must be present on both
devices, and it must be stored at a low level, as I've removed
everything I can think of in the user space.
Is there any advice for how to remove all bluetooth passkeys,
effectively giving me a clean start? Is it possible via the bluetooth
api? Or even easier via a utility I'm unaware of?
Thanks,
Rick.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden