diff options
author | Sylvain Miermont <smiermont@semtech.com> | 2013-10-24 11:10:04 +0200 |
---|---|---|
committer | Sylvain Miermont <smiermont@semtech.com> | 2013-10-24 11:10:50 +0200 |
commit | b9710cd6fa8195e442f8bbce53364a125c9198ad (patch) | |
tree | d01d5345b7c85df6d003db1e17c82187c8b22d31 /loragw_tx_test | |
parent | 4977430ef31fb52994fed42b9cb180930ed943d0 (diff) | |
download | lora_gateway-b9710cd6fa8195e442f8bbce53364a125c9198ad.tar.gz lora_gateway-b9710cd6fa8195e442f8bbce53364a125c9198ad.tar.bz2 lora_gateway-b9710cd6fa8195e442f8bbce53364a125c9198ad.zip |
v1.0.0v1.0.0
- switched FTDI as default SPI phy layer in library.cfg
- fixed a bug in TX power control; still only two TW power available, 14 and 24 dBm
- changed library directory name from loragw_hal to libloragw to follow usual conventions
Diffstat (limited to 'loragw_tx_test')
-rw-r--r-- | loragw_tx_test/Makefile | 5 | ||||
-rw-r--r-- | loragw_tx_test/README.TXT | 4 | ||||
-rw-r--r-- | loragw_tx_test/src/loragw_tx_test.c | 2 |
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 { |