Sample MQTT program - simple send and receive
Dependencies:
C12832
MQTT
Dependents:
MQTT_G_SENSOR
2 comments:
The yield function still does not work with the timeout. Nucleo-F746ZG, Ethernet.
What did you do to solve it?
The yield function still does not work with the timeout. Nucleo-F746ZG, Ethernet.
What did you do to solve it?
Problem is in the MQTTNetwork.h is not passing the timeout correctly to socket:
After line 16: `int read(unsigned char* buffer, int len, int timeout)`
- Add line "socket->set_timeout(timeout);"
This fixes the problem of socket not timing out correctly.
The yield function still does not work with the timeout. Nucleo-F746ZG, Ethernet. What did you do to solve it?