problem with sending AT command in php
| From: | a dehqan | Date: | Sat, 12 Nov 2011 17:55:45 +0000 |
| Subject: | problem with sending AT command in php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-315658@lists.php.net to get a copy of this message | ||
In The Name Of Allah The compassionate merciful
Hello ;
Am trying to send AT commands to my GSMmodem device , in linux with PHP
Am sure it is /dev/ttyusb1
But with [URL="http://pastebin.com/aut4ygXf"]this
code[/URL] device respond
the same command and code prints that command
e.g if we send ATD00 it responds ATD00 , or with AT it responds AT instead
of Ok, why ?
Regards dehqan