code: @Override
      protected boolean attach(ISOBUSSocket sock) {
          Set<PGN> pgns;
          ISOBlueCommand cmd;
          StringBuilder s = new StringBuilder();
  
          if (!super.attach(sock)) {
              return false;
          }
          pgns = sock.getPgns();
  
          s.append(String.format("%05x", pgns.size()));
          for (PGN pgn : pgns) {
              s.append(String.format("%05x", pgn.asInt()));
          }
  
          cmd = new ISOBlueCommand(ISOBlueCommand.OpCode.FILT, getType(),
                  (byte) 0, s.toString().getBytes());
  
          try {
              ((ISOBlueDevice) super.getNetwork()).sendCommand(cmd);
          } catch (InterruptedException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
              return false;
          }
  
          return true;
      }
docs: /*
  (non-Javadoc)
  
  @see org.isoblue.isobus.Bus#attach(org.isoblue.isobus.ISOBUSSocket)