title: Get delivery status after sending sms via gsm modem using AT commands
body: <p>My php file has the following code:</p>
  
  <pre><code>$serial-&gt;deviceOpen();
  
  $serial-&gt;sendMessage('AT+CMGF=1'); 
  $serial-&gt;sendMessage(chr(13));
  $serial-&gt;sendMessage('AT+CMGS="+3XXXXX"');
  $serial-&gt;sendMessage(chr(13));
  $serial-&gt;sendMessage("THIS IS  TEST");
  $serial-&gt;sendMessage(chr(26));
  
  sleep(6);
  
  $read=$serial-&gt;readPort();
  </code></pre>
  
  <p>My code includes AT commands and it can now send sms to any number via gsm modem. Now I want to obtain the delivery status. I have used the AT commands for delivery status in putty software and got correct results. I want to see the report by my php code. How can this be done?</p>