Skip to main content

Gateway Integration

The following instructions are to be followed to onboard LoRaWAN gateways to work with the myDevices Network Server.

Configure Packet Forwarder

The Semtech packet forwarder config.json file needs to be configured to regional frequencies and on Sub-Band 2 (FSB2)

info

myDevices uses the Sub-Band 2 (FSB2) channels.

US915

Uplink:

1. 903.9 - SF7BW125 to SF10BW125 
2. 904.1 - SF7BW125 to SF10BW125
3. 904.3 - SF7BW125 to SF10BW125
4. 904.5 - SF7BW125 to SF10BW125
5. 904.7 - SF7BW125 to SF10BW125
6. 904.9 - SF7BW125 to SF10BW125
7. 905.1 - SF7BW125 to SF10BW125
8. 905.3 - SF7BW125 to SF10BW125
9. 904.6 - SF8BW500

Downlink:

1. 923.3 - SF7BW500 to SF12BW500 
2. 923.9 - SF7BW500 to SF12BW500
3. 924.5 - SF7BW500 to SF12BW500
4. 925.1 - SF7BW500 to SF12BW500
5. 925.7 - SF7BW500 to SF12BW500
6. 926.3 - SF7BW500 to SF12BW500
7. 926.9 - SF7BW500 to SF12BW500
8. 927.5 - SF7BW500 to SF12BW500

EU868

Uplink:

1. 868.1 - SF7BW125 to SF12BW125 
2. 868.3 - SF7BW125 to SF12BW125 and SF7BW250
3. 868.5 - SF7BW125 to SF12BW125
4. 867.1 - SF7BW125 to SF12BW125
5. 867.3 - SF7BW125 to SF12BW125
6. 867.5 - SF7BW125 to SF12BW125
7. 867.7 - SF7BW125 to SF12BW125
8. 867.9 - SF7BW125 to SF12BW125
9. 868.8 - FSK

Downlink:

  • Uplink channels 1-9 (RX1)
  • 869.525 - SF9BW125 (RX2 downlink only)

For any other specific regions, please refer to the TTN Frequency Plan page: https://www.thethingsnetwork.org/docs/lorawan/frequency-plans.html

Gateway Server Addresses

Set the server_address of the gateway_conf to one of the address below, according to the region.

Example

{ 
[...]
"gateway_conf": {
"server_address": "us-2.lns.mydevices.com",
"serv_port_up": 1700,
"serv_port_down": 1700,
[...]
}
}

For other regions, refer to the table below:

RegionServer Address
United Statesus-2.lns.mydevices.com
Europeeu-2.lns.mydevices.com
Australiaau-2.lns.mydevices.com
Asiaas-2.lns.mydevices.com
Indiain-2.lns.mydevices.com
Japanjp-2.lns.mydevices.com

Cronjob / Watchdog / Monit Service

The gateway should include a cronjob / watchdog that will check every 1-5 minutes to see if the packet forwarder is running. If the packet forwarder is not running, the cronjob should then restart the packet forwarder.

Here is an example of a cronjob we have used for the Semtech Packet Forwarder:

*/5 * * * * /bin/bash -c 'export PATH=/usr/bin:/usr/sbin:/bin:/sbin; if ! ps -ef | grep lora_pkt_fwd | grep -v grep >/dev/null; then /etc/init.d/lora-packet-forwarder restart; fi 

Registration

After configuring the gateway, please submit a support ticket to register the gateway to our network server. Please, be sure to include the Gateway EUI.