Skip to content

Add a tagtinker CLI command for USB serial control (#21) - #71

Open
bey0ne wants to merge 1 commit into
i12bp8:mainfrom
bey0ne:cli-remote
Open

bey0ne wants to merge 1 commit into
i12bp8:mainfrom
bey0ne:cli-remote

Conversation

@bey0ne

@bey0ne bey0ne commented Oct 27, 2026 •

Copy link
Copy Markdown

Add a "tagtinker" CLI command for USB serial control (#21)

Problem

#21 asks for a way to drive tags from a PC.

Change

While the app is open, the Flipper CLI gets:

tagtinker list | led <tag> | page <tag|all> <0-7> [secs|forever]
          image <tag> <1-8> <file> | text <tag> <1-8> [-i] [-a] <text>
          raw [-r repeats] <hex bytes> | stop

The command thread only parses arguments; a custom event makes the GUI
thread prepare the job with the existing helpers and open the transmit
screen, which reports OK / FAILED. Back and Ctrl+C cancel. Sends are refused
while the startup warning is shown. <tag> is the number from list, the
name or a barcode. README has a "USB serial control" section.

Tested

Flipper Zero, firmware mntm 12: list, led, command removed when
the app closes.
To do before opening: image, text -a, page and Ctrl+C on a tag.

While the app is open, the Flipper CLI gets:
  tagtinker list | led <tag> | page <tag|all> <page> [secs|forever]
            image <tag> <page> <file> | text <tag> <page> [-i] [-a] <text>
            raw [-r repeats] <hex bytes> | stop

The command thread only parses arguments; a view dispatcher custom event
makes the GUI thread go back to the main menu (each scene's on_exit cleans
up), prepare the job with the existing helpers and open the transmit
scene. The transmit scene reports OK / failure back, Back and Ctrl+C
cancel. Sends are refused while the startup warning is shown.

<tag> is the number from "list", the name or a barcode (added like web
jobs). image and text take pages 1-8 like Set Text and go through the
same mapping (protocol 0-7 on HD tags, as-is on Color 2.6); page takes
0-7 like Broadcast > Change Page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QYkmJ3RnCgGZEBKnfRJt5x

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant