Bluetooth hc 05 code
2016-08-23
0 0 0
4.0
Other
Earn points
AT+ROLE=0 ----Set the module to be salve mode. The default mode is salve.
AT+ROLE=1 ----Set the module to be master mode.
Set memory command:
AT+CMODE=1
Set the module to make pair with the other random Bluetooth module (Not specified address). The
default is this mode.
AT+CMODE=1
Set the module to make pair with the other Bluetooth module (specified address). If set the module
to make pair with random one first, then set the module to make pair with the Bluetooth module has
specified address. Then the module will search the last paired module until the module is found.
Reset the password command
AT+PSWD=XXXX
Set the module pair password. The password must be 4-bits.
Reset the baud rate
AT+UART== <Param>,<Param2>,<Param3>.
More information is provided at HC-0305 command set
Example:
AT+UART=9600,0,0 ----set the baud rate to be 9600N81
Reset the
AT+ROLE=1 ----Set the module to be master mode.
Set memory command:
AT+CMODE=1
Set the module to make pair with the other random Bluetooth module (Not specified address). The
default is this mode.
AT+CMODE=1
Set the module to make pair with the other Bluetooth module (specified address). If set the module
to make pair with random one first, then set the module to make pair with the Bluetooth module has
specified address. Then the module will search the last paired module until the module is found.
Reset the password command
AT+PSWD=XXXX
Set the module pair password. The password must be 4-bits.
Reset the baud rate
AT+UART== <Param>,<Param2>,<Param3>.
More information is provided at HC-0305 command set
Example:
AT+UART=9600,0,0 ----set the baud rate to be 9600N81
Reset the
c
蓝牙
代码
HC
Related Source Codes
PClite
0
0
no vote
generic embeded FTP Client
0
0
no vote
UDP Test Demo
0
0
no vote
TMS320F28335 DSP transmits data to EEPROM through
0
0
no vote
TMS320F28335 CAN communication source code
0
0
no vote
No comment