Data collection demo need to be updated in order to send N logs every M seconds with up to K iterations. User should be able to specify N, M and K parameters as a constant during compilation or via command line (preferably).
By default, values of N, M and K should be 5, 1, and smth like 2^15-1.
Let's also update sample code to use new built-in log upload strategy and upload as soon as N records are pending, however, keep N records no longer then M seconds.
This is more useful for tests and demonstration purposes.