Page 1 of 1

mqtt publish error | transport_read() error: errno=128 esp32

Posted: Sun Aug 09, 2020 10:57 am
by richucj
Hi all,
I am trying to send a message to dynamically created topic to mqtt.Topic is fetched from received message and known topic.
but when i send message i am getting error 128

Code: Select all

if(strstr(dataf, "check")){
              char *token=strtok(dataf,"check_");
              char topic[50]="vst/vend/vst002/";
              strcat(topic,token);
             msg_id = esp_mqtt_client_publish(client,sub_topic, "Tr", 0, 1, 0);
            }
please help me to sort out this issue.
Regards,
Richu

Re: mqtt publish error | transport_read() error: errno=128 esp32

Posted: Mon Aug 10, 2020 2:55 pm
by azz-zza
maybe check the policy?