Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
895 changes: 555 additions & 340 deletions include/net/mqtt.h

Large diffs are not rendered by default.

474 changes: 474 additions & 0 deletions include/net/mqtt_legacy.h

Large diffs are not rendered by default.

File renamed without changes.
10 changes: 10 additions & 0 deletions samples/net/mqtt_publisher/overlay-tls.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_MQTT_LIB_TLS=y
CONFIG_NET_SOCKETS_SOCKOPT_TLS=y

# TLS configuration
CONFIG_MBEDTLS=y
CONFIG_MBEDTLS_BUILTIN=y
CONFIG_MBEDTLS_ENABLE_HEAP=y
CONFIG_MBEDTLS_HEAP_SIZE=30000
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=2048
45 changes: 0 additions & 45 deletions samples/net/mqtt_publisher/prj_frdm_k64f_tls.conf

This file was deleted.

2 changes: 2 additions & 0 deletions samples/net/mqtt_publisher/src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@

#define APP_MAX_ITERATIONS 100

#define APP_MQTT_BUFFER_SIZE 128

#define MQTT_CLIENTID "zephyr_publisher"

/* Set the following to 1 to enable the Bluemix topic format */
Expand Down
Loading