Skip to main content

Connecting to AWS IoT

AWS IoT Configuration

Log in to AWS. If you don’t have an AWS account, please create a new account first.

pir

Add Gateway

Navigate to Internet of Things > IoT Core

pir

Select LPWAN devices > Gateway to add a gateway

pir

Gateway's EUI: The gateway EUIcan be found on the device label or Local Console

Frequency band: Select the Frequency plan according to the actual choice.

pir

Create certificate

pir

Download the certificate files and server trust certificates.

pir

pir

Choose the Role: IoT Wireless Gateway Cert Manager Role, then submit the configuration.

pir

Check gateway connection status

Navigate to the Gateways page and choose the gateway you've added.

In the LoRaWAN specific details section of the Gateway details page, you'll see the connection status and the date and time the last uplink was received.

pir

Add Profiles

Device and service profiles can be defined to describe common device configurations. These profiles describe configuration parameters that are shared by devices to make it easier to add those devices. AWS IoT Core for LoRaWAN supports device profiles and service profiles.

Add devices profiles

Navigate to Devices > Profiles, click Add device profile

pir

Provide a Device profile name, select the Frequency band (RfRegion)that you're using for the device and gateway, and keep the other settings to the default values.

pir

Add service profiles

Navigate to Devices > Profiles, click Add service profile

pir

It's recommend that you leave the setting AddGWMetaData enabled so that you'll receive additional gateway metadata for each payload, such as RSSIand SNR for the data transmission.

pir

Add Destination

Navigate to Devices > Destination, click Add destination

pir

Publish to AWS IoT Core message broker

Permissions: Select an existing service role > IoT Wireless Gateway Cert Manager Role

Note

Adestination name can only have alphanumeric, - (hyphen)and _ (underscore) characters and it can't have any spaces.

pir

Add LoRaWAN Devices

Add wireless device

Navigate to LPWAN devices > Devices, click Add wireless device

pir

Configure device

Wireless device specification: OTAAv1.0x

DevEUI: The device EUI/APP EUI/APP key can be found the the device label.

pir

pir

Check device connection status

Navigate to the Devices page and choose the device you've added.

In the Details section of the Wireless devices details page, you'll see the date and time the last uplink was received.

pir

Gateway Configuration

Log into Local Console Check out the device's Quick Start to login.

pir

LoRaWAN Network Settings

Navigate to LoRa > LoRa Network

Mode: Basics Station

Gateway EUI: It will automatically get the EUIof the connected gateway

Server: Choose CUPS Server or LNS Server (For CUPS, port is 443; for LNS, port is 8887)

Learn more about CUPS and LNS Server

Authenentication Mode: TLS Server and Client Authentication

pir

pir

Click on Save&Apply when you finish the settings.

Loading Comments...