Download Logger / If the device get disconnected during the download

Hi there,

I have set up some loggers and want to download them at a later stage when the Metawear is within the range. Will be downloading the logs from a laptop.

Task:

Lets says we have 1000 records in the device log. We run the read logger script. The logger script will store data (in laptops Local Storage) as soon as it receives a packet from the device.

Now the device gets disconnected during the download process (at the 400 record point). This can be any reason. EX: The device is not in the range or a connection error.

Question:

  1. Can we run the same script to get the remaining 600 logs during the next connect?
  2. What will happen to the remaining 600 logs?
  3. What's the best way to test this behaviour?

Please advise.

Comments

  • Can we run the same script to get the remaining 600 logs during the next connect? Yes
    What will happen to the remaining 600 logs? They stay in memory, they only get deleted after they are successful downloaded
    What's the best way to test this behaviour? Write a script

  • Thanks, Laura! All the tests went as expected.

Sign In or Register to comment.