c# - call status in at command -
i able dial gsm modem @ command "atd". failed detect status (i.e. whether dialed number ringing or else). here code-
code dialing-
modemport.writeline("atd" + number + ";\r\n");
code getting status-
private void modemport_datareceived(object sender, serialdatareceivedeventargs e) { string rcvddata = modemport.readline(); }
the variable rcvddata contains following string-
^orig:1,0 ^conf:1
i using huawei e1550 modem.
any help?
Comments
Post a Comment