SENSECAP Connect M2 Multi-Platform Gateway to AWS IoT
This tutorial will guide users to set up a private LoRaWAN® network by connecting the LoRaWAN® sensors and M2 Multi-Platform Gateway to the AWS Cloud.
AWS IoT Configuration
Log in to AWS ,If you don’t have an AWS account, please create a new account first.
Add Gateway
- Step 1: Add gateway
Navigate to Internet of Things > IoT Core
Select LPWAN devices > Gateway to add a gateway
Gateway’s EUI: The gateway EUI can be found on the device label or Local Console Frequency band: Select the Frequency plan according to the actual choice.
- Step 2: Configure your gateway
Create certificate
Download the certificate files and server trust
Choose the Role: IoT Wireless Gateway Cert Manager Role, then submit the configuration.
- Step 3: 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 theconnection status and the date and time the last uplink was received.
Add Profiles
Device and service profiles can be defined to describe common device
configurations. These profiles describe configuration parameters that are sharedbydevices to make it easier to add those devices. AWS IoT Core for LoRaWANsupports device profiles and service profiles.
- Step 1: Add devices profiles
Navigate to Devices > Profiles, click Add device profile
Provide a Device profile name, select the Frequency band (RfRegion) that you’ reusing for the device and gateway, and keep the other settings to the default values.
- Step 2: Add service profiles
Navigate to Devices > Profiles, click Add service profile
It’s recommend that you leave the setting AddGW Meta Data enabled so that you’ll receive additional gateway metadata for each payload, such as RSSI and SNRfor the data transmission.
Add Destination
Navigate to Devices > Destination, click Add destination
Publish to AWS IoT Core message broker Permissions: Select an existing service role > IoT Wireless Gateway Cert Manager Role
Note: A destination name can only have alphanumeric, – (hyphen) and _ (underscore) characters and it can’t have any spaces.
Add LoRaWAN Devices
- Step 1: Add wireless device
Navigate to LPWAN devices > Devices, click Add wireless device
- Step 2: Configure device
Wireless device specification: OTAA v1.0x (when you use OTAA, your LoRaWANdevice sends a join request and the Network Server can allow the request)
DevEUI: The device EUI can be found the the device label or Local Console
App Key and App EUI can be found in this HTTP API: https://sensecap.seeed.cc/makerapi/device/view_device_info nodeEui=xxx&deviceCode=xxx
- Step 3: 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.
Gateway Configuration
- Step 1: Log into Local Console
Check out the device’s Quick Start to login.
- Step 2: LoRaWAN Network Settings
Navigate to LoRa > LoRa Network
Mode: Basics Station
Gateway EUI: It will automatically get the EUI of the connected gateway Server: Choose CUPS Server or LNS Server (For CUPS, port is 443; for LNS, port is8887) Learn more about CUPS and LNS Server
Authenentication Mode: TLS Server and Client Authentication
Copy the data content of the certificate files we downloaded before to the configuration page (the certificate can be opened in text form)
Click on Save & Apply when you finish the settings
Documents / Resources
![]() |
SENSECAP Connect M2 Multi-Platform Gateway to AWS IoT [pdf] User Guide Connect M2 Multi-Platform Gateway to AWS IoT, Connect M2, Multi-Platform Gateway to AWS IoT, Multi-Platform Gateway, Gateway |