Execute following command to run the client:

1. Extract the zip file in some folder
2. Put the device certificates in the 'certificates' folder
3. Edit 'ENDPOINT', 'PATH_TO_CERT' and 'PATH_TO_KEY' params in 'mqttpublisher.py' as per your AWS account and setup.
4. Execute following commands to run the test client

$ cd ProtobufMQTTPublisher

#create a virtual environment in the current directory
$ python3 -m venv virtual_env

$ source ./virtual_env/bin/activate

$ python3 -m pip install awsiotsdk

$ pip install protobuf

#execute the test client

$ python3 ProtobufMessagePublisher.py

You should see console output similar to following:

Connecting to xxxxx.iot.xxxx.amazonaws.com with client ID 'MQTT_publisher_test'..

Connected!

Begin Publish

0     Published: |4This is a Hello World Message for protobuf data type"*6' to the topic: protobuf/message.
