PreviousNext
Indicate
Help > Custom DPA Handler > Events > Indicate

[sync] This event is raised at [N] before the embedded [sync] Indicate command is executed i.e. after the IQMESH routing is finished. When the event handler returns FALSE, the default indication is processed.

The event handler may return TRUE to implement a custom indication according to the Control byte of the Indicate command passed at the userReg1 variable (only valid bits of Control byte are passed) and to skip the default device indication. Please see this example for the recommended implementation. If the device indication is to be off when the device sleeps, the BeforeSleep event must be handled too.

 

See example CustomDpaHandler-CustomIndicate.c for more details.