public AutoSessionOBD(HybridSession hsession, EventCallback newParentOOBMessageHandler) { hs = hsession; mParentOOBMessageHandler = newParentOOBMessageHandler; // set session type to OBD. That's all we'll be doing here. hs.setActiveSession(HybridSession.SESSION_TYPE_OBD2); rs = new RoutineScan(hs.getOBDSession(), hs.getPIDDecoder()); rs.addDPN("RPM"); rs.addDPN("SPEED"); msg("AutoSessionOBD initialized."); }
public void shutdown() { rs.removeAllDPNs(); }