Receive a raw LoRa Packet

From Wiki for Dragino Project
Revision as of 00:59, 8 February 2022 by Kilight (Talk | contribs) (Created page with " =How does the user make the gateway receive the raw LoRa Packet= ==Introduction== By default, the LoRaWAN gateway cannot receive LoRa packets, If the user needs to receive t...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How does the user make the gateway receive the raw LoRa Packet

Introduction

By default, the LoRaWAN gateway cannot receive LoRa packets, If the user needs to receive the raw LoRa package, the user can modify the file.

root@dragino-1d178c:~# vim /etc/lora/global_conf.json

  "SX130x_conf": {
     "spidev_path": "/dev/spidev0.0",
     "full_duplex": false,
     "lorawan_public": false,   -----------------> "true" proves receive LoRaWAN package,"false" proves receive non-Lorawan package
     "clksrc": 1,
     "clksrc_desc": "radio_1 provides clock to concentrator for most devices except MultiTech. For MultiTech set to 0.",
     "antenna_gain": 0,
     "antenna_gain_desc": "antenna gain, in dBi",
     "radio_0": {
              "enable": true,
              "type": "SX1257",
              "freq": 867500000,
              "rssi_offset": -166.0,
              "tx_enable": true,
              "tx_freq_min": 863000000,
              "tx_freq_max": 870000000
      },