|
RDK Documentation (Open Sourced RDK Components)
|
dtcp_result_t DTCPMgrInitialize(void)
Initializes the DTCP Manager.
@ DTCP_ERR_SERVER_NOT_REACHABLE
dtcp_result_t DTCPMgrDeleteDTCPSession(DTCP_SESSION_HANDLE session)
Deletes a DTCP-IP session.
dtcp_result_t DTCPMgrSetLogLevel(int level)
Sets log level.
dtcp_result_t
DTCP Manager return codes.
unsigned char BOOLEAN
DTCP Manager return codes.
DTCPDeviceType
DTCP-IP device types.
DTCPDeviceType device_type
DTCP_SESSION_HANDLE session_handle
struct DTCPIP_Session_s DTCPIP_Session
DTCP-IP session structure.
dtcp_result_t DTCPMgrCreateSourceSession(char *sinkIpAddress, int key_label, int PCPPacketSize, int maxPacketSize, DTCP_SESSION_HANDLE *handle)
Creates a new DTCP-IP source session.
dtcp_result_t DTCPMgrReleasePacket(DTCPIP_Packet *packet)
Releases a processed DTCP-IP packet.
@ DTCP_ERR_OUT_OF_SESSIONS
dtcp_result_t DTCPMgrGetSessionInfo(DTCP_SESSION_HANDLE handle, DTCPIP_Session *session)
Gets session information.
int DTCPMgrGetNumSessions(DTCPDeviceType deviceType)
Gets the number of active sessions.
@ DTCP_ERR_INVALID_CERTIFICATE
dtcp_result_t DTCPMgrStartSource(char *ifName, int portNum)
Starts the DTCP-IP source.
@ DTCP_ERR_NOT_INITIALIZED
dtcp_result_t DTCPMgrStopSource(void)
Stops the DTCP-IP source.
@ DTCP_ERR_INVALID_KEY_LABEL
DTCP-IP session structure.
struct DTCPIP_Packet_s DTCPIP_Packet
DTCP-IP packet stucture.
DTCP_SESSION_HANDLE session
dtcp_result_t DTCPMgrCreateSinkSession(char *srcIpAddress, int srcIpPort, BOOLEAN uniqueKey, int maxPacketSize, DTCP_SESSION_HANDLE *handle)
Creates a new DTCP-IP sink session.
dtcp_result_t DTCPMgrProcessPacket(DTCP_SESSION_HANDLE session, DTCPIP_Packet *packet)
Processes a DTCP-IP packet.
unsigned long DTCP_SESSION_HANDLE
DTCP-IP session handle.
@ DTCP_ERR_INVALID_IP_ADDRESS