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
Post a Comment