Search found 4 matches

by brixxx
Wed Jul 17, 2019 10:52 am
Forum: ESP-IDF
Topic: How to use ESP-MQTT in a correct way (event loop)?
Replies: 7
Views: 14587

Re: How to use ESP-MQTT in a correct way (event loop)?

Thank you very much!
This was a good idea and works fine :)
by brixxx
Tue Jul 16, 2019 9:43 am
Forum: ESP-IDF
Topic: How to use ESP-MQTT in a correct way (event loop)?
Replies: 7
Views: 14587

Re: How to use ESP-MQTT in a correct way (event loop)?

No one?
It would be really nice if you could help me!

I now found out that I maybe should use "esp_event_post_to()" to use the mqtt lib.
But for this I do not now where to get the event base from.

Thanks!
by brixxx
Mon Jul 01, 2019 7:19 am
Forum: ESP-IDF
Topic: How to emit a custom Impulse over UART (combination UART, Remote Control?)
Replies: 0
Views: 1961

How to emit a custom Impulse over UART (combination UART, Remote Control?)

Hi, I would like to use SDI-12 Sensors together with an ESP32. This SDI-12 protocol is a half duplex UART and exchanges ASCII-characters. If someone would like to see further details, the specification is here: http://www.sdi-12.org/current_specification/SDI-12_version-1_4-Jan-10-2019.pdf This proto...
by brixxx
Fri Jun 28, 2019 9:20 am
Forum: ESP-IDF
Topic: How to use ESP-MQTT in a correct way (event loop)?
Replies: 7
Views: 14587

How to use ESP-MQTT in a correct way (event loop)?

Hi, I would like to use ESP-MQTT. The TCP SSL example included in the idf examples works fine, but to be honest I have not understood the concept how to use it right. Here is the relevant code: static esp_err_t mqtt_event_handler_cb(esp_mqtt_event_handle_t event) { esp_mqtt_client_handle_t client = ...