C
Description
This is the primary user interface function for the application layer to broadcast a message. The application payload is filled in the global char array TxBuffer.
Preconditions
Protocol initialization has been done.
Parameters
Parameters |
Description |
BOOL SecEn |
The boolean indicates if the application payload needs to be secured before transmission. |
Returns
A boolean to indicates if the broadcast procedure is succcessful.
Remarks
None
Example
// Secure and then broadcast the message stored in TxBuffer
MiApp_BroadcastPacket(TRUE);