feat: add PAC/Stanley tag type support#842
Closed
matteoscrugli wants to merge 1 commit intoGameTec-live:mainfrom
Closed
feat: add PAC/Stanley tag type support#842matteoscrugli wants to merge 1 commit intoGameTec-live:mainfrom
matteoscrugli wants to merge 1 commit intoGameTec-live:mainfrom
Conversation
GameTec-live
previously approved these changes
Apr 24, 2026
Owner
GameTec-live
left a comment
There was a problem hiding this comment.
Nothing jumps out to me. Dont have a PAC card tho, so someone please test.
52c844a to
bfa3318
Compare
Contributor
Author
|
Consolidated into #844 as you suggested, that PR bundles PAC and IDTECK into a single change set, so there are no merge conflicts between parallel branches anymore. Closing this in favour of the unified PR. Thanks for the heads-up! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds GUI support for the PAC/Stanley LF tag type. The firmware has full PAC support (scan, emulate, T55xx write) but the GUI has never exposed it.
Motivation
PAC/Stanley is a mainstream LF credential already implemented in the Chameleon Ultra firmware:
TAG_TYPE_PAC = 150plus fourDATA_CMD_PAC_*commands. Without GUI wiring, users must drop to the Python CLI to provision PAC slots.Changes
helpers/definitions.dartTagType.pac(150)ChameleonCommand.scanPacTag(3014),writePacToT5577(3015),setPacEmulatorID(5006),getPacEmulatorID(5007)PacCard extends LFCard(modeled onVikingCard)bridge/chameleon.dartreadPac,setPacEmulatorID,writePacToT55XX,getPacEmulatorIDhelpers/general.dartgetLFCardFromUIDfactory,uidSizeForLfTag= 8 byteshelpers/write.dart,helpers/t55xx/write/base.dartgui/page/slot_manager.dart,gui/menu/dialogs/slot/edit.dart,gui/menu/dialogs/slot/export.dart,gui/page/read_card.dartgui/page/home.dartsetVikingEmulatorIDtosetPacEmulatorIDTesting
flutter analyze lib/clean (no new issues)flutter build macos --debugsucceedsPattern
The implementation follows the
Vikingintegration 1:1 (simplest existing LF tag with raw-hex UID). Same file touches, same else-if chain placement.