Webtronico BTM-5 Bluetooth Скачать руководство пользователя страница 6

                                                                     

BTM-5 Bluetooth Module Datasheet Rev1.1

 

                                 

5

Examples: 

Command : AT+ROLE?\r\n 

Response :   

+ROLE:0 

OK 

 

3.9

 

Get Device Type 

Command Response 

 

Parameter 

AT+CLASS? 

+ CLASS:< Param > 

OK 

Param: device type 

Device type is a 32-bit parameter. It is used to 

indicate the device class and the service it supports 

Default: 0 

The actual meaning is explained in appendix 1. 

Examples: 

Command : AT+CLASS?\r\n 

Response : 

+CLASS:0 

OK 

 

3.10

 

Set / Get Password 

Command Response 

 Parameter 

AT+PSWD=<Param> OK 

AT+ PSWD? 

+ PSWD:< Param > 

OK 

Param : link password 

Default : 1234 

 

3.11

 

Set / Get Baudrate   

Command Response 

 Parameter 

AT+UART= 

<Param1>,<Param2>,<Param3> 

OK 

AT+ UART? 

+UART: 

<Param1>,<Param2>,<Param3>

OK 

Param 1:baudrate (bps)   

4800 

9600 

19200 

38400 

57600 

115200 

230400 

460800 

921600 

1382400 

Param2: Stop bit 

0: 1bit 

1: 2bit 

Param3: Parity 

0: None 

1: Odd 

Содержание BTM-5 Bluetooth

Страница 1: ...BTM 5 Bluetooth Wireless TTL Master Slave Transceiver Module AT Command User Guide Rev 1 1 Oct 2010 http www webtronico com...

Страница 2: ...4 Get Firmware Version Command 3 3 5 Get Address 4 3 6 Get the Device Name 4 3 7 Set the Device Name 4 3 8 Set Get Role 4 3 9 Get Device Type 5 3 10 Set Get Password 5 3 11 Set Get Baudrate 5 3 12 Set...

Страница 3: ...ransmission is almost transparent to user it acts as tow UART connect with each other wirelessly The AT command mode is the advanced operation mode User can use supported AT command to change the defa...

Страница 4: ...in to change between tow modes in real time 3 AT Command Set Note All AT commands not case sensitive should be ended up with r n characters 3 1 TEST Command Command Response Parameter AT OK NULL Examp...

Страница 5: ...et the Device Name Command Response Parameter AT NAME OK NULL Examples Command AT NAME r n Response NAME HC05S OK 3 7 Set the Device Name Command Response Parameter AT RNAME Param OK Param bluetooth d...

Страница 6: ...ault 0 The actual meaning is explained in appendix 1 Examples Command AT CLASS r n Response CLASS 0 OK 3 10 Set Get Password Command Response Parameter AT PSWD Param OK AT PSWD PSWD Param OK Param lin...

Страница 7: ...PIO Output Command Response Parameter AT PIO Param1 Param2 OK Param1 PIO port number decimal Param2L PIO port output 0 Low voltage 1 High voltage Examples Set the PIO10 outputs high Command AT PIO 10...

Страница 8: ...high Command AT MPIO 404 r n Response OK 3 16 Get Multiple PIO Input Command Response Parameter AT MPIO MPIO Param OK Param PIO port value 16bits Param 0 PIO0 Param 1 PIO1 Paramp2 PIO2 Param 10 PIO10...

Страница 9: ...rt mask length is 0 9 Invalid PIO port A Device class is 0 byte B Device class is too long C Inquire Access Code length is 0 D Inquire Access Code is too long E Invalid Inquire Access Code F Pairing p...

Отзывы: