diff options
author | Marcus Schref <mschref@web.de> | 2022-09-07 13:15:55 +0200 |
---|---|---|
committer | Marcus Schref <mschref@web.de> | 2022-09-07 13:16:02 +0200 |
commit | deb8921629409560c91933d47f4adc5a0861f4e5 (patch) | |
tree | 95a7a5a30a9cb69788f748703758e1eafe67e17b /libs/sx1302_hal/test.sh | |
parent | d3eca9a12c7886dad682b9d27e0a3e929f193490 (diff) |
sx1302_hal: initial check-in
The SX1302 hardware abstraction layer is required by the basicstation
to control the concentrator based on SX1302/SX1303 chip.
Signed-off-by: Marcus Schref <mschref@web.de>
Diffstat (limited to 'libs/sx1302_hal/test.sh')
-rw-r--r-- | libs/sx1302_hal/test.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/sx1302_hal/test.sh b/libs/sx1302_hal/test.sh new file mode 100644 index 000000000..3958edc0e --- /dev/null +++ b/libs/sx1302_hal/test.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ "$1" = 'sx1302_hal-tests' ]; then + test_loragw_com -h 2>&1 | grep "$2" +elif [ "$1" = 'sx1302_hal-utils' ]; then + chip_id -h 2>&1 | grep "$2" +fi |