HC-03/05 Embedded Bluetooth Serial Communication Module AT command set Last revised: April, 2011
Command Response Parameter AT+BIND=<Param> OK AT+ BIND? + BIND:<Param> OK Param----Bluetooth address needed to be bind Default address: 0
indicate successful connection Default: 1, 1 HC-05 Bluetooth module definition: The output of PI08 drives indication of LED work mode; the output of P
18. Set PIO multiple port output Command Response Parameter AT+MPIO=<Param> OK Param: Mask combination of PIO ports number (Decimal) HC-05 Blue
OK 19. Inquire PIO port input Command Response Parameter AT+MPIO? +MPIO: <Param> OK Param----PIO port value (16bits) Param[0]=PI00 Param[1]=PI
21. Set/ Inquire—SHIFF energy parameter Command Response Parameter AT+SNIFF=<Param1>,<Param2>, <Param3>,<Param4> OK AT+IPSCAN
at+rmsad=1234,56,abcdef\r\n OK ---- successful deletion Or at+rmsad=1234,56,abcdef\r\n FAIL ----There is no the Bluetooth device who
AT+ADCN? +ADCN:<Param> OK Param: Authenticated Device Count Example: at+adcn? +ADCN:0 ----There is no authenticated device in the pai
status “NUKNOW”----unknown status Example: at+state? +STATE:INITIALIZED ----initialized status OK 29. Initialize the SPP profile lib Command R
+INQ:1234:56:0,1F1F,FFC1 +INQ:1234:56:0,1F1F,FFC0 +INQ:1234:56:0,1F1F,FFC1 +INQ:2:72:D2224,3F0104,FFAD +INQ:1234:56:0,1F1F,FFBE +INQ:1234:56:0,1F1F,FF
Example 3: at+iac=9e8b3f\r\n ---- inquire the Bluetooth device whose access code is 0x9e8b3f OK at+class=1f1f\r\n ----inquire the Bluetooth d
same as the communication time, such as 9600 etc. Way 2: Step 1: Connect PIN34 to the power supply PIN. Step 2: Supply power to module (the PIN34 is
33. Connect device Command Response Parameter AT+LINK=<Param> 1. OK----success 2. FAIL----failure Param: Bluetooth address of remote device Exa
AT+ENSNIFF=<Param> OK Param: Bluetooth address of device 36. Exit energy mode Command Response Parameter AT+EXSNIFF=<Param> OK Param
Appendix 1:Introduction of AT command error code The form of error ---- ERROR:(error_code) error_code(Hexadecimal) Note 0 AT command error 1 Default
Appendix 2: The introduction of devices The Class of Device/Service(CoD) is a 32 bits number that of 3 field specifies the service supported by the de
22 Telephony (Cordless telephony, Modem, Headset service,…) 23 Information (WEB-server, WAP- server,…) TABLE 1.2:MAJOR SERVICE CLASSES [Ref #1 As de
primary decvice class should be reported, e. g . a cellular phone that can work as a cordless handset should 4. MINOR DEVICE CLASS FIELD–COMPUTER M
CLASS Minor Device Class 7 6 5 bit no of CoD 0 0 0 Fully available 0 0 1 1 – 17% utilized 0 1 0 1 7 - 33% utilized 0 1 1 3 3 – 50% utilized 1 0 0 5
0 0 0 0 0 1 Device conforms to the Headset profile 000010 Hands-free 0 0 0 0 1 1 (Reserved ) 0 0 0 1 0 0 Microphone 0 0 0 1 0 1 Loudspeaker 0 0
FIELD Bits 6 and 7 independently specify mouse, keyboard or combo mouse/keyboard devices. These may be combined with the lower bits in a multifunction
Appendix 3: (The Inquiry Access Codes) The General-and Device-Specific Inquiry Access Codes (DIACs) The Inquiry Access Code is the first level of filt
simply way is: First, set AT+CMODE=1. Make the master module pair with the slave module. Second, set AT+CMODE=0. Then the master module just can make
①.Device type: 0 ②.Inquire code: 0x009e8b33 ③.Module work mode: Slave Mode ④.Connection mode: Connect to the Bluetooth device specified ⑤.Serial param
OK at+name=Beijin\r\n ---set the module device name: “Beijin” OK at+name= “Beijin”\r\n ---set module device
Role introduction: Slave (slave role)----Passive connection; Slave-Loop----Passive connection, receive the remote Bluetooth master device data and
Access code is set to be GIAC type (General Inquire Access Code:0x9e8b33), and used for seeking ( or being sought by ) all the Bluetooth devices aroun
AT+INQM\r\n +INQM:1, 9, 48 OK 12. Set/Inquire- passkey Command Response Parameter AT+PSWD=<Param> OK AT+ PSWD? + PSWD : <Param> OK Param:
0----None 1----Odd parity 2----Even parity Default: 9600, 0, 0 Example: Set baud rate to be 115200, stop bit to be 2 bits, parity bit to be even parit
Commenti su questo manuale