I'm using HC-05 module with Arduino Uno to integrate Arduino with flutter. I want to extract the Address of HC-05 in order to connect with flutter. In order to get the address of HC-05, I used AT commands.
I followed this tutorial:
AT Command Mode of HC-05 and HC-06 Bluetooth Module : 5 Steps - Instructables
But my HC 05 responds
AT
OK
AT+ORGL
OK
AT+NAME=HC05
OK
But for all other commands, error is thrown.
AT+ADDR
ERROR:[0]
AT+NAME
ERROR:[0]
AT+ROLE
ERROR:[0]
AT+VERSION
ERROR:[0]
Kindly help me to get rid of this ERROR:[0]
Welcome to the forum
Have you tried AT+ADDR?
Note the added ? after the command
i've tried AT+ADDR and I've included that in my question itself. The response is just ERROR:[0]
Have you tried exactly what I suggested, including the trailing question mark ?
1 Like
Yes thanks. It worked with question mark. Could you please tell why it worked with this trailing question mark?
It worked because that is the standard format of commands. See https://s3-sa-east-1.amazonaws.com/robocore-lojavirtual/709/HC-05_ATCommandSet.pdf
Some implementations of the HC-05 firmware, such as the one that I have, will work without it, but they are non standard
1 Like
system
Closed
October 9, 2024, 9:00am
7
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.