Added a MQTT pub/sub example of using AWS IoT (#173)

* Added a MQTT pub/sub example of using AWS IoT (via ECC based TLS1.2 connection).

* Fixed a buffer overflow issue when receiving large MQTT packet.

* Reset TLS connection on read/write errors.
This commit is contained in:
rongsaws 2016-08-29 10:55:32 -07:00 committed by Johan Kanflo
parent c9851e9253
commit 7041c014bb
9 changed files with 725 additions and 2 deletions

View file

@ -0,0 +1,3 @@
PROGRAM=aws_iot
EXTRA_COMPONENTS = extras/paho_mqtt_c extras/mbedtls
include ../../common.mk