Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Error when trying to run the example code #68

Answered by ncmiller
mendo10jm asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mendo10jm - which example are you trying to run? Is it golioth_basics?

The only way you would see this error is if CONFIG_MBEDTLS_SSL_PROTO_DTLS is not set (or set to n) in sdkconfig. Check your sdkconfig file to see what that is set to. It should be set to y.

All of the examples set that config value to y by default via sdkconfig.defaults (e.g. https://github.com/golioth/golioth-esp-idf-sdk/blob/main/examples/golioth_basics/sdkconfig.defaults#L1).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mendo10jm
Comment options

Answer selected by ncmiller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants