summaryrefslogtreecommitdiff
path: root/loragw_tx_test
diff options
context:
space:
mode:
Diffstat (limited to 'loragw_tx_test')
-rw-r--r--loragw_tx_test/Makefile5
-rw-r--r--loragw_tx_test/README.TXT4
-rw-r--r--loragw_tx_test/src/loragw_tx_test.c2
3 files changed, 6 insertions, 5 deletions
diff --git a/loragw_tx_test/Makefile b/loragw_tx_test/Makefile
index 5d07c6d..8ece9b9 100644
--- a/loragw_tx_test/Makefile
+++ b/loragw_tx_test/Makefile
@@ -11,10 +11,11 @@ FLAG_AUX=
### constants for Lora Gateway HAL library
-LGW_PATH=../loragw_hal
+LGW_PATH=../libloragw
LGW_INC=-I$(LGW_PATH)/inc
-#LGW_LNK=-lloragw -lrt
+
LGW_LNK=-lloragw -lrt -lmpsse
+#LGW_LNK=-lloragw -lrt
# add libmpsse or not, depending on what option you compiled the libloragw with
### general build targets
diff --git a/loragw_tx_test/README.TXT b/loragw_tx_test/README.TXT
index 2f95735..ca02b16 100644
--- a/loragw_tx_test/README.TXT
+++ b/loragw_tx_test/README.TXT
@@ -28,7 +28,7 @@ Data structures of the sent packets are accessed by name (ie. not at a
binary level) so new functionalities can be added to the API without affecting
that program at all.
-It was tested with beta8 of the libloragw library, and should be compatible
+It was tested with v1.0.0 of the libloragw library, and should be compatible
with any later version of the library assuming the API is downward-compatible.
3. Usage
@@ -61,5 +61,5 @@ packet error rate.
4. Changelog
-------------
-2013-10-18, beta 1
+2013-10-24, v1
Initial version.
diff --git a/loragw_tx_test/src/loragw_tx_test.c b/loragw_tx_test/src/loragw_tx_test.c
index bb8fe2c..d1c5403 100644
--- a/loragw_tx_test/src/loragw_tx_test.c
+++ b/loragw_tx_test/src/loragw_tx_test.c
@@ -158,7 +158,7 @@ int main(int argc, char **argv)
case 'p': /* -p <int> RF power */
i = sscanf(optarg, "%i", &xi);
- if ((i != 1) || (xi < 0) || (xi > 20)) {
+ if ((i != 1) || (xi < 0) || (xi > 30)) {
MSG("ERROR: invalid RF power\n");
return EXIT_FAILURE;
} else {