From 3cc9799547dd478a58755a9fb1cf0e611b380eed Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Thu, 21 Jun 2018 12:16:07 +0200 Subject: [PATCH] Updated readme --- README.md | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6015b5e..2226c27 100644 --- a/README.md +++ b/README.md @@ -64,4 +64,36 @@ git clone https://github.com/markqvist/rnodeconfigutil.git cd rnodeconfigutil chmod a+x rnodeconf ./rnodeconf --help -``` \ No newline at end of file +``` + +## Examples + +### Show device info + +Print info like serial number, hardware revision, model and firmware version. + +``` +./rnodeconf /dev/ttyUSB0 -I +``` + +### Set RNode to TNC mode + +If you just specify the -T option, the utility will ask you for the necessary parameters. + +``` +./rnodeconf /dev/ttyUSB0 -T +``` + +You can also specify all the options on the command line. + +``` +./rnodeconf /dev/ttyuUSB0 -T --freq 868000000 --bw 125000 --txp 2 --sf 7 --cr 5 +``` + +### Set RNode to host-controlled mode + +Use the -N option to set the device to host-controlled mode. + +``` +./rnodeconf /dev/ttyUSB0 -N +```