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
Step 2) Scroll down to the LNS server section
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
and on TTN remember to tick the use legacy packet forwarder box
Hope you found this easy but let me know if you have any questions
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.