← Back to team overview

mosquitto-dev team mailing list archive

[Question #135475]: MQTT CONNECT command not working while sending CONNECT message through wireless modem


New question #135475 on mosquitto:

While sending CONNECT message through wireless modem, we found that MQTT CONNECT command not going through. By debugging the mosquitto we found that the control is not going inside the "if" condition 			if(pollfds[int_db.contexts[i]->core.sock].revents & POLLIN){ in the static function loop_handle_reads_writes inside the file src/mosquitto.c. Can you please tell why pollfds[int_db.contexts[i]->core.sock].revents variable didn't contain POLLIN value while sending CONNECT data through wireless modem? 

Any help is really appreciated.



You received this question notification because you are a member of
Mosquitto Dev, which is an answer contact for mosquitto.