background image

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. 

 

        "Sid": "", 

        "Effect": "Allow", 

        "Principal": { 

            "Service": "iotwireless.amazonaws.com"

 

        }, 

        "Action": "sts:AssumeRole", 

        "Condition": {} 

      } 

    ] 

}

 

10.

 

Select 

Update Trust Policy

 to apply the policy changes. Once the changes are applied, in the 

Trusted 

Entities

 section you will see the following message: 

The identity provider(s) iotwireless.amazonaws.com

 

Once the destination role has been created and configured to communicate with the AWS IoT Core for LoRaWAN, 

the IAM role and policy configuration is complete. The next step in getting started with the AWS IoT Core is to 

register the LoRaWAN device with the AWS IoT Core. 

5.3 Registering the LoRaWAN Gateway with AWS IoT 

Once the IAM roles and policies are configured for your AWS account, the next step in getting started with the 

AWS IoT Core is to register the LoRaWAN gateway with the AWS IoT Core. To successfully register the gateway, 

gather the required information for the gateway and complete the steps detailed i

Registering the LoRaWAN 

Gateway

 below.  

5.3.1 Preparation 

To complete the gateway registration process, you will need the following information available: 

 

LoRaWAN region

. For example, if the gateway is deployed in a US region, the gateway must support LoRaWAN 

region US915. 

 

Gateway LNS-protocols

. Currently, the LoRa Basics Station 2.0.5 protocol is supported. 

 

Gateway ID (GatewayEUI) or serial number

. This is used to establish the connection between the LNS and the 

gateway. Consult the documentation for your gateway to locate this value. 

5.3.2 Registering the LoRaWAN Gateway 

To register the LoRaWAN gateway with AWS IoT Core for LoRaWAN, connect to th

AWS IoT console

 and follow 

these steps: 

1.

 

Select 

Wireless Connectivity

 from the menu on the left. 

2.

 

In the 

Wireless Connectivity

 menu, select 

Intro

 and then select 

Get Started

. This step is needed to pre-

populate the default profiles for the device. 

3.

 

In the 

Get Started

 menu, navigate to the 

Add LoRaWAN Gateways and Wireless Devices

 section and 

select 

Add Gateway

4.

 

In the 

Add Gateway

 menu, enter the appropriate information in the 

GatewayEUI 

and 

Frequency Band 

(RF Region)

 fields.  The Gateway EUI value is the device’s MAC address with 

FFEE

 inserted between the 

third and fourth octets.  For example, for a gateway with MAC address 

XX:XX:XX:XX

, the EUI value would 

be 

XX:XX:FF:EE:XX:XX

 .   

NOTE:

 The ADTRAN 7310-8 gateway’s MAC address can be found in the 

Ethernet Config

 menu within the 

iOS ADTRAN IoT app. Specific instructions for accessing the app and locating this menu are detailed in 

Configuring the LoRaWAN Gateway (Basic Configuration)

 and 

ADTRAN 7310-8 Gateway Software 

Configuration

. 

5.

 

Next, enter a descriptive name in the 

Name

 

– optional

 field (ADTRAN recommends that you use the 

GatewayEUI as the name), and select 

Add Gateway

Once the gateway has been successfully added, you will need to specify the certificate information for the 

gateway. To specify the certificate and complete the registration process, follow these steps: 

1.

 

After selecting 

Add Gateway

 to add the gateway to the device list, from the 

Get Started

 menu, select 

Configure Your Gateway

 to access the gateway configuration menu. 

Summary of Contents for 7310-8

Page 1: ...2020 Amazon Web Services Inc or its affiliates All rights reserved 7310 8 LoRaWAN Gateway with AWS IoT Core Getting Started Guide...

Page 2: ...nt Information 3 2 Overview 3 3 Hardware Description 3 4 Configuring your AWS Account and Permissions 3 5 Getting Started with ADTRAN s 7310 8 Gateway 4 6 Configuring the ADTRAN 7310 8 LoRaWAN Gateway...

Page 3: ...3 1 Data Sheet The data sheet for the ADTRAN 7310 8 gateway can be found here 3 2 Standard Kit Contents The ADTRAN 7310 8 gateway includes the following items in the standard kit ADTRAN s 8 channel En...

Page 4: ...re required for configuring roles and policies in IAM First you must create an IAM role for the Configuration and Update Server CUPS and review its associated policies and then you must create an AWS...

Page 5: ...ou MUST enter the role name as IoTWirelessGatewayCertManagerRole and cannot use a different name This is for consistency with future releases 7 Once the role is created you will need to specify the tr...

Page 6: ...e connect to the IAM console and follow these steps 1 Select Roles from the menu on the left and then select Create Role 2 In the Create Role menu under Select type of trusted entity select Another AW...

Page 7: ...t the documentation for your gateway to locate this value 5 3 2 Registering the LoRaWAN Gateway To register the LoRaWAN gateway with AWS IoT Core for LoRaWAN connect to the AWS IoT console and follow...

Page 8: ...in the following sections 5 4 1 Preparation To complete the endpoint device registration process you will need the following information available LoRaWAN region This must match the gateway LoRaWAN r...

Page 9: ...DlBucketSize4096 AddGwMetadatatrue DevStatusReqFreq 24 DrMax15 TargetPer5 MinGwDiversity1 Proceed in the device configuration only if you have a device and service profile that will work for you 5 4 3...

Page 10: ...reparation Be sure to enter a name for your device in the Wireless device name optional field 5 Navigate to the Profiles section under Wireless device profile select the appropriate profile from the d...

Page 11: ...ce s serial number for example 0007 4 To connect to a discovered device select the device from the list and enter your PIN when prompted The PIN will always be the last 5 digits of the of the gateway...

Page 12: ...mitted and received encapsulated LoRaWAN packets on the port LED Color State Description NET TXNET RX Green Off Indicates no traffic is being passed on the port Flashing Indicates transmitted TX or re...

Page 13: ...t your gateway from the list by pressing it entering your unique 5 digit PIN and selecting Connect NOTE The PIN is last 5 digits of the device serial number and also the default gateway name For secur...

Page 14: ...can use the ADTRAN IoT app to verify the 7310 8 gateway information including hardware and software versions serial number part numbers and model information as well as traffic statistics errors and c...

Page 15: ...nu and select Gateway Status The relevant information is listed in this menu NOTE The Connected Devices count is not currently integrated with AWS Basic Station To verify and configure gateway Etherne...

Page 16: ...nu Select Reset to Factory Default to return the device to the factory default settings NOTE Restoring the gateway to the factory default settings will clear existing certificates reset counters and r...

Page 17: ...tions to the 7310 8 Gateway The first step in provisioning the ADTRAN 7310 8 gateway for use with AWS is to upload the configured CUPS certifications to the gateway To upload the CUPS certificates fol...

Page 18: ...r use with AWS to is provisioning and starting the device s packet forwarding program To provision and start the device s packet forwarding program follow these steps 1 Open the ADTRAN IoT app on your...

Page 19: ...y and device configuration are completed provisioned OTAA devices can join the AWS IoT network and start to send messages Messages from devices are received by AWS IoT Core for LoRaWAN and then forwar...

Page 20: ...from the Runtime drop down menu 5 Click on Create function 6 Navigate to provide your github repository URL and copy the code for the lambda function 7 Under Function code paste the copied code into t...

Page 21: ...o topic The output should look similar to this 8 3 Creating the Destination Rule In this step you create the IoT rule that forwards the device payload to your application This rule is associated with...

Page 22: ...s been given permission to execute the action 12 Choose Add action 13 Add one more action to invoke the Lambda function Under Set one or more actions choose Add action 14 Choose Send a message to a La...

Page 23: ...e number you entered is valid you will receive a text message and your phone number will be confirmed 8 Create an Amazon SNS Topic as follows a In the navigation pane choose Topics b Select Create top...

Page 24: ...to create an IoT analytics rule configure AWS IoT analytics and configure Amazon QuickSight The steps required to perform this configuration are provided in the following sections 8 5 1 Creating an Io...

Page 25: ...d then select Refresh or Schedule Refresh for periodic refresh of dataset 8 6 Testing your Hello World Application Using your device create a condition to generate an event such as a high temperature...

Page 26: ...tion connected to AWS The LoRa Radio Sub Band page on the ADTRAN IoT app is not used for AWS 11 OTA Updates The following outlines the OTA update upgrade procedure 1 Connect to the gateway via the ADT...

Reviews: