title: Reading GPS data from Teltonika FM4200
body: <p>I have configured the GPS device and created a listener application in C#. I receive only the IMEI Number from the device and not any GPS NMEA data. 
  But for checking when i check the same in GPS Gate Server it displays the movement in map.
  any suggestions!!!</p>
  
  <p>Below is how the handling of data is performed</p>
  
  <pre><code>TcpClient client = (TcpClient)tcpClient;
  Byte[] bytes = new Byte[10000];
  String data = null;
  int i;
  
  NetworkStream stream = client.GetStream();
  
  while ((i = stream.Read(bytes, 0, bytes.Length)) != 0)
  {
      data = System.Text.Encoding.ASCII.GetString(bytes, 0, i);
  }
  
  Console.WriteLine(data);
  </code></pre>
  
  <p>When it goes in the while loop it just waits and sleep :(</p>