Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 556 Bytes

cli-client.md

File metadata and controls

21 lines (13 loc) · 556 Bytes

CLI Client

The CLI (command line interface) client can be used to send RPC commands from command line to Phoniebox.

Installation

  • Install prerequisites: sudo apt-get install libczmq-dev
  • Change to directory: cd ~/RPi-Jukebox-RFID/src/cli_client
  • Compile CLI client: gcc pbc.c -o pbc -lzmq -Wall

Usage

  • Get help info: ./pbc -h
  • Example shutdown: ./pbc -p host -o shutdown

See also RPC Commands reference.

Reference