Arylic TCP UART Command-Line-Tool
This is a very small (< 50 LOC) command line tool to interact with Arylic devices via their UART TCP API. It sends the command, and returns the response, nothing else.
usage: arylic-uart [option] ...
A small CLI tool to interact with Arylic devices via the UART TCP API.
Required:
-c, --cmd VALUE The command you want to send, e.g. MCU+PAS+RAKOIT:VER
-d, --device VALUE IP or URL (without protocol) of the Arylic device you want to send the command to
Optional:
-h, --help Show this help message.
Will print the response when everything went well.
Build instructions
This project uses janet. It is set up using jpm and you can find its configuration in project.janet, the entry is in main.janet. .envrc
and flake.nix
take care of dependencies if you have direnv set up using nix flakes support.
To build run:
jpm deps
jpm build
You will find a arylic-uart
executable in the build/
folder.