ADTRAN 7310-8 Getting Started Manual page 22

Lorawan gateway with aws iot core
Hide thumbs Also See for 7310-8:
Table of Contents

Advertisement

Under Set one or more actions choose Add action.
6.
On the Select an action page, choose Republish a message to an AWS IoT topic. Scroll down and choose
7.
Configure action.
On the Configure action page, for Topic, enter project/sensor/decoded. The AWS IoT Rules Engine will
8.
forward messages to this topic.
Under Choose or create a role to grant AWS IoT access to perform this action, choose Create Role.
9.
For Name, enter a name of your choice.
10.
Choose Create role to complete the role creation. You will see a "Policy Attached" tag next to the role
11.
name, indicating that the Rules Engine has been given permission to execute the action.
Choose Add action.
12.
Add one more action to invoke the Lambda function. Under Set one or more actions choose Add action.
13.
Choose Send a message to a Lambda function.
14.
Choose Configure action.
15.
Select the sailboatdecoder lambda function created earlier and choose Add action.
16.
Then, choose Create rule.
17.
A "Success" message will be displayed at the top of the panel, and the destination has a rule bound to it.
18.
You can now check that the decoded data is received and republished by AWS by triggering a condition or event on
the device itself. To trigger a condition or event, follow these steps:
Go to the AWS IoT console. In the navigation pane, select Test, and choose MQTT client.
1.
Subscribe to the wildcard topic '#" to receive messages from all topics
2.
You should see traffic similar to that shown below.
3.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Advertisement

Table of Contents
loading

Table of Contents