Example #1
0
  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.");
  }
Example #2
0
 public void shutdown() {
   rs.removeAllDPNs();
 }