Has STREAM been streamlined yet for communications from Node to the Gateway?
I am trying to implement the streaming of backlog messages from a Node/Repeater to the Gateway/Repeater and trying to understand whether the sending of image data or any other bigger data (> 5x-1000x payload size ~ 50KB+) has been incorporated in the core as yet? especially on the lines (or similar) of recommendations made by @Oitzu [header optimizations] above...
Are we considering Node Message Streaming in (very ) near future? That would be a very important feature for the resilience of the MySensors platform...
@vikasjee as far as I know the OTA firmware updates use streaming of larger blocks of data, so yes, it is supported by the framework!
@Yveaux OTA F/W updates are from Controller to Node, but what about the reverse route - from Node to Controller/Gateway etc.
@vikasjee stream is part of the network protocol, there is no difference in the direction data is flowing.
However, be very careful when trying to push large amounts of data through the MySensors network. It was never designed for this and expect performance to be poor.
I personally think wifi (esp8266) would be a better solution for this.
@Yveaux, Thanks for the clarification on stream direction. I will search the right functions for it.
For the "largeness" of data thing, Will a, say, 5Kb-50Kb (150-1500 buffered messages) be large to be streamed over nRF24 from node/repeater to controller/gw?
For the "largeness" of data thing, Will a, say, 5Kb-50Kb (150-1500 buffered messages) be large to be streamed over nRF24 from node to controller/gw?
Yes, especially if the connection quality is not perfect a lot of retries will increase the amount of messages even further.
@Yveaux , ohk! BTW, Is there any Repetition check and discard function in the library or atleast a way to do that?