Learning AWS IoT by Agus Kurniawan

Learning AWS IoT by Agus Kurniawan

Author:Agus Kurniawan
Language: eng
Format: mobi, epub
Tags: COM005000 - COMPUTERS / Enterprise Applications / General, COM091000 - COMPUTERS / Cloud Computing, COM067000 - COMPUTERS / Hardware / General
Publisher: Packt
Published: 2018-01-29T06:49:02+00:00


Now you can open the Terminal and run the publisher program as follows:

python basicDiscovery.py -e host_aws_greengrass_core -r root-CA.pem -c iotdevice1-certificate.pem.crt -k iotdevice1-private.pem.key -n iotdevice1-name -m publish -t 'sensor/hello' -M 'This message from sensorNode'

Here:

host_aws_greengrass_core is the hostname or name from the AWS Greengrass Core machine

root-CA.pem is the certificate file for AWS

iotdevice1-certificate.pem.crt is a certificate file from IoT device 1

iotdevice1-private.pem.key is a private key from IoT device 1

iotdevice1-name is the IoT device 1 name

sensor/hello is the subscription topic

This message from sensorNode is a message sample



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.