๐Ÿš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more โ†’

another-sender

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

another-sender

CLI to send command files over UDP, SPI, and more.

0.1.5
Maintainers
1

๐Ÿ“ก 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

๐Ÿงฉ Menu Options

  • 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

  • UDP Support
  • Multi-parser logic
  • Config metadata file
  • SPI and I2C backend integration
  • Rich-based TUI
  • Batch mode (--send <file>)

๐Ÿ“ƒ License

MIT License ยฉ 2025 Nolan Manteufel

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts