Search found 2 matches

by bcanustundag
Mon Dec 23, 2019 2:48 pm
Forum: ESP-IDF
Topic: ESP32 OTA mqtt_client invalid header error
Replies: 16
Views: 18869

Re: ESP32 OTA mqtt_client invalid header error

esp-idf v3.2 doesn't have these "message receive" and "check valid" methods. I've also encountered with the same problem and came up with the same workaround. case MQTT_MSG_TYPE_CONNACK: return (buffer[0] & 0x0f) == 0; case MQTT_MSG_TYPE_SUBACK: return (buffer[0] & 0x0f) == 0x02;
by bcanustundag
Wed Dec 13, 2017 11:49 am
Forum: General Discussion
Topic: [FreeRTOS] How to use paho mqtt with MQTTFreeRTOS sources ?
Replies: 9
Views: 16632

Re: [FreeRTOS] How to use paho mqtt with MQTTFreeRTOS sources ?

Hi Arkaik,

For what it's worth, there is an example mqtt client implementation which employs esp32's tcp/ip socket implementation ( uses lwip of esp32-idf).

It can be the case that you've already seen it but here it is: https://github.com/tuanpmt/espmqtt

Baris