Setting up Basic Station protocol on RAK7240 and RAK7249 industrial gateways

As some of you may know Things Network supports a new packet forwarded protocol called Basic Station. This is based on Websockets and adds extra security and stability compared to the old Semtech UDP protocol. Actually the creators of the original UDP protocol have publicly said it was an internal proof of concept which should never have been deployed. So this change is great news!

RAK7240 and RAK7249 firmware from release V1.1.0062_Release_r202 snow support Basic Station, but instructions on how to use it have been hard to find. Well wonder no more, here they are in 3 simple steps:

Step 1) Log into the web configuration, go to the new Basic Station tab ard press Enable

Screenshot 2020-05-14 at 09.55.51

Step 2) Scroll down to the LNS server section

Screenshot 2020-05-14 at 10.12.08

For LNS URI enter: wss://lns.eu.thethings.network

(“eu” stand for Europe, replace the eu with us, in or au if you’re in the US, India or Australia respectively)

in Authentication mode select “TLS Server Authentication”

and in trust field paste the LetsEncrypt root key in BER format from https://letsencrypt.org/certs/trustid-x3-root.pem.txt

Step 3) Press Save & Apply

Done, you’re gateway will now connect to Things Network using the Basic Station protocol. On the Things Network end everything will be the same as with the Semtech UDP “legacy” protocol, and the gateway should have the same EUI as before.

If this is a new gateway you can simply register it on TTN using the EUI shown near the top

Screenshot 2020-05-14 at 10.05.09

and on TTN remember to tick the use legacy packet forwarder box

Screenshot 2020-05-15 at 00.37.38

Hope you found this easy but let me know if you have any questions :smile:

Let’s all move to Basic Station protocol as soon as possible and leave the old insecure and unreliable UDP protocol well in the past. Thanks for reading.

6 Likes

should we disable LORA PACKET FORWARDER once LORA BASIC STATION IS ENABLED ?

screenshot attached.

RAK settings

what should i enter in trust box ?

RAK settings

this does not work on things industries hosted network server, can somebody help.

Hi @abhishek2101, if you are a TTI cloud-hosted enterprise stack customer then you can contact the technical support people directly. I am a customer and the response is very fast and very good.

1 Like