DS Manager

Created on June 21, 2022


DS (Device Settings) Manager is responsible for managing the following operations,

  • Audio Output Ports (Volume, Mute, etc.)
  • Video Ouptut Ports (Resolutions, Aspect Ratio, etc.)
  • Front Panel Indicators
  • Zoom Settings
  • Display (Aspect Ratio, EDID data etc.)
  • General Host configuration (Power managements, event management etc.)

Events

IARM_BUS_DSMGR_EVENT_HDMI_HOTPLUG

  • Event to notify HDMI hotplug event ie: whether display is connected or not

IARM_BUS_DSMGR_EVENT_HDCP_STATUS

  • Event to notify whether HDCP is authenticated or not

IARM_Bus_DSMgr_EventData_t *eventData = (IARM_Bus_DSMgr_EventData_t *)data;
IARM_Bus_SYSMgr_EventData_t HDCPeventData;
int status = eventData->data.hdmi_hdcp.hdcpStatus;
/* HDCP is enabled */
HDCPeventData.data.systemStates.stateId = IARM_BUS_SYSMGR_SYSSTATE_HDCP_ENABLED;
HDCPeventData.data.systemStates.state = 1;
if (status == dsHDCP_STATUS_AUTHENTICATED )
{
	__TIMESTAMP();printf("Changed status to HDCP Authentication Pass !!!!!!!! ..rn");
	HDCPeventData.data.systemStates.state = 1;
}
else if (status == dsHDCP_STATUS_AUTHENTICATIONFAILURE )
{
	__TIMESTAMP();printf("Changed status to HDCP Authentication Fail !!!!!!!! ..rn");
	HDCPeventData.data.systemStates.state = 0;
}
IARM_Bus_BroadcastEvent(IARM_BUS_SYSMGR_NAME, (IARM_EventId_t) IARM_BUS_SYSMGR_EVENT_SYSTEMSTATE, (void *)&HDCPeventData, sizeof(HDCPeventData));

Go To Top