emqx / neuron

Open source industrial IoT connectivity server
https://neugates.io
GNU Lesser General Public License v3.0
953 stars 210 forks source link

How to send MQTT at internals less than 100ms? #2065

Closed leo-leonardo closed 1 month ago

leo-leonardo commented 1 month ago

How to send MQTT collection message less than 100ms internal?

In neuron-dashboard, I try to increase the frequency sending MQTT message of South-Devices to MQTT broker. But when I set the intenal=20ms, an error message is shown to tell me the minimum of internal is 100.

Please tell me how to set the internal or where (or which file) I can modify the source code. Any tip might be helpful.

image-20240603151625464

fengzeroz commented 1 month ago

The release version of the data frequency is limited to 100ms, you can modify the code to remove this limitation.

leo-leonardo commented 1 month ago

The release version of the data frequency is limited to 100ms, you can modify the code to remove this limitation.

Thanks for your clue! I found the config value at mqtt_client.h.