You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hava subscribe a topic use esp_mqtt_client_subscribe and return msg_id is 30233 , but when i usr other mqtt client send msg to dut , dut recv data is OK from MQTT_EVENT_DATA , but print event->msg_id always 0;
case MQTT_EVENT_DATA:
ESP_LOGI(TAG, "MQTT_EVENT_DATA");
printf("TOPIC=%.*s\r\n", event->topic_len, event->topic);
printf("DATA=%.*s\r\n", event->data_len, event->data); printf("msgid=%d\n",event->msg_id); // <<<<<< here
The text was updated successfully, but these errors were encountered:
I hava subscribe a topic use esp_mqtt_client_subscribe and return msg_id is 30233 , but when i usr other mqtt client send msg to dut , dut recv data is OK from MQTT_EVENT_DATA , but print event->msg_id always 0;
case MQTT_EVENT_DATA:
ESP_LOGI(TAG, "MQTT_EVENT_DATA");
printf("TOPIC=%.*s\r\n", event->topic_len, event->topic);
printf("DATA=%.*s\r\n", event->data_len, event->data);
printf("msgid=%d\n",event->msg_id); // <<<<<< here
The text was updated successfully, but these errors were encountered: