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:
parent
c9851e9253
commit
7041c014bb
9 changed files with 725 additions and 2 deletions
3
examples/aws_iot/Makefile
Normal file
3
examples/aws_iot/Makefile
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
PROGRAM=aws_iot
|
||||
EXTRA_COMPONENTS = extras/paho_mqtt_c extras/mbedtls
|
||||
include ../../common.mk
|
||||
Loading…
Add table
Add a link
Reference in a new issue