Lora-net / packet_forwarder

A LoRa packet forwarder is a program running on the host of a LoRa gateway that forwards RF packets receive by the concentrator to a server through a IP/UDP link, and emits RF packets that are sent by the server. This project is associated to the lora_gateway repository for SX1301 chip. For SX1302/1303, the repository sx1302_hal must be used.
Other
722 stars 669 forks source link

SF falls back to SF12 #144

Closed githubhrishikesh closed 2 years ago

githubhrishikesh commented 3 years ago

We are using gateway development kit with LoRaWAn 2.4GHz. The global_config.json is configured to use SF11 on all 3 channels. We could join the network with these settings but during join acceptance a MAC command is received which reconfigures the LoRa end device to SF12. Why is it that the gateway reconfigures the end device to SF12 even though the gateway is at SF11?

Channel settings in global_config.json are as follows:


{ "radio_conf": { "tty_path": "/dev/ttyACM0", "lorawan_public": false, "antenna_gain": 0, / antenna gain, in dBi / "chan_0": { "enable": true, "freq": 2403000000, "bandwidth": 812000, "spread_factor": 11, "rssi_offset": 0.0 }, "chan_1": { "enable": true, "freq": 2479000000, "bandwidth": 812000, "spread_factor": 11, "rssi_offset": 0.0 }, "chan_2": { "enable": true, "freq": 2425000000, "bandwidth": 812000, "spread_factor": 11, "rssi_offset": 0.0 }, "tx": { "enable": true, "tx_freq_min": 2400000000, "tx_freq_max": 2500000000 } },

cstratton commented 2 years ago

We are using gateway development kit with LoRaWAn 2.4GHz.

That hardware is not supported by this repository, you have posted in the wrong place

Presumaly you are using https://github.com/Lora-net/gateway_2g4_hal instead

We could join the network with these settings but during join acceptance a MAC command is received which reconfigures the LoRa end device to SF12. Why is it that the gateway reconfigures the end device to SF12 even though the gateway is at SF11?

It is not the "gateway" which is creating this MAC command, but the network server, whichever one you are using. All the gateway does is give the network server access to the airwaves. If you want to change the behavior, you will have to figure out how to change the behavior of your network server so that it issues commands compatible with the configuration of your gateway rather than incompatible with it.

smtc-bot commented 2 years ago

Thank you for your inquiry.

Customers are encouraged to submit technical questions via our dedicated support portal at https://semtech.force.com/ldp/ldp_support.

We invite all users to visit the LoRa Developer Portal Forum at https://forum.lora-developers.semtech.com and to join the thriving LoRa development community!