Picture of Paolo 549
Registered 14 years 21 days
Paolo 549 Wednesday, 15 October 2014, 05:34 PM
Update
Could you insert a variable or a link to a text file stored in CF Card to specify the serial number, i.e.:

It should be:

mod cmd UP0 prot http://192.168.0.10/firm/ip1200.bin ireset http://192.168.0.10/firm/serial.txt

where serial.txt contains the text 04-5656

Instead then the actual sintax:
mod cmd UP0 prot http://192.168.0.10/firm/ip1200.bin ireset 04-5656

In this way it would require to edit only the file serial.txt to get the innovaphone devices updated to the last firmware version.

Regards
Picture of Christoph Künkel (innovaphone)
Moderator Registered 15 years 132 days
Christoph Künkel (innovaphone) Friday, 17 October 2014, 12:56 PM
Re: Update
Paolo,

I think you can already do this today. So I will move this suggestion to the discussion forum and we can sort it out there smile


Christoph
Picture of Christoph Künkel (innovaphone)
Moderator Registered 15 years 132 days
Christoph Künkel (innovaphone) Friday, 17 October 2014, 01:05 PM in response to Paolo 549
1 of 1 users consider this post helpful
Re: Update
So here is how I think you could proceed:

  • the setvar command allows you to store variables
  • these can be (under the control of the replace command) substituted in other commands using the #(var) syntax
  • you can source a central file using the cfg command
  • this file includes your setvar settings

In your update script you would have something like

mod cmd UP0 prot http://192.168.0.10/firm/#(firm)/ 
Does that fit your requirements?

The update script syntax is ugly but quite powerful smile

Best Regards, Christoph
← You can define your color theme preference here