How to set Inquire Access Code (IAC) via AT commands on HC-05? I am trying to set IAC of HC05 via AT Commands, but for some reason, the result is not as desired. 

I need to set the IAC as '1234', for which I enter the command:

AT+IAC=1234


The module responds OK, but when I ask AT+IAC?, it replies '01234'.

Now, it has been troubling me for the past few days. I've also tried adding '\r\n' to the end of command, but it sets the IAC as '1234444'

I would be thankful if you could help me with this! I tried searching the net but to no avail.
You have to have \r\n in both the set and read command.

Example: 

AT+IAC=12345f\r\n
OK

AT+IAC?\r\n
+IAC: 12345f
OK