Versions Compared

Key

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

...

Overview

  • IR Manager is an application that publishes Remote Key events to other applications
  • IR Manager receives IR signals from driver and dispatches it to all registered listeners on IARM Bus
  • IR manager sends these IR events to other applications
      • IARM_BUS_IRMGR_EVENT_IRKEY

...

  • IR manager publishes two RPC Methods:
      • SetRepeatKeyInterval
      • GetRepeatKeyInterval

Events

IARM_BUS_IRMGR_EVENT_IRKEY

  • This macro is used to notify IR Key events.
Code Block
IARM_Bus_IRMgr_EventData_t eventData;
eventData.data.irkey.keyType = KET_KEYUP;
eventData.data.irkey.keyCode = prevEventData.data.irkey.keyCode;
IARM_Bus_BroadcastEvent(IARM_BUS_IRMGR_NAME,
		(IARM_EventId_t) IARM_BUS_IRMGR_EVENT_IRKEY, 
		(void*)&eventData, sizeof(eventData));

RPC Methods

IARM_BUS_IRMGR_API_SetRepeatInterval

  • This API is used to set the repeat key event interval.
Code Block
IARM_Bus_IRMgr_SetRepeatInterval_Param_t param;
param. timeout = 200; //200 milisec
IARM_Bus_Call (IARM_BUS_IRMGR_NAME,
		IARM_BUS_IRMGR_API_SetRepeatInterval, 
		(void *)&param, sizeof(param));

IARM_BUS_IRMGR_API_GetRepeatInterval

  • This is used to retrieve the current key repeat interval

...