RDK Documentation (Open Sourced RDK Components)

Description

Macros

#define TR69_BUF_MIN   64
 
#define TR69_BUF_MAX   1024
 
#define IARM_BUS_TR69_COMMON_API_AgentParameterHandler   "agentParameterHandler"
 
#define LOG_TR69HOSTIF   "LOG.RDK.TR69HOSTIF"
 
#define MAX_RETRY_LOOP   15
 

Typedefs

typedef bool(* fpIncomingTR69Request) (HOSTIF_MsgData_t *)
 TR69 Incoming Request function pointer. More...
 

Functions

faultCode_t TR69Bus_ProcessSharedMalloc (size_t, void **)
 
bool tr69Register (const char *, fpIncomingTR69Request)
 Starts the TR69 Register Callback. More...
 
IARM_Result_t _TR69AgentCallback_FuncWrapper (void *)
 Function Wrapper around fpIncomingTR69Request. More...
 
bool tr69UnRegister (const char *)
 TR69 UnRegister function. More...
 
bool tr69RequestComplete (HOSTIF_MsgData_t *)
 TR69 Request Complete function. More...
 

Variables

fpIncomingTR69Request tr69AgentCallback
 

Typedef Documentation

◆ fpIncomingTR69Request

typedef bool(* fpIncomingTR69Request) (HOSTIF_MsgData_t *)

TR69 Incoming Request function pointer.

This function passes the request info structure, parameter type and value .

Returns
bool true/false.

Definition at line 375 of file TR69BusAgent.h.

Function Documentation

◆ tr69Register()

bool tr69Register ( const char *  pOwnerName,
fpIncomingTR69Request  incomingTr69RequestCallback 
)

Starts the TR69 Register Callback.

This function registers and connects TR69 Bus Agent.

Returns
bool true/false.

Definition at line 98 of file TR69BusAgent.cpp.

◆ _TR69AgentCallback_FuncWrapper()

IARM_Result_t _TR69AgentCallback_FuncWrapper ( void *  arg)

Function Wrapper around fpIncomingTR69Request.

Returns
bool true/false.

Definition at line 75 of file TR69BusAgent.cpp.

◆ tr69UnRegister()

bool tr69UnRegister ( const char *  pOwnerName)

TR69 UnRegister function.

This function unregisters and disconnects TR69 Bus Agent.

Returns
bool true/false.

Definition at line 135 of file TR69BusAgent.cpp.

◆ tr69RequestComplete()

bool tr69RequestComplete ( HOSTIF_MsgData_t requestInfo)

TR69 Request Complete function.

This function is responsible to map the heap memory to process of requestinfo pointer from TR69 Bus Agents.

Returns
bool true/false.

Definition at line 146 of file TR69BusAgent.cpp.