LoRaWAN Multicast-Frame Payload size (TTN/TTI)

I’ve found this topic on GitHub. I would like to do the same SF switching with multicast TTN virtual devices.

Switching to a higher spreading factor

LoRaServer has no notion of multicast, thus always sends out Class C packets on the RX2 data rate and frequency. This will be very slow in most regions (e.g. EU868). You can however overwrite this with some changes. This is how to use SF7 in EU868.

  1. Log in to the LoRaServer server, and open /etc/loraserver/loraserver.toml .
  2. Set: rx2_dr=5
  3. Restart the server:
    $ sudo systemctl restart lora-app-server
    $ sudo systemctl restart lora-gateway-bridge
    $ sudo systemctl restart loraserver
  4. In loraserver.js under DATARATE , set to 5 .
  5. Change the sleep time under startSendingClassCPackets to send faster.
  6. Afterwards, send at least one message from the Class C device again.

Note: This will not allow you to receive any messages in RX2 window on your Class A sessions, so use with care.