Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] example code - mqtt on cc3200

Hi Al,

I’m sorry there was a mistake on my last post. The place its getting stuck is in the MQTTWrite function (not MQTT Read) and the lines its getting stuck on is

do {
readySock = sl_Select(n->my_socket + 1, NULL, &fdset, NULL, &timeVal);
} while(readySock != 1);

readySock is always equal to 0. 

Also, I think I figured out where the hostname gets entered in. In the opts struct, it is the host element. So i set that to  “,”  but I’m still getting stuck in the while loop above. Any suggestions?


Back to the top