From deb8921629409560c91933d47f4adc5a0861f4e5 Mon Sep 17 00:00:00 2001 From: Marcus Schref Date: Wed, 7 Sep 2022 13:15:55 +0200 Subject: 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 --- libs/sx1302_hal/test.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 libs/sx1302_hal/test.sh (limited to 'libs/sx1302_hal/test.sh') 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 -- cgit v1.2.3