Hi again,
I am well acquainted with this document, and it seems to me that it does not answer the question I posed to you. Or I don’t get it right. I will try to raise the issue again.
First of all, comment that I use the mqtt protocol.
1st- I have a bluetooth temperature probe connected to the router.
2nd- The probe has an advetising period of 3 seconds. Therefore, for 60 seconds it sends 20 messages.
3rd - These messages are saved on the router, because if in the bluetooth section I do not check the save box, no data is sent to the server.
>>> Am I saying that right, so far? And a question I didn’t ask: are the data stored in memory? (1st question).
4rt- In the data to server section I decide that I want to send the data in object format and therefore I have to mark that I only want one segment.
5th - I set the sending period to 60 seconds.
6th - Because the probe sends new data every 3 seconds and the router saves all of them, between each sending, 20 readings are accumulated.
7th - Because I want to receive the data in object format and because with this format only 1 segment can be marked, the end result is that I receive in an instant and every 60 seconds, 20 mqtt messages.
8th - If instead of setting 1 segment I accepted all of them, every 60 seconds I would receive 1 single message with an array of 20 data.
9th - Neither of the above two situations satisfies me. So:
10th - Is it possible to only send the last reading of the probe? Or from each of the various probes I may have? This is the second question.
Thank you so much.
Best regards,
Raimon