C
void MiApp_DiscardMessage();
Description
This is the primary user interface functions for the application layer to discard the current active message, release the system resources used and ready to receive the next message. It is must be called after finish handling the message, otherwise, no further message can be received.
Preconditions
Protocol initialization has been done. A message has been received by the application layer.
Returns
None
Remarks
None
Example
if( TRUE == MiApp_MessageAvailable() ) { // handle the received message in global variable RxMessage // discard the received message after processing MiApp_DiscardMessage(); }