protected void clearDataLists(int obdService){
switch (obdService) {
case OBD_SVC_DATA:
case OBD_SVC_FREEZEFRAME:
    pidSupported.clear();
  PidPvs.clear();
break;
case OBD_SVC_READ_CODES:
case OBD_SVC_PENDINGCODES:
case OBD_SVC_PERMACODES:
tCodes.clear();
break;
case OBD_SVC_VEH_INFO:
pidSupported.clear();
VidPvs.clear();
break;
}
}

protected void clearDataLists ( int obdService ) { switch ( obdService ) { case OBD_SVC_DATA : case OBD_SVC_FREEZEFRAME : pidSupported . clear ( ) ; PidPvs . clear ( ) ; break ; case OBD_SVC_READ_CODES : case OBD_SVC_PENDINGCODES : case OBD_SVC_PERMACODES : tCodes . clear ( ) ; break ; case OBD_SVC_VEH_INFO : pidSupported . clear ( ) ; VidPvs . clear ( ) ; break ; } }
clear data lists for selected service
