Based on Doctor Yodas genious tutorial at
Instructables.com
(MUST READ BEFORE USING THIS)
ATTENTION !!!
- USE IT AT YOUR OWN RISK
- YOU ARE THE UNIQUE RESPONSIBLE PERSON OF
SCREWING UP YOUR HARDWARE WITH THIS STAFF
Most useful AT commands are:
("UPPER CASE" is mandatory in every command)
For HC06:
AT
: Check the connection
AT+NAME
: Change name. No space between name and command
AT+BAUD
: change baud rate, x is baud rate code, no space between command and code
AT+PIN
: change pin, xxxx is the pin, again, no space
AT+VERSION
: See version
For HC05:
AT : Check the connection
AT+NAME : See default name
AT+ADDR : see default address
AT+VERSION : See version
AT+UART : See baudrate
AT+ROLE: See role of bt module(1=master/0=slave)
AT+RESET : Reset and exit AT mode
AT+ORGL : Restore factory settings
AT+PSWD: see default password