OLE Developer Guide  Latest Git
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Message Handler

Detailed Description

Handle messages from the Host.

Files

file  message_handler.h
 Handle messages from the Host.
 

Functions

void MessageHandler_Initialize (TransportTXFunction tx_cb)
 Initialize the Message Handler sub-system. More...
 
void MessageHandler_HandleMessage (const Message *message)
 Handle messages from the Host System. More...
 
void MessageHandler_TransceiverEvent (const TransceiverEvent *event)
 Handle notifications when the transceiver operations complete. More...
 

Function Documentation

void MessageHandler_HandleMessage ( const Message message)

Handle messages from the Host System.

Parameters
messageThe message to handle, ownership is not transferred. Invalidated once the call completes.
void MessageHandler_Initialize ( TransportTXFunction  tx_cb)

Initialize the Message Handler sub-system.

Parameters
tx_cbThe callback to use for sending messages.

If PIPELINE_TRANSPORT_TX is defined in app_pipeline.h, the macro will override the tx_cb argument.

void MessageHandler_TransceiverEvent ( const TransceiverEvent event)

Handle notifications when the transceiver operations complete.

Parameters
eventthe TransceiverEvent.
See also
TransceiverEventCallback.