Hi<br>Is there a way to let gsmd accept numeric replies when sending AT commands. For the HTC Universal we receive &quot;0&quot; after sending AT+CFUN=1, and the reply is as it should because the modem is able to send and receive calls after the AT command is sendt.&nbsp;
<br> <br><br>Here is the output when i start gsmd on HTC Universal (the source is edited to fit the qualcomm modem) :<br><br>=======================================================================================<br><br>root@htcuniversal
 :/etc/init.d$ gsmd -p /dev/ttyS0 -s 115200<br>Tue Apr 1 22:39:45 1997 &lt;1&gt; atcmd.c:459:atcmd_drain() c_iflag = 0x00000000, c_oflag = 0x00000000, c_cflag = 0x00001cb2, c_lflag = 0x00000a30<br>Tue Apr 1 22:39:45 1997 &lt;1&gt; 
atcmd.c:180:ml_parse() buf=`AT-Command Interpreter ready&#39;(28)<br>Tue Apr 1 22:39:45 1997 &lt;1&gt; atcmd.c:444:atcmd_submit() submitting command `ATE0V1&#39;<br>Tue Apr 1 22:39:45 1997 &lt;1&gt; atcmd.c:444:atcmd_submit() submitting command `AT+CRC=1&#39; 
<br>Tue Apr 1 22:39:45 1997 &lt;1&gt; atcmd.c:444:atcmd_submit() submitting command `AT+CREG=2&#39;<br>Tue Apr 1 22:39:45 1997 &lt;1&gt; atcmd.c:444:atcmd_submit() submitting command `AT+CMEE=1&#39;<br>Tue Apr 1 22:39:45 1997 &lt;1&gt; 
atcmd.c:444:atcmd_submit() submitting command `AT+CLIP=1&#39;<br>Tue Apr 1 22:39:45 1997 &lt;1&gt; atcmd.c:444:atcmd_submit() submitting command `AT+COLP=1&#39;<br>Tue Apr 1 22:39:45 1997 &lt;1&gt; atcmd.c:444:atcmd_submit() submitting command `AT+CFUN=1&#39; 
<br>Tue Apr 1 22:39:45 1997 &lt;1&gt; atcmd.c:444:atcmd_submit() submitting command `AT@HTCCSQ=1&#39;<br>Tue Apr 1 22:39:45 1997 &lt;1&gt; atcmd.c:180:ml_parse() buf=`OK&#39;(2)<br>Tue Apr 1 22:39:45 1997 &lt;1&gt; atcmd.c
 :330:ml_parse() Calling cmd-&gt;cb()<br>`ATE0V1&#39; returned `OK&#39;<br>Tue Apr 1 22:39:46 1997 &lt;1&gt; atcmd.c:180:ml_parse() buf=`OK&#39;(2)<br>Tue Apr 1 22:39:46 1997 &lt;1&gt; atcmd.c:330:ml_parse() Calling cmd-&gt;cb() 
<br>`AT+CRC=1&#39; returned `OK&#39;<br>Tue Apr 1 22:39:46 1997 &lt;1&gt; atcmd.c:180:ml_parse() buf=`OK&#39;(2)<br>Tue Apr 1 22:39:46 1997 &lt;1&gt; atcmd.c:330:ml_parse() Calling cmd-&gt;cb()<br>`AT+CREG=2&#39; returned `OK&#39; 
<br>Tue Apr 1 22:39:46 1997 &lt;1&gt; atcmd.c:180:ml_parse() buf=`OK&#39;(2)<br>Tue Apr 1 22:39:46 1997 &lt;1&gt; atcmd.c:330:ml_parse() Calling cmd-&gt;cb()<br>`AT+CMEE=1&#39; returned `OK&#39;<br>Tue Apr 1 22:39:46 1997 &lt;1&gt; 
atcmd.c:180:ml_parse() buf=`OK&#39;(2)<br>Tue Apr 1 22:39:46 1997 &lt;1&gt; atcmd.c:330:ml_parse() Calling cmd-&gt;cb()<br>`AT+CLIP=1&#39; returned `OK&#39;<br>Tue Apr 1 22:39:46 1997 &lt;1&gt; atcmd.c:180:ml_parse() buf=`OK&#39;(2) 
<br>Tue Apr 1 22:39:46 1997 &lt;1&gt; atcmd.c:330:ml_parse() Calling cmd-&gt;cb()<br>`AT+COLP=1&#39; returned `OK&#39;<br>Tue Apr 1 22:39:49 1997 &lt;1&gt; atcmd.c:180:ml_parse() buf=`0&#39;(1)<br>Tue Apr 1 22:39:49 1997 &lt;1&gt; 
atcmd.c:330:ml_parse() Calling cmd-&gt;cb()<br>`AT+CFUN=1&#39; returned `0&#39;<br>Tue Apr 1 22:39:54 1997 &lt;1&gt; atcmd.c:180:ml_parse() buf=`0&#39;(1)<br>Tue Apr 1 22:39:54 1997 &lt;1&gt; atcmd.c:330:ml_parse() Calling cmd-&gt;cb() 
<br>`AT+CFUN=1&#39; returned `0&#39;<br>Tue Apr 1 22:39:54 1997 &lt;1&gt; atcmd.c:180:ml_parse() buf=`0&#39;(1)<br>Tue Apr 1 22:39:54 1997 &lt;1&gt; atcmd.c:330:ml_parse() Calling cmd-&gt;cb()<br>`AT+CFUN=1&#39; returned `0&#39; 
<br>Tue Apr 1 22:39:54 1997 &lt;1&gt; atcmd.c:180:ml_parse() buf=`0&#39;(1)<br>Tue Apr 1 22:39:54 1997 &lt;1&gt; atcmd.c:330:ml_parse() Calling cmd-&gt;cb()<br>`AT+CFUN=1&#39; returned `0&#39;<br>Tue Apr 1 22:39:54 1997 &lt;1&gt; 
atcmd.c:180:ml_parse() buf=`0&#39;(1)<br>Tue Apr 1 22:39:54 1997 &lt;1&gt; atcmd.c:330:ml_parse() Calling cmd-&gt;cb()<br>`AT+CFUN=1&#39; returned `0&#39;<br>Tue Apr 1 22:39:54 1997 &lt;1&gt; atcmd.c:180:ml_parse() buf=`0&#39;(1) 
<br>Tue Apr 1 22:39:54 1997 &lt;1&gt; atcmd.c:330:ml_parse() Calling cmd-&gt;cb()<br>`AT+CFUN=1&#39; returned `0&#39;<br>Tue Apr 1 22:39:54 1997 &lt;1&gt; atcmd.c:180:ml_parse() buf=`0&#39;(1)<br>Tue Apr 1 22:39:54 1997 &lt;1&gt; 
atcmd.c:330:ml_parse() Calling cmd-&gt;cb()<br>`AT+CFUN=1&#39; returned `0&#39;<br>Tue Apr 1 22:39:54 1997 &lt;1&gt; atcmd.c:180:ml_parse() buf=`0&#39;(1)<br>Tue Apr 1 22:39:54 1997 &lt;1&gt; atcmd.c:330:ml_parse() Calling cmd-&gt;cb() 
<br>`AT+CFUN=1&#39; returned `0&#39;<br>Tue Apr 1 22:39:54 1997 &lt;1&gt; atcmd.c:180:ml_parse() buf=`0&#39;(1)<br>Tue Apr 1 22:39:54 1997 &lt;1&gt; atcmd.c:330:ml_parse() Calling cmd-&gt;cb()<br>`AT+CFUN=1&#39; returned `0&#39; 
<br>Tue Apr 1 22:39:54 1997 &lt;1&gt; atcmd.c:180:ml_parse() buf=`0&#39;(1)<br>Tue Apr 1 22:39:54 1997 &lt;1&gt; atcmd.c:330:ml_parse() Calling cmd-&gt;cb()<br>`AT+CFUN=1&#39; returned `0&#39;<br>Tue Apr 1 22:39:58 1997 &lt;1&gt; 
atcmd.c:180:ml_parse() buf=`+CREG: 5, 3521, 0D80&#39;(20)<br>Tue Apr 1 22:39:58 1997 &lt;1&gt; atcmd.c:243:ml_parse() extd reply `+CREG: 5, 3521, 0D80&#39; to cmd `+CFUN=1&#39;, must be unsolicited<br>Tue Apr 1 22:39:58 1997 &lt;1&gt; 
unsolicited.c:69:usock_evt_send() entering evt=5<br>Tue Apr 1 22:40:04 1997 &lt;1&gt; atcmd.c:180:ml_parse() buf=`+CREG: 5, 0000, B711&#39;(20)<br>Tue Apr 1 22:40:04 1997 &lt;1&gt; atcmd.c:243:ml_parse() extd reply `+CREG: 5, 0000, B711&#39; to cmd `+CFUN=1&#39;, must be unsolicited 
<br>Tue Apr 1 22:40:04 1997 &lt;1&gt; unsolicited.c:69:usock_evt_send() entering evt=5<br><br>==========================================================<br><br>After this the modem is ready to both make and receive phone calls using openmoko-dialer. 
<br><br><br>Goxboxlive<br><br>