Re: Native MQTT client library for ESP8266
Posted: Wed Jan 07, 2015 12:27 pm
ho can i send data to the broker? i didn't find wiki.
the code is not working
the code is not working
Code: Select all
char dataBuf[64];
memcpy(dataBuf,"esptest",strlen("esptest"));
int data_len=strlen(dataBuf);
MQTT_Publish(&mqttClient, "/test/", dataBuf, data_len, 1, 1);