% % check for Initial status or already configed % if the device is set to auto-listen, it might already be engaged % _Msg.Status _Devc.Initial and nonzero { % % the sequence number holds the current device configuration % _Msg.Seq 0xFFFF and !DevReport % % device is in initial status % turn on cloud or local service indicator on % while the other is shown dimly % _Msg.Status _Devc.Cloud and nonzero !Msys.IsCloud "Status:Error;Off" ind@ "Status:Outgoing;Dim" ind@ % % show cloud or local service indicators % *msysclod "Stable" true 1000 60000 *machisat } { % % not initial status or already configed % _DevFlags _Setup.Listen and nonzero _Msg.Status _Devc.Engaged and nonzero and { % % the device will not be initial mode, is engaged % "Device entered Engage mode, auto-listen" *machcomt % % device is in engaged status % turn on cloud or local service indicator on % while the other is shown dimly % _Msg.Status _Devc.Cloud and nonzero !Msys.IsCloud "Status:Error;Off" ind@ "Status:Outgoing;Dim" ind@ % % show cloud or local service indicators % *msysclod "Stable" true 1000 60000 *machisat } { *macherri } ifelse } ifelse