Skip to content

Commit

Permalink
examples/mqttc: add option to use MBED TLS for connections
Browse files Browse the repository at this point in the history
Signed-off-by: Petro Karashchenko <[email protected]>
  • Loading branch information
pkarashchenko authored and acassis committed Oct 26, 2024
1 parent 3e54ea0 commit 7f7bbe2
Show file tree
Hide file tree
Showing 3 changed files with 342 additions and 53 deletions.
10 changes: 9 additions & 1 deletion examples/mqttc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
config EXAMPLES_MQTTC
tristate "Enable MQTT-C Example"
default n
depends on NETUTILS_MQTTC && !NETUTILS_MQTTC_WITH_MBEDTLS
depends on NETUTILS_MQTTC
---help---
Enable a simple MQTT-C publisher example

Expand All @@ -28,4 +28,12 @@ config EXAMPLES_MQTTC_RXSIZE
int "RX Buffer size"
default 256

config EXAMPLES_MQTTC_ALLOW_UNVERIFIED_TLS
bool "Allow unverified TLS"
default n
---help---
Do not fail TLS connection if certificate verification fails. Usually
this is useful during development when connection to server with
self-signed certificates

endif
Loading

0 comments on commit 7f7bbe2

Please sign in to comment.