MQTT messages are not published anymore as soon as I unplug the ethernet cable.
The broker seems to buffer all messages, but it does not send them if there is no network reachable (no ethernet or wifi connection).
As soon as I plug the cable back in again, the buffered messages are then sent all at once.
i use kernel 3.10.17 .
the problem is not reproduced with kernel 4.19.
step to reproduce :
1/ plugged ethernet
2/ run mosquitto -c /etc/mosquitto/mosquitto.conf -v -d
3/ subscribe to a topic: mosquitto_sub -h localhost -t topic/message &
4/ Publish => OK (I get the message): mosquitto_pub -h localhost -m "hello" -t topic/message -d
5/unplugged ethernet
6/Publish => NOK (I don't get the message)
I don't think the problem is related to bsp since the problem seen with mosquitto 1.4.14 and not seen with 1.5.8
Thank you for contacting NXP support!
Please try the latest bsp 5.15.71, since your kernel version is not supported, you may try the latest one.