Save strings in files or Legato API?

Hello all,
my device send gps position while moving over network (using sockets), i want to be able to save data when network is absent or not enough for network connection. What can be the best approach to save strings (nmea sentences) for a later send? Files? usually i get a string every 2 seconds… and i can save to file then later zip and send this file… is this the right way or I can use some built-in API ?

Br
Gianmaria

It seems to be ok …

you can use this zip tool:

1 Like

Thank you so much for your help. I see already have gzip onboard… maybe can use that?

Gianmaria

I think so, both should be ok

1 Like