O'Reilly logo

Mastering Arduino by Jon Hoffman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Set/Query bind address

Command

Response

Parameters

Description

AT+BIND?

 

+BIND:<Param>

 

None

 

Queries the address that the module is configured

to bind to.

 

Command

Response

Parameters

Description

AT+BIND=<Param>

 

OK

 

Fixed address

 

Sets the address to bind to.

 

Now that we have seen most of the AT commands let's configure the two Bluetooth modules. We are going to need to configure one of the Bluetooth modules as the master and the other one as a slave. For the purposes of the next two projects, I configured the Bluetooth module that is connected to the same Arduino as the joystick as the slave. This, however, is not necessary and either module can be the master or slave.

Let's start ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required