PreviousNext
AfterRouting
Help > Custom DPA Handler > Events > AfterRouting

[sync]   This event is called after the DPA Request was sent and (optional) Notification event and (optional) Interface Notification is sent. In any case, the packet routing of the original DPA Request is finished.

 

Please note that the RF channel is not defined but if it is changed by the user code (e.g. before calling DpaApiRfTxDpaPacket) its value must be restored. Also, note that the original DPA Request nor Response foursome, as well as DPA data, are not available anymore.

 

Example

 

 case DpaEvent_AfterRouting:

       if ( ramWritten )

       {

              ramWritten = FALSE;

              stopLEDR();

              stopLEDG();

       }

       return Carry;

 

☼ See example code CustomDpaHandler-PeripheralMemoryMapping.c for more details.