USGlobalSat GPS Forums

Please login or register.

Login with username, password and session length
Advanced search  


Pages: [1]   Go Down

Author Topic: Detecting the usb GPS device and giving some output in nonreadable format.  (Read 2884 times)


  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4

Tried to run the AppleUSBCDCDriver sample code.It is detecting the usb device and giving some output in nonreadable format.How can the data be converted to a readable format. This is a part of the code.

 (void)serialPortReadData:(NSDictionary *)dataDictionary
    // this method is called if data arrives
    // @"data" is the actual data, @"serialPort" is the sending port
    AMSerialPort *sendPort = [dataDictionary objectForKey:@"serialPort"];
    NSData *data = [dataDictionary objectForKey:@"data"];
    if ([data length] > 0) {
        NSString *text = [[NSString alloc] initWithData:data encoding:NSASCIIStringEncoding];
        [outputTextView insertText:text];
        [text release];
        // continue listening
        [sendPort readDataInBackground];
    } else { // port closed
        [outputTextView insertText:@"port closed\r"];
    [outputTextView setNeedsDisplay:YES];
    [outputTextView displayIfNeeded];


  • Administrator
  • Hero Member
  • *****
  • Karma: 5
  • Offline Offline
  • Posts: 1755

Hello sunil,

Sorry for the delay. After checking with our engineers, they stated the following instructions can possibly assist you. Please refer below:
1.  First, make sure the driver is properly installed.
2.  Download the serial tools to make sure the driver is working properly and the MR-350 functions normally:
3.  Then, use the xcode to read the GPS. You can refer to this site:

Other than this suggestion, we cannot provide further support. Thank you for understanding. 
Pages: [1]   Go Up

Page created in 0.173 seconds with 19 queries.