![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
V.06 11/3
Dependencies: FT6206 SDFileSystem SPI_TFT_ILI9341 TFT_fonts
Fork of ATT_AWS_IoT_demo by
Diff: README.md
- Revision:
- 25:91d771247ac8
- Parent:
- 24:224c07ec3bd0
--- a/README.md Fri Dec 16 18:04:39 2016 +0000 +++ b/README.md Mon Dec 19 20:52:28 2016 +0000 @@ -102,25 +102,25 @@ through the "Python AWS IoT Tutorial" to the point where you've installed Python 2.7.11 and the libraries required to run the script (paho-mqtt, AWSIoTPythonSDK). - +2) Copy the mbed project folder "PythonGUI" onto your PC somewhere. "C:/Temp/PythonGUI" for example. -2a) Option a (default) - Use an mqtt_config.txt file: +3a) Option a (default) - Use an mqtt_config.txt file: a) Use the same mqtt_config.txt file from MBED section above. b) Place the file where Python looks for it: AWS_MQTT_CONFIG_FILENAME = "C:/Temp/certs/mqtt_config.txt" -2b) Option b - Hard code the MQTT config: +3b) Option b - Hard code the MQTT config: a) In the ATT_AWS_IoT_Demo_GUI.py script search for the "AWS IoT Config Parameters" and update them so they match the same 'thing' parameters as the mbed project. b) In the Python file change the following variable to TRUE: hardCodeMQTT = True -3) Place your 'thing' certificates into file locations where the Python looks for them. For example: +4) Place your 'thing' certificates into file locations where the Python looks for them. For example: AWS_IOT_ROOT_CA_FILENAME = "C:/Temp/certs/rootCA-certificate.crt" AWS_IOT_PRIVATE_KEY_FILENAME = "C:/Temp/certs/private.pem.key" AWS_IOT_CERTIFICATE_FILENAME = "C:/Temp/certs/certificate.pem.crt" - + Once all this is setup you should be able to: 1) See the FRDM board start up and connect to Amazon and then create a 'thing' shadow (if there is none). 2) See the FRDM board get the shadow LED color.