Subversion Repositories public

Rev

Rev 136 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 136 Rev 142
Line 290... Line 290...
290
    /* Failed to read the Pid_Records packet off the link. */
290
    /* Failed to read the Pid_Records packet off the link. */
291
    sprintf(hv0, "garmin_read_records: failed to read Pid_Records packet!");
291
    sprintf(hv0, "garmin_read_records: failed to read Pid_Records packet!");
292
    garmin_queue_error(hv0, err_error);
292
    garmin_queue_error(hv0, err_error);
293
  }
293
  }
294
 
294
 
-
 
295
  garmin_callback("read_records");
295
  return d;
296
  return d;
296
}
297
}
297
 
298
 
298
 
299
 
299
/* Read a Pid_Records, (pid1, (pid2)+)+, Pid_Xfer_Cmplt sequence. */
300
/* Read a Pid_Records, (pid1, (pid2)+)+, Pid_Xfer_Cmplt sequence. */
Line 397... Line 398...
397
    /* Failed to read the Pid_Records packet off the link. */
398
    /* Failed to read the Pid_Records packet off the link. */
398
    sprintf(hv0, "garmin_read_records2: failed to read Pid_Records packet!");
399
    sprintf(hv0, "garmin_read_records2: failed to read Pid_Records packet!");
399
    garmin_queue_error(hv0, err_error);
400
    garmin_queue_error(hv0, err_error);
400
  }
401
  }
401
 
402
 
-
 
403
  garmin_callback("read_records2");
402
  return d;
404
  return d;
403
}
405
}
404
 
406
 
405
 
407
 
406
/* Read a Pid_Records, (pid1, (pid2, pid3)+)+, Pid_Xfer_Cmplt sequence. */
408
/* Read a Pid_Records, (pid1, (pid2, pid3)+)+, Pid_Xfer_Cmplt sequence. */
Line 515... Line 517...
515
    /* Failed to read the Pid_Records packet off the link. */
517
    /* Failed to read the Pid_Records packet off the link. */
516
    sprintf(hv0, "garmin_read_records3: failed to read Pid_Records packet!");
518
    sprintf(hv0, "garmin_read_records3: failed to read Pid_Records packet!");
517
    garmin_queue_error(hv0, err_error);
519
    garmin_queue_error(hv0, err_error);
518
  }
520
  }
519
 
521
 
-
 
522
  garmin_callback("read_records3");
520
  return d;
523
  return d;
521
}
524
}
522
 
525
 
523
 
526
 
524
/* ------------------------------------------------------------------------- */
527
/* ------------------------------------------------------------------------- */
Line 560... Line 563...
560
      }
563
      }
561
      r->product_description = get_string(&p,&pos);      
564
      r->product_description = get_string(&p,&pos);      
562
      r->additional_data = merge_strings(r->additional_data,
565
      r->additional_data = merge_strings(r->additional_data,
563
					 get_strings(&p,&pos));
566
					 get_strings(&p,&pos));
564
      break;
567
      break;
565
      
568
 
566
    case L000_Pid_Ext_Product_Data:
569
    case L000_Pid_Ext_Product_Data:
567
      e = &garmin->extended;
570
      e = &garmin->extended;
568
      /* These strings should be ignored, but we save them anyway. */
571
      /* These strings should be ignored, but we save them anyway. */
569
      pos = 0;
572
      pos = 0;
570
      e->ext_data = merge_strings(e->ext_data,get_strings(&p,&pos));
573
      e->ext_data = merge_strings(e->ext_data,get_strings(&p,&pos));
Line 1139... Line 1142...
1139
  default:
1142
  default:
1140
    /* invalid top-level read protocol */
1143
    /* invalid top-level read protocol */
1141
    break;
1144
    break;
1142
  }
1145
  }
1143
 
1146
 
1144
  garmin_callback();
1147
  garmin_callback("read_via");
1145
  return data;
1148
  return data;
1146
}
1149
}
1147
 
1150
 
1148
 
1151
 
1149
/* ------------------------------------------------------------------------- */
1152
/* ------------------------------------------------------------------------- */