@Override public List<TapGroup> getTapGroups() { if (mAvailableTaps == null) { mAvailableTaps = new ArrayList<>(); mAvailableTaps.addAll(mPassportFSKDecoder.getTapGroups()); } return mAvailableTaps; }
/** * Passport Decoder. Decodes unfiltered (e.g. demodulated but with no DC or audio filtering) * samples and produces Passport messages. */ public PassportDecoder(DecodeConfiguration config, AliasList aliasList) { mPassportFSKDecoder = new LTRFSKDecoder(); mPassportMessageFramer = new MessageFramer(SyncPattern.PASSPORT.getPattern(), PASSPORT_MESSAGE_LENGTH); mPassportFSKDecoder.addListener(mPassportMessageFramer); mPassportMessageProcessor = new PassportMessageProcessor(aliasList); mPassportMessageFramer.addMessageListener(mPassportMessageProcessor); mPassportMessageProcessor.setMessageListener(this); }
@Override public void unregisterTap(Tap tap) { mPassportFSKDecoder.unregisterTap(tap); }