I'm using php_serial_class and php to send SMS with a simple code like this:
$serial->sendMessage("AT+cmgf=1;+cnmi=2,1,0,1,0");
$serial->sendMessage("at+cmgs=\"$send_phone\"");
$serial->sendMessage("$message");
$serial->sendMessage(chr(26));
How if I wish to know the message is sent out or not?
I tried this but not working...if(!$serial->sendMessage())
..
Is there any other ways?Thank you.