Page 1 of 1

UDP instead of MQTT

Posted: Wed Sep 12, 2018 5:49 pm
by newb

I've got esp8266-01 (1mb) which I intend to use as a wifi button. The esp-01 will notify for button press a raspberry pi, where raspberry pi will be in AP mode and esp-01 in workstation mode. There won't be internet or router connections i.e. it will be a closed network.

My question is if it's a good idea to send button press event over UDP rather than MQTT. The RPi will send back to the esp-01 some basic info as well. My concern is if esp-01 will have enough memory to utilise MQTT client without freezing the module (I've never compiled micropython before).