Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 A RPC method is like a regular method in its declaration. It may or may not have input or output arguments. If a RPC method has any input or output argument, the data types must be declared so that other applications can invoke the method properly. The data structure should be a C structure that includes both input and output parameters.

...

Note
The argument structure cannot have pointers. The sizeof() operator applied on the Param_t must equal to the actual memory allocated. Internally an equivalent of memcpy() is used to dispatch parameters its target. If a pointer is used in the parameters, the pointer, not the content it points to, is sent to the destination.


 In our example, IR Manager declares this data structure as argument type for the SetRepeatInterval method.

...

Executable name is IARMDaemonMain. The IARM Bus Daemon is a Manager Component with special previledgesprivilegesImportant

Note

...

This Daemon component must be run before any other IARM-Bus application.

IR Manager

Executable ManagerExecutable name is irMgrMain. This manager receives IR signals from driver and dispatch it to all registered listeners on IARM Bus. The standard IR key codes sent by IR Manager are listed in core/ir/comcastIRKeyCodes.h.

...

  • libIARMBus.so is at a known library path.
  • Daemon process IARMDaemonMain is running.
    • ps –aef | grep IARMDaemonMain
    • You see log message "Bus Daemon HeartBeat" on console or /opt/logs/uimgr_log.txt.