I am using USB GlobalSat(USG-MR350) GPS device. I want to get location data (latitude and longitude) from the device within my mac cocoa application.Tried to ru
I think that Sirf receiver is by default in binary mode, and that you have to put it in NMEA mode explicitly.
I don't see you are checking port settings.
Default settings for NMEA over serial port is speed:4800stopbit:1 parity:none
.
Check it on the device.
Try using the NSData's ability to print itself as bytes via the description method.
[outputTextView insertText:[data description]];