Set/Query connection mode

Command

Response

Parameters

Description

AT+CMODE?

 

+UART:<Param>

 

0 Connect to Fixed Address

1 Connect to any address

2 Slave-loop

Queries the connection mode of

the HC-05 Bluetooth module.

 

Command

Response

Parameters

Description

AT+CMODE=<Param>

 

OK

 

0 Connect to Fixed Address

1 Connect to any address

2 Slave-loop

Sets the connection mode for

the HC-05 Bluetooth module.

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.