ESP8266 concurrent send & receive

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
spek
Posts: 1
Joined: Sat Oct 22, 2016 4:10 pm

ESP8266 concurrent send & receive

Post by spek » Sat Nov 19, 2016 2:03 pm

I'm been using esp8266 and lua for over a year. Made a decision 10 days ago to migrate to
micropython. I was hoping to port my MQTT apps to micropython, but has proven more
challenging than anticipated. I went in eyes wide open realizing micropython is a work
in progress. I am in awe of the progress made thus far.

I was unable to get umqtt to work consistently. So I reverted to using UDP sockets.
Sending data from e8266 no problem. Receiving UDP packets with blocking sockets no
problem. I Tried using non-blocking sockets, but select() is not supported.
I seem to be painted into a corner, I don't know how to concurrently send and receive
data via UDP .

Am I missing something obvious?

Post Reply