Skip to main content
Question Protected by CommunityBot
Source Link
Lisu
  • 53
  • 1
  • 1
  • 4

HC-05 Bluetooth module not responding to certain commands

I've got a problem with my HC-05 BT module. I'm talking to it from my PC via USB/UART converter. When it's in slave mode I can link it with another device, send data using module's and converter's virtual COM ports. But some AT commands seems to be not working. For example, I can't check the module's name. Inquiring also does not work. Here is a sample "chat" I'm having with HC-05:

AT
OK
AT+VERSION
+VERSION:2.0-20100601
OK
AT+UART
+UART:38400,0,0
OK
AT+UART=115200,0,0
OK
AT+UART
+UART:115200,0,0
OK
AT+NAME //No respond to this command
AT+NAME=HC-05
OK
AT+CLASS //No respond
AT+ROLE
+ROLE:0
OK
AT+ROLE=1
OK
AT+INQM
+INQM:1,1,48
OK
AT+STATE
+STATE:PAIRABLE
OK
AT+INQ //My phone has BT and visibility on, so I can test this It didn's find any devices, no "OK" message is shown neither
AT+INQC //About 5 minutes later, I want to cancel inquiring, no respond to this command too
AT+STATE
+STATE:INQUIRING
OK

When I turn the power off and on, it's still inquiring, the only way to stop it is to change it back to slave. Am I doing something in the wrong way? Or my module is simply broken? I'll just mention that it's new, I've unpacked it like 2 days ago. Anyway, thanks in advance