LilyGo-LoRa-Series/tools/README.md
lbuque 7a5a218c85 feature/sx1302_hal.sh: Script to automatically deploy
packet_forwarder

Signed-off-by: lbuque <1102390310@qq.com>
2022-11-29 11:14:52 +08:00

1.8 KiB

sx1302_hal.sh

Usage

NOTE

This script requires administrator privileges.

Script to automatically deploy packet_forwarder

Usage: sudo ./sx1302_hal.sh [-s server] [-p port] [-f frequency] [--eui eui] [--verbose] [-o output]
       sudo ./sx1302_hal.sh
       ./sx1302_hal.sh -v
       ./sx1302_hal.sh --help

Option:
  -s --server  Gateway Server address. The default value is eu1.cloud.thethings.network.
  -p --port  Gateway Server port. The default value is 1700.
  -f --frequency  The frequency band of lorawan supports eu868, us915, as923. The default value is eu868.
  -eui  Gateway EUI. The default is produced by the mac address of eth0.
  -o --output  Output gateway information.

Miscellaneous options:
  --verbose  Output extra information about the work being done.

  -v --version  Output version info.
  --help  Output this help.

Report bugs to lbquue@163.com.

The Things Network

The Things Network has the following three servers, just choose one of them. The port is 1700.

Europe 1:

eu1.cloud.thethings.network

North America 1:

nam1.cloud.thethings.network

Australia 1:

au1.cloud.thethings.network

Test

Model OS Gateway Status
Raspberry Pi 3 Model B Rev 1.2 Raspberry Pi OS Lite(64-bit) 2022-09-26 T-SX1302

NOTE

Theoretically, other models of Raspberry Pi are also supported, welcome to submit test results!