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>
7 lines
160 B
Bash
7 lines
160 B
Bash
#!/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
|