Having trouble getting two bricks to talk via bluetooth...
Having trouble getting two bricks to talk via bluetooth...
Hello! I've only recently started working with NXT robots and I'm having a bit of trouble.
I want my two bricks to talk to each other - just to send information. I wrote a simple test program in which one sends the other a message and the second one signals that it has received it. But I can't even get to the point of testing it because they fail to connect at all.
All the instructions I've seen say something like: make sure both have bluetooth on and are set to visible, go into 'search' and, when it is done, select 'NXT' and then '1'. It will say connecting, then ask for a pass code on both machines.
But the last thing doesn't happen, it just says 'failed.' Could somebody please tell me what I'm doing wrong?
I want my two bricks to talk to each other - just to send information. I wrote a simple test program in which one sends the other a message and the second one signals that it has received it. But I can't even get to the point of testing it because they fail to connect at all.
All the instructions I've seen say something like: make sure both have bluetooth on and are set to visible, go into 'search' and, when it is done, select 'NXT' and then '1'. It will say connecting, then ask for a pass code on both machines.
But the last thing doesn't happen, it just says 'failed.' Could somebody please tell me what I'm doing wrong?
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: Having trouble getting two bricks to talk via bluetooth...
Well, I think you only have to "search" from the one you want to be the master.
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Re: Having trouble getting two bricks to talk via bluetooth...
I did only search on the master. It said 'failed.'
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: Having trouble getting two bricks to talk via bluetooth...
And you turned on BT on them both? Do you have them within several feet of each other? Make sure you aren't connected to the computer with BT on either of them.
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Re: Having trouble getting two bricks to talk via bluetooth...
I made sure BT was turned on on both, they're as close as two gameboys trying to mystery gift, and I don't even have BT set up on my computer.
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: Having trouble getting two bricks to talk via bluetooth...
You could update the firmware to the latest version to be sure it isn't hindering things.
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Re: Having trouble getting two bricks to talk via bluetooth...
I updated the firmware, and it works! Yay!
Oddly, though, it doesn't do it the way I was given to believe it would (confirmation dialog on both machines). Doesn't matter, though, it acknowledges the signal!
Thank you!
Oddly, though, it doesn't do it the way I was given to believe it would (confirmation dialog on both machines). Doesn't matter, though, it acknowledges the signal!
Thank you!
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: Having trouble getting two bricks to talk via bluetooth...
Great
Yeah, I don't think they both normally ask for confirmation. Anyhow, it should be even easier now to connect, since they have paired once.
What do you plan on doing with the NXTs now? Please post about your project(s) here on mindboards!
Yeah, I don't think they both normally ask for confirmation. Anyhow, it should be even easier now to connect, since they have paired once.
What do you plan on doing with the NXTs now? Please post about your project(s) here on mindboards!
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Re: Having trouble getting two bricks to talk via bluetooth...
I will do, this seems like an excellent place for discussion!
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: Having trouble getting two bricks to talk via bluetooth...
Indeed it is.
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Who is online
Users browsing this forum: No registered users and 1 guest