- Wed Oct 14, 2015 11:34 am
#31336
caswal wrote:<...>
But I am not calling yield() anywhere, so if something in RTOS is catching up with me, and stalling. That could be it. I forgot to try it last night.
I'm nowhere certain that it will help you. I do it rather naturally as this is how uC RTOS get the single-thread back so that timer ticks can be allocated to another hosted process such as the RF stack.
Still not seeing any stability. I am hitting the module with about 30-50 packets a second, 768 bytes in each packet. Packets are only sent if an acknowledge packet has been received.
I have never utilized UDP broadcast for larger datagrams, I'm only sending about 70 character record per second. In theory, UDP should be faster than TCP since there is no overhead for packet out-of-sequence and retransmit. But, a quick search just now really does not provide any significant insight.
Even the small, portable, LiFePO4 powered OLED + ESP8266 UDP broadcast receiver seems quiet stable. I can understand the frustration you must be feeling but I honestly have no other suggestions of where to look for fixes.
I did a quick experiment yesterday by putting the ESP8266 into a tin coffee can and then shielding the opening excepting a small slit to view the display. Inside the Faraday shield, the unit lost contact with the attic broadcaster and the display stopped updating. Removing the unit from the steel can, it did not automatically restart. This is something I need to investigate further on some cold, rainy day.
Ray