title: How to receive SMS using AT Commands
body: <p>I want to receive an SMS but I don't know how to get the text message please check my code.</p>
  
  <pre><code>Dim receivedData, smsMode as String
  smsMode = vbCrLf
  
  port.Write("AT+CNMI=2,1,0,0,1")
  Thread.Sleep(1000)
  port.Write("AT+CMGR" &amp; smsMode)
  Thread.Sleep(1000)
  port.Write("AT+CMGL=" &amp; "ALL" &amp; smsMode)
  Thread.Sleep(1000)
  </code></pre>
  
  <p>I want to display the new message in my DataGridView. I have no idea what to call like </p>
  
  <p><code>receivedData = port.read, readexisting</code>, etc.</p>