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

richucj
Posts: 2
Joined: Sat Aug 08, 2020 5:46 pm

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

Postby richucj » Sun Aug 09, 2020 10:57 am

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

azz-zza
Posts: 45
Joined: Tue Sep 17, 2019 2:58 am

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

Postby azz-zza » Mon Aug 10, 2020 2:55 pm

maybe check the policy?

Who is online

Users browsing this forum: Google [Bot] and 67 guests