Configuring your AWS Account and Permissions ................... 3 Getting Started with ADTRAN’s 7310-8 Gateway..................4 Configuring the ADTRAN 7310-8 LoRaWAN Gateway ................. 10 Adding Endpoint Device(s) to the 7310-8 Gateway ..................19 Verifying Operation – a “Hello World” Example ..................19 Debugging ..............................25 Troubleshooting ............................
Release Date – March 31, 2021 2. Overview The ADTRAN 7310-8 is a micro-sized indoor Long Range Wide Area Network (LoRaWAN) Internet of Things (IoT) gateway that is perfect for enterprises, small businesses, and industrial IoT applications. This 8-channel gateway supports an external antenna, one Gigabit interface, and can be powered by an 802.11af PoE or Micro-USB...
Once you have created an AWS account and specified your permissions, you can proceed with the getting started information included in the following sections of this guide to configure and use your ADTRAN 7310-8 gateway with the AWS IoT Core for LoRaWAN.
Page 5
"Sid": "IoTWirelessGatewayCertManager", "Effect": "Allow", "Action": [ "iot:CreateKeysAndCertificate", "iot:DescribeCertificate", "iot:ListCertificates", "iot:RegisterCertificate" "Resource": "*" After updating the policy, select Review Policy to open the Review Policy page and make the following changes: • In the Name field, enter AWSIoTWirelessGatewayCertManager. NOTE: You MUST enter the policy name as AWSIoTWirelessGatewayCertManager and cannot use a different name.
Page 6
5.2.2 Adding an IAM Role for the AWS IoT Core for LoRaWAN Destination The second role to be configured for the AWS account is AWS IoT Core destination role. This role is allows your AWS account to operate with the AWS IoT Core for LoRaWAN and is configured by first defining the policy associated with the role, and then creating the role itself.
Page 7
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...
Page 8
CUPS and LNS endpoint information; it will be required when configuring the gateway for use (as described in Configuring the ADTRAN 7310-8 Gateway for AWS). 5. After downloading the certificates, private key, and server trust certificates, select Submit to complete the gateway registration process with the AWS IoT Core for LoRaWAN.
Page 9
1. In the navigation pane, select Wireless connectivity and then select Profiles. 2. In the Profiles menu, navigate to the Device Profiles section and view the pre-defined device profiles listed. Check each of the profiles to determine if one of them will work for your device. 3.
Guide. 6.1.2 Mounting the 7310-8 LoRaWAN Gateway The 7310-8 LoRaWAN gateway can be mounted to a ceiling, wall, or dropped ceiling. To mount the gateway in one of these configurations, follow the instructions provided in the ADTRAN 7310-8 Quick Start Guide.
Page 11
6.1.5 Configuring the LoRaWAN Gateway (Basic Configuration) After you have connected to the 7310-8 LoRaWAN gateway via the ADTRAN IoT app, you can use the app the configure the specific parameters of the gateway. To complete the minimal gateway configuration, use the ADTRAN IoT app to complete the following tasks: 1.
Page 12
6.1.6 Understanding the 7310-8 Status LEDs The LEDs on the 7310-8 LoRaWAN gateway’s front panel provide you with the ability to monitor the device status. The following section describes the five types of LEDs available on the LoRaWAN gateway device.
Page 13
3. Open the ADTRAN IoT app and select Scan to find your nearby gateways. 4. Select 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 security, it is suggested to change the gateway name after provisioning.
Page 14
6.2.2 Verifying Gateway Information You 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 connected devices.
Page 15
NOTE: The Connected Devices count is not currently integrated with AWS Basic Station. To verify and configure gateway Ethernet settings (such as DHCP, MAC, IP Address, Mask, and Gateway settings), open the ADTRAN IoT app Connected Devices menu and select Ethernet Config. The relevant information is listed in this menu.
Page 16
6.2.3 Restoring the Gateway to Factory Defaults To reset the ADRAN 7310-8 gateway to the factory default settings, connect to the gateway using the ADTRAN IoT app and navigate to the System Status menu. Select Reset to Factory Default to return the device to the factory default settings.
Page 17
6.4 Configuring the ADTRAN 7310-8 Gateway for AWS To configure the ADTRAN 7310-8 gateway for use with AWS, you will need to upload the CUPS certifications to the gateway and then provision and start the gateway’s packet forwarding program for communication with AWS. The steps required to complete these configurations are provided in the following sections.
Page 18
The second step in configuring the ADTRAN 7310-8 gateway for 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 Apple device.
4. Your device should shortly switch to use basic station with the previously uploaded certificates. NOTE: The Server Port Up and Server Port Down options are not used with Basic Station for AWS. 7. Adding Endpoint Device(s) to the 7310-8 Gateway Refer to the LoRaWAN endpoint device manufacturer’s documentation for configuration instructions.
Page 20
The configuration steps required to create the “Hello World” application and test a device’s ability to communicate across the IoT network includes the following: Creating and Testing the Lambda Function • Creating the Destination Rule • Configuring Amazon SNS • Configuring IoT Analytics •...
Page 21
"DevEui": "a84041000181bf255", "FPort": 2, "DataRate": 0, "Frequency": 904500000, "Gateways": [ "GatewayEui": "80029cffXXXXXXXX", "Snr": 12.25, "Rssi": -47 "Timestamp": "2020-12-14T08:23:56Z", Choose Create to save the event. Navigate to the AWS IoT console, choose Test on the navigation pane, and select MQTT client. Configure the MQTT client to subscribe to # (all topics).
Page 22
Under Set one or more actions choose Add action. On the Select an action page, choose Republish a message to an AWS IoT topic. Scroll down and choose Configure action. On the Configure action page, for Topic, enter project/sensor/decoded. The AWS IoT Rules Engine will forward messages to this topic.
Page 23
8.4 Configuring Amazon SNS We will use the Amazon Simple Notification Service to send text messages (SMS) when certain conditions are met. Go to the Amazon SNS console. Click on the menu in the left corner to open the navigation pane. Select Text Messaging (SMS) and choose Publish text message.
Page 24
To add a new rule to send an Amazon SNS notification when certain conditions are met in a decoded message, follow these steps: Navigate to the AWS IoT console. In the navigation pane, choose Act. Then, choose Rules. On the Rules page, choose Create. Enter the Name as text_alert, and provide an appropriate Description.
Debugging can be done by reviewing the logs stored on the debug account which can be accessed by following these steps: Acquire IP address of gateway via the ADTRAN IoT app or other means. SSH into the debug account of the gateway and enter the following password: adtraniotdebug.
You must connect the power cable to the gateway first, and then connect a serial cable to open a • terminal. In the ADTRAN IoT app, if anything besides bsaws is entered into the Server Address field on the LoRa • Config page, the active packet forwarding program will not be Basic Station connected to AWS.
Need help?
Do you have a question about the 7310-8 and is the answer not in the manual?
Questions and answers