Hi,
Which is best way to use mqtt in terms of efficiency (or most performance for arduino in terms of resources)?
I am using a due to read couple of sensors and then send values over mqtt to a nodered. My question is which variant is best to use?
1 - Send each value in a separate topic? In this way I will call many times routine for send.
2 - Read all values and send 1 message like "value1 | value2 | valuen..." and split it in node red side?