brocaar / chirpstack-network-server

ChirpStack Network Server is an open-source LoRaWAN network-server.
https://www.chirpstack.io
MIT License
1.49k stars 546 forks source link

RX2 implementation #314

Closed gillespilloudkerlink closed 6 years ago

gillespilloudkerlink commented 6 years ago

Hi ! It could be nice to have the transmission retry on the RX2 window feature.

As defined in 3.3.2 of the lorawan 1.1 spec, the implementation of the retry feature in case of error from the packet forwarder (unable to transmit in case of TX already planned, unexpected error).

Due to the fact than this window is set at 1s after the RX1, I don't know if this feature must be implemented on the loraserver or on the lora-gateway-bridge to have a more fast answer/retry-mecanism.

The advantage of the RX2 is the ability to transmit with more power on the radio (in EU region).

Available to discuss and help around this functionnality.

Gilles

brocaar commented 6 years ago

This has been implemented :)

  # RX window (Class-A).
  #
  # Set this to:
  # 0: RX1, fallback to RX2 (on RX1 scheduling error)
  # 1: RX1 only
  # 2: RX2 only
  rx_window=0
gillespilloudkerlink commented 6 years ago

nice job ! THanks !