STEP 5

Customizing the LoRa Basics™ Station for TPCP

1

Issue mkdir ~/basicstation/tpe command to create a working directory for TPE configuration

2

Issue cd ~/basicstation/tpe command to access your working directory.

3

Review the Basics Station setup instructions in the ThingPark documentation portal

4

Issue following commands to copy initial files from basicstation/examples/live-s2.sm.tc directory

cp -r ../examples/live-s2.sm.tc/cups.uri
cp -r ../examples/live-s2.sm.tc/cups.trust
cp -r ../examples/live-s2.sm.tc/station.conf
5

Issue nano cups.uri to edit cups.uri file and replace existing https://s2.sm.tc:7007 entry with https://community.thingpark.io:443

6

Issue wget https://www.amazontrust.com/repository/AmazonRootCA1.cer to download the certificate file for ThingPark Community CUPS server

7

Issue mv ./AmazonRootCA1.cer cups.trust command to replace the current certificate file with ThingPark certificate.

This certificate contains a public key that is used by Basics Station packet forwarder to validate the identify of the CUPS server.

Leave a comment