title: Read NMEA data from gps device
body: <p>I am working with gps system. I want to read data from GPS device. I am using NMEA protocol. I am getting Data from Device but it is some what like ecoded ASCII string which i don't get. So Is there any way to get desire data. My Code is as under..</p>
  
  <pre><code>// My Code //
  ServerSocket ss = new ServerSocket(1500);
  Socket s1 = ss.accept();
  While(s1 != null)
  {
       InputStream is = s1.getInputStream();
       BufferedReader br = new InputStreamReader(is);
  
       String result = br.readLine();
       System.out.println(result)l
  
  }
  </code></pre>
  
  <p>but i am getting encoded out put or something. So reply me correct way to read NMEA data.</p>