Webtronico BTM-5 Bluetooth User Manual Download Page 9

                                                                     

BTM-5 Bluetooth Module Datasheet Rev1.1

 

                                 

8

4

 

Appendix A: AT command error code refernce 

 

 

Error code (hex)   

Description  

AT command error   

The result is default value   

2 PSKEY 

write 

error 

 

Device name is too long (more than 32 bytes)   

Device name is 0 byte   

Bluetooth address: NAP is too long 

 

Bluetooth address: UAP is too long 

 

Bluetooth address: LAP is too long 

 

PIO port mask length is 0 

 

Invalid PIO port 

 

Device class is 0 byte 

 

Device class is too long 

 

Inquire Access Code length is 0 

 

Inquire Access Code is too long 

 

Invalid Inquire Access Code 

 

Pairing password is 0 

 

10 

Pairing password is too long (more than 16 bytes)   

11 

Role of module is invalid   

12 

Baud rate is invalid   

13 

Stop bit is invalid   

14 

Parity bit is invalid   

15 

No device in the pairing list   

16 

SPP is not initialized   

17 

SPP is repeatedly initialized   

18 Invalid 

inquiry 

mode 

 

19 Inquiry 

timeout 

 

1A Address 

is 

 

1B Invalid 

security 

mode 

 

1C 

Invalid encryption mode   

Summary of Contents for BTM-5 Bluetooth

Page 1: ...BTM 5 Bluetooth Wireless TTL Master Slave Transceiver Module AT Command User Guide Rev 1 1 Oct 2010 http www webtronico com...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: