Elec Freaks Bluetooth Modem Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Sítě Elec Freaks Bluetooth Modem. HC-03/05 Embedded Bluetooth Serial Communication Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 29
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
HC-03/05 Embedded Bluetooth Serial Communication Module
AT command set
Last revised: April, 2011
HC-05 embedded Bluetooth serial communication module (can be short for
module) has two work modes: order-response work mode and automatic connection
work mode. And there are three work roles (Master, Slave and Loopback) at the
automatic connection work mode. When the module is at the automatic connection
work mode, it will follow the default way set lastly to transmit the data automatically.
When the module is at the order-response work mode, user can send the AT command to
the module to set the control parameters and sent control order. The work mode of
module can be switched by controlling the module PIN (PIO11) input level.
Serial module PINs:
1. PIO8 connects with LED. When the module is power on, LED will flicker. And the
flicker style will indicate which work mode is in using since different mode has
different flicker time interval.
2. PIO9 connects with LED. It indicates whether the connection is built or not. When
the Bluetooth serial is paired, the LED will be turned on. It means the connection is
built successfully.
3. PIO11 is the work mode switch. When this PIN port is input high level, the work
mode will become order-response work mode. While this PIN port is input low level or
suspended in air, the work mode will become automatic connection work mode.
4. The module can be reset if it is re-powered since there is a reset circuit at the module.
===========================Notification ==========================
1. How to get to the AT mode.
Way 1:
Step 1: Input low level to PIN34. Step 2: Supply power to the module. Step 3: Input
high level to the PIN34. Then the module will enter to AT mode. The baud rate is as
Zobrazit stránku 0
1 2 3 4 5 6 ... 28 29

Shrnutí obsahu

Strany 1 - AT command set

HC-03/05 Embedded Bluetooth Serial Communication Module AT command set Last revised: April, 2011

Strany 2

Command Response Parameter AT+BIND=<Param> OK AT+ BIND? + BIND:<Param> OK Param----Bluetooth address needed to be bind Default address: 0

Strany 3

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

Strany 4

18. Set PIO multiple port output Command Response Parameter AT+MPIO=<Param> OK Param: Mask combination of PIO ports number (Decimal) HC-05 Blue

Strany 5

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

Strany 6

21. Set/ Inquire—SHIFF energy parameter Command Response Parameter AT+SNIFF=<Param1>,<Param2>, <Param3>,<Param4> OK AT+IPSCAN

Strany 7

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

Strany 8

AT+ADCN? +ADCN:<Param> OK Param: Authenticated Device Count Example: at+adcn? +ADCN:0 ----There is no authenticated device in the pai

Strany 9

status “NUKNOW”----unknown status Example: at+state? +STATE:INITIALIZED ----initialized status OK 29. Initialize the SPP profile lib Command R

Strany 10

+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

Strany 11

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

Strany 12

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

Strany 13

33. Connect device Command Response Parameter AT+LINK=<Param> 1. OK----success 2. FAIL----failure Param: Bluetooth address of remote device Exa

Strany 14

AT+ENSNIFF=<Param> OK Param: Bluetooth address of device 36. Exit energy mode Command Response Parameter AT+EXSNIFF=<Param> OK Param

Strany 15

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

Strany 16

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

Strany 17

22 Telephony (Cordless telephony, Modem, Headset service,…) 23 Information (WEB-server, WAP- server,…) TABLE 1.2:MAJOR SERVICE CLASSES [Ref #1 As de

Strany 18

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

Strany 19

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

Strany 20

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

Strany 21

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

Strany 22

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

Strany 23

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

Strany 24

①.Device type: 0 ②.Inquire code: 0x009e8b33 ③.Module work mode: Slave Mode ④.Connection mode: Connect to the Bluetooth device specified ⑤.Serial param

Strany 25

OK at+name=Beijin\r\n ---set the module device name: “Beijin” OK at+name= “Beijin”\r\n ---set module device

Strany 26

Role introduction: Slave (slave role)----Passive connection; Slave-Loop----Passive connection, receive the remote Bluetooth master device data and

Strany 27

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

Strany 28

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:

Strany 29

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

Komentáře k této Příručce

Žádné komentáře