summaryrefslogtreecommitdiff
path: root/loragw_tx_test
diff options
context:
space:
mode:
Diffstat (limited to 'loragw_tx_test')
-rw-r--r--loragw_tx_test/LICENSE.TXT30
-rw-r--r--loragw_tx_test/README.TXT13
-rw-r--r--loragw_tx_test/src/loragw_tx_test.c3
3 files changed, 36 insertions, 10 deletions
diff --git a/loragw_tx_test/LICENSE.TXT b/loragw_tx_test/LICENSE.TXT
index e406dcb..ff287f3 100644
--- a/loragw_tx_test/LICENSE.TXT
+++ b/loragw_tx_test/LICENSE.TXT
@@ -1,8 +1,24 @@
-Copyright (C) 2013 SEMTECH S.A.
+Copyright (c) 2013, SEMTECH S.A.
+All rights reserved.
- THE FOLLOWING SOFTWARE IS PROVIDED: (1) "AS IS" WITH NO WARRANTY; AND
-(2)TO ENABLE ACCESS TO CODING INFORMATION TO GUIDE AND FACILITATE CUSTOMER.
-CONSEQUENTLY, SEMTECH SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR
-CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT
-OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION
-CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of the Semtech corporation nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL SEMTECH S.A. BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/loragw_tx_test/README.TXT b/loragw_tx_test/README.TXT
index ca02b16..435b162 100644
--- a/loragw_tx_test/README.TXT
+++ b/loragw_tx_test/README.TXT
@@ -34,27 +34,34 @@ with any later version of the library assuming the API is downward-compatible.
3. Usage
---------
-The application runs until the specified number of packets have been send.
+The application runs until the specified number of packets have been sent.
Press Ctrl+C to stop the application before that.
Use the -f option followed by a real number (decimal point and scientific
'E notation' are OK) to specify the modulation central frequency.
+
Use the -s option to specify the Spreading Factor of Lora modulation (values 7
to 12 are valid).
+
Use the -b option to set Lora modulation bandwidth in kHz (accepted values: 125,
250 or 500).
+
Use the -p option to set the concentrator TX power in dBm. Not all values are
supported by hardware (typically 14 et 20 dBm are supported, other values might
not give expected power). Check with a RF power meter before connecting any
sensitive equipment.
+
Use the -t option to specify the number of milliseconds of pause between
packets. Using zero will result in a quasi-continuous emission.
-Use the -x to specify how many packets should be sent.
+
+Use the -x option to specify how many packets should be sent.
+
+Use the -i option to invert the Lora modulation polarity.
The packets are 20 bytes long, and protected by the smallest supported ECC.
The payload content is:
-[T][E][S][T][packet counter MSB][packet counter MSB] followed by ASCII padding.
+[T][E][S][T][packet counter MSB][packet counter LSB] followed by ASCII padding.
All Lora data is whitened, so the padding has no influence whatsoever on the
packet error rate.
diff --git a/loragw_tx_test/src/loragw_tx_test.c b/loragw_tx_test/src/loragw_tx_test.c
index d1c5403..09e2a45 100644
--- a/loragw_tx_test/src/loragw_tx_test.c
+++ b/loragw_tx_test/src/loragw_tx_test.c
@@ -8,6 +8,9 @@
Description:
Send a bunch of packets on a settable frequency
+
+License: Revised BSD License, see LICENSE.TXT file include in the project
+Maintainer: Sylvain Miermont
*/