frequency_listener generic_message_link
API Reference Manual  /  4 Model-to-Model Interfaces  / 

generic_message_device

Description
SIM_INTERFACE(generic_message_device) {
        void (*receive_frame)(conf_object_t *dev, conf_object_t *link,
                              dbuffer_t *frame);
};

#define GENERIC_MESSAGE_DEVICE_INTERFACE "generic_message_device"

This interface is implemented by generic message device objects that connect to generic-message-link objects. It is used by the link object to send messages to the device object. The link should implement the generic_message_link interface.

The receive_frame function is called by the link to send a frame to the device. The frame is passed as a dbuffer_t pointer that may not be modified without cloning it first.

Execution Context
receive_frameCell Context

frequency_listener generic_message_link