serial port - GSM modem doesn't respond on at+cmgl command -


i'm writing linux program interact gsm modem through at-commands. modem respond on at+cmgl="all" command , return sms messages, modem doesn't respond on command(no answer, no ok, no error).

i use python , pyserial, doesn't matter, because tested modem via bash terminal, send commands modem via echo , read answers modem via cat /dev/ttyusb0. same situation (sometimes responds, not).

private void button3_click(object sender, eventargs e) {     po.write("at+chup"+environment.newline);     po.close();     button3.enabled = false;     button1.enabled = true; } 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -