Hello all,
I would like to stablish a Bluetooth connection without typing the pass key. The idea is that the passkey would be automatically set so that I don't have to press any button on the NXT to pair it with a device.
How can I accomplish this? Through the firmware only, I guess...?
Has anyone tryied that?
Bluetooth pairing - filling passkey automatically
-
- Posts: 117
- Joined: 27 Dec 2010, 19:27
Re: Bluetooth pairing - filling passkey automatically
hi,
as far as I observed, you once have to pair the NXT devices manually and confirm once by typing the passkey. You can pair up to 3 different NXT's as slaves to 1 master.
Once established, you now may pair the devices automatically by starting appropriate NXC programs on the master and the slaves. If you wish to know a source code I can show you how.
HTH!
as far as I observed, you once have to pair the NXT devices manually and confirm once by typing the passkey. You can pair up to 3 different NXT's as slaves to 1 master.
Once established, you now may pair the devices automatically by starting appropriate NXC programs on the master and the slaves. If you wish to know a source code I can show you how.
HTH!
-
- Posts: 346
- Joined: 27 Sep 2010, 03:05
- Contact:
Re: Bluetooth pairing - filling passkey automatically
Just to clarify, you may want to distinguish between "pairing" and "connecting".
I'm pretty sure the bluetooth standard requires user input for two devices to pair.
After that process is completed once, the software can connect and disconnect, without user intervention. As Doc suggested, the NXT can only connect with three devices at the same time, however, I'm pretty sure it can pair (and remember) up to 16 devices.
Steve
I'm pretty sure the bluetooth standard requires user input for two devices to pair.
After that process is completed once, the software can connect and disconnect, without user intervention. As Doc suggested, the NXT can only connect with three devices at the same time, however, I'm pretty sure it can pair (and remember) up to 16 devices.
Steve
---> Link to lots of MINDSTORMS stuff under my picture --->
-
- Posts: 117
- Joined: 27 Dec 2010, 19:27
Re: Bluetooth pairing - filling passkey automatically
I really meant pairing. I know that we can connect and disconnect automatically, but I also want to pair automatically.
Basically I want to skip the manual "OK" pressed button on the NXT when choosing the passkey. Somehow I would like the NXT to set a default passkey without asking me to confirm.
What do you think? Is it possible?
Basically I want to skip the manual "OK" pressed button on the NXT when choosing the passkey. Somehow I would like the NXT to set a default passkey without asking me to confirm.
What do you think? Is it possible?
-
- Posts: 323
- Joined: 29 Sep 2010, 05:03
Re: Bluetooth pairing - filling passkey automatically
It is certainly possible, but perhaps not with the standard firmware. With leJOS you can supply the pin key as a parameter when connecting to a device for the first time, thus avoiding having to have any user interaction...
Andy
Andy
Re: Bluetooth pairing - filling passkey automatically
cool :)
a new dimension for NXT-hijacking progs :P
a new dimension for NXT-hijacking progs :P
-
- Posts: 117
- Joined: 27 Dec 2010, 19:27
Re: Bluetooth pairing - filling passkey automatically
Thanks Andy! That's what I thought.
Maybe it's not too hard to modify the standard firmware to handle the passkey in an automatic way.
Ricardo
Maybe it's not too hard to modify the standard firmware to handle the passkey in an automatic way.
Ricardo
Who is online
Users browsing this forum: No registered users and 0 guests