user37854: 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.

user1576: 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


37854: <p>I am trying to set IAC of HC05 via AT Commands, but for some reason, the result is not as desired. </p>

<p>I need to set the IAC as '1234', for which I enter the command:</p>

<pre><code>AT+IAC=1234
</code></pre>

<p>The module responds OK, but when I ask <code>AT+IAC?</code>, it replies '01234'.</p>

<p>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'</p>

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

<p>Example: </p>

<pre><code>AT+IAC=12345f\r\n
OK

AT+IAC?\r\n
+IAC: 12345f
OK
</code></pre>
