sdmux-remote

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2021 License: MPL-2.0

README

sdmux-remote

An HTTP API wrapping the sdmux control utility for switching microSD-Cards between Tester and DUT. A server application listens for incoming GET requests and and calls sd-mux-ctrl appropriately. A client application sends GET requests to a given URI.

sdmux-remote queues all requests to avoid concurrent invocations of the underlying sd-mux-ctrl.

Server

go get git.home.jm0.eu/josua/sdmux-remote/cmd/sdrd

sdrd --help
Usage:
  sdrd [OPTIONS]

Application Options:
  -l, --listen-host= address to listen on for incoming connections (default: localhost)
  -p, --listen-port= port to listen on for incoming connections (default: 80)

Help Options:
  -h, --help         Show this help message

Client

go get git.home.jm0.eu/josua/sdmux-remote/cmd/sdr

sdr --help
Usage:
  sdr [OPTIONS]

Application Options:
  -u, --uri=    dd-remote server address (default: http://localhost/)
  -t, --tester  connect SD to tester
  -d, --dut     connect SD to device

Help Options:
  -h, --help    Show this help message

Directories

Path Synopsis
cmd
sdr

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL