dzavalishin / mqtt_udp

Simpified version of MQTT over UDP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Throttle send in gateways

dzavalishin opened this issue · comments

Slow devices loose data if UDP packets are sent too fast. Wemos D1 mini, for example.

set_throttle( msec )

  • python
  • java
  • lua
  • c

It seems that Wemos can't recv faster than 10 pckts/sec. Possibly due to a debug prints.
Set default to 100 msec

Add const time between packets to defs

unsure is it possible in Lua on lib side at all due to NodeMCU limitations