Demo application for using the AT&T IoT Starter Kit Powered by AWS.

Dependencies:   SDFileSystem

Fork of ATT_AWS_IoT_demo by Anthony Phillips

Embed: (wiki syntax)

« Back to documentation index

ATT_AWS_IoT_Demo_GUI Namespace Reference

ATT_AWS_IoT_Demo_GUI Namespace Reference

Functions

def sendLEDRequest
 These functions are for AWS.

Variables

list accepted = ["0", "1", "2", "4", "7"]
 Set up our Tkinter based GUI.
string usageInfo
 Vars.
 useWebsocket = False
 AWS IoT Config Parameters.
tuple logger = logging.getLogger("AWSIoTPythonSDK.core")
 Arg Parser (TODO)
tuple mqtt_file = open(AWS_MQTT_CONFIG_FILENAME)
 Main Code.

Detailed Description

/*
 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License").
 * You may not use this file except in compliance with the License.
 * A copy of the License is located at
 *
 *  http://aws.amazon.com/apache2.0
 *
 * or in the "license" file accompanying this file. This file is distributed
 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
 * express or implied. See the License for the specific language governing
 * permissions and limitations under the License.
 */
 

Function Documentation

def ATT_AWS_IoT_Demo_GUI::sendLEDRequest (   color_input )

These functions are for AWS.

Shadow JSON schema:

Definition at line 234 of file ATT_AWS_IoT_Demo_GUI.py.


Variable Documentation

list accepted = ["0", "1", "2", "4", "7"]

Set up our Tkinter based GUI.

Definition at line 41 of file ATT_AWS_IoT_Demo_GUI.py.

tuple logger = logging.getLogger("AWSIoTPythonSDK.core")

Arg Parser (TODO)

Definition at line 402 of file ATT_AWS_IoT_Demo_GUI.py.

tuple mqtt_file = open(AWS_MQTT_CONFIG_FILENAME)

Main Code.

This block parses the MQTT file.

Definition at line 427 of file ATT_AWS_IoT_Demo_GUI.py.

string usageInfo
Initial value:
00001 """Usage:
00002 
00003 Use certificate based mutual authentication:
00004 python basicShadowDeltaListener.py -e <endpoint> -r <rootCAFilePath> -c <certFilePath> -k <privateKeyFilePath>
00005 
00006 Use MQTT over WebSocket:
00007 python basicShadowDeltaListener.py -e <endpoint> -r <rootCAFilePath> -w
00008 
00009 Type "python basicShadowDeltaListener.py -h" for available options.
00010 
00011 
00012 """

Vars.

Usage

Definition at line 307 of file ATT_AWS_IoT_Demo_GUI.py.

useWebsocket = False

AWS IoT Config Parameters.

The user needs to enter these (they should match the parameters in aws_iot_config.h)

Definition at line 341 of file ATT_AWS_IoT_Demo_GUI.py.