You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On linux the \n\r will not execute the command on my modem. It is expecting to
receive a carriage return that is not given in this way. Haven't tested it on
Windows yet. Instead I replaced the \n\r with a chr(13) and that made it work.
\n\r result:
hans@debian:~/phpserial/trunk# php sms-example.php
string(2) "AT"
string(25) "AT+CMGF=1
NO CARRIER
chr(13) result:
hans@debian:~/phpserial/trunk# php sms-example.php
string(9) "AT
OK
"
string(16) "AT+CMGF=1
OK
Original issue reported on code.google.com by [email protected] on 26 Jan 2014 at 11:19
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 26 Jan 2014 at 11:19The text was updated successfully, but these errors were encountered: