Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
sdk:scripts:techsupport [2021/03/25 22:59]
juraschek
sdk:scripts:techsupport [2021/03/25 23:00]
juraschek
Line 29: Line 29:
  
 For storing more than one techsupport in the internal flash use following script For storing more than one techsupport in the internal flash use following script
 +:
  
 <code c techsupport_subdir.are>​ <code c techsupport_subdir.are>​
 +
 path="​ts";​ path="​ts";​
 dh=opendir(path);​ dh=opendir(path);​
Line 47: Line 48:
 if(r>0) nb_syslog(sprintf("​Created Techsupport-File with size %i kByte /​%s/​ts_%s.zip",​r/​1024,​path,​timestamp));​ if(r>0) nb_syslog(sprintf("​Created Techsupport-File with size %i kByte /​%s/​ts_%s.zip",​r/​1024,​path,​timestamp));​
 if(r<​0)nb_syslog("​FAIL:​ Could not create Techsupport File"​);​ if(r<​0)nb_syslog("​FAIL:​ Could not create Techsupport File"​);​
-<code?+ 
 +</code>