OLE Developer Guide  Latest Git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
rdm_model.h File Reference

Detailed Description

The API for an RDM Model implementation.

In combination with the RDMHandler, the Model API provides a flexible method of supporting multiple RDM models on a single physical device. Only one model may be active at once.

Each model provides a ModelEntry struct, which contains function pointers for the model's implementation. To add a new model, implement the functions within ModelEntry and then add the ModelEntry to the RDMHandler by calling RDMHandler_AddModel().

Include dependency graph for rdm_model.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ModelEntry
 The function table entry for a particular responder model. More...
 

Enumerations

enum  ResponderModel {
  NULL_MODEL_ID = 0x0000, LED_MODEL_ID = 0x0100, PROXY_MODEL_ID = 0x0101, MOVING_LIGHT_MODEL_ID = 0x0102,
  SENSOR_MODEL_ID = 0x0103, NETWORK_MODEL_ID = 0x0104, DIMMER_MODEL_ID = 0x0105, PROXY_CHILD_MODEL_ID = 0x0106
}
 The Model IDs. More...
 
enum  ModelIoctl { IOCTL_GET_UID }
 Model ioctl enums. More...