๐ก another-sender
another-sender is a command-line tool for sending command files over UDP (SPI and I2C coming soon). Designed for embedded development, hardware testing, and automation workflows.
โจ Features
- ๐ Command file folder selection
- ๐ง Configurable parser types:
text
, hex
, json
- ๐ง Adjustable delay between lines
- ๐ UDP communication support (SPI/I2C extensible)
- ๐พ Persistent configuration via
command.meta.json
and udp_config.json
- ๐งผ Clean CLI interface with interactive menus
๐ Installation
pip install another-sender
Or for development:
git clone https://github.com/minipcb/another-sender.git
cd another-sender
pip install -e .
๐ Usage
Launch the CLI:
another-sender
Or check the version:
another-sender --version
A
โ Send all files in the selected folder
T
โ Set delay (in seconds) between sending each line
C
โ Change active command folder (commands/
)
M
โ Change communication mode (UDP
, SPI
, I2C
)
P
โ Change parser type (text
, hex
, json
)
- Select a file number to send a specific file
Q
โ Quit
๐งพ Command File Format
Command files are plain text and support:
- Blank lines and
#
comments (ignored)
- Commands interpreted based on parser type
Example (text
)
# type: text
PING
RESET
START
Example (hex
)
01 FF A0 0D
02 00 3B
๐ Persistent Config
Stored in:
command.meta.json
- Communication mode
- Parser type
- Command folder
udp_config.json
- IP address and port
- Delay setting
๐ Folder Structure
commands/
โโโ default/
โ โโโ INIT_SYSTEM.txt
โ โโโ CMD_ALL.txt
๐ Roadmap
๐ License
MIT License ยฉ 2025 Nolan Manteufel