Questions on presets / Firmware upgrade

Dan Morphis dan at milkcarton.com
Wed May 2 07:26:10 EDT 2018


Comments below. 

-dan

> So, If I put "-0 BOOTSTRAP, -1 BOOT" will it mean any event except these
> two?
> 
Yes
>>> 5. If we put two events separated by comma (1 BOOT, 2 PERIODIC), will
>>> a preset be executed in case of any of these events of both events
>>> should be present as in the following example:
>> Both events have to be present for the preset to apply.
> So, It's a strict match. Is there any way to apply a preset if at least
> one of the events matches? (instead of repeating the same preset several
> times with different "Events").
Not right now. There aren’t that many combination of events that actually happen in the wide. 
> 
> Another quick question here:
> 
> In my case with a reboot, Event object looks like this:
> 
> <Event SOAP-ENC:arrayType="cwmp:EventStruct[2]">
>     <EventStruct>
>         <EventCode>1 BOOT</EventCode>
>         <CommandKey></CommandKey>
>     </EventStruct>
>     <EventStruct>
>         <EventCode>M Reboot</EventCode>
>         <CommandKey></CommandKey>
>     </EventStruct>
> </Event>
> 
> I tried to match it with "1 BOOT, M Reboot" without any luck. What did I
> miss?

Don’t be so strict 😄. Match on just the reboot, in reality that’s what you’re going to care about. 

-dan


More information about the Users mailing list