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 ...

Get Mastering Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.