Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Wireless Networking > Bluetooth pairing without using a passkey/PIN

Thread Tools

Bluetooth pairing without using a passkey/PIN

Posts: n/a
I'm trying to pair a Bluetooth printer remote to a Windows XP.
When manually pairing this to Windows via the BT Add HW Wizard it requires
the selection of the "Don't use a passkey" option. Trying to do this
programmatically is my issue.

I used a API function, BluetoothAuthenticateDevice , to pairing and
connecting it.

The Bluetooth authentication process has two modes: Wizard mode and
Transparent mode
I want to provide as "Transparent mode" to user.

I've tried string : Empty, "0000", "0000\0" (null-terminated), "1234",
"1234\0" (null-terminated), "\0"
All to not available.

BluetoothAuthenticateDevice(NULL, bdsp.hRadio, &bdi, _T(""),

The result from BluetoothAuthenticateDevice is 87 (ERROR_INVALID_PARAM)

Is PairRequest even the right function for this or do devices that don't
require passkeys require different methodology to pair/connect to them?

Can anyone tell me what I'm doing wrong?

Please help me ~~~~~



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove bluetooth Pairing Wireless Networking 1 02-05-2008 04:29 PM
IR Wireless pairing Ramesh Wireless Networking 0 09-15-2006 03:41 PM
what do most languages call a name-value pairing? Bush is a Fascist Java 17 08-22-2005 12:47 AM
what do most languages call a name-value pairing? Bush is a Fascist C Programming 15 08-19-2005 02:29 PM
Random Pairing John Hunter Python 2 07-06-2004 06:50 PM