RDK Documentation (Open Sourced RDK Components)
Implementation

Description

This is the implementation of the Device Public API.

Macros

#define QUERY_INTERVAL   5
 

Functions

static bool InstanceToIndex (unsigned int instanceNumber, unsigned int *_i, unsigned int *_j)
 
 X_RDKCENTRAL_COM_MeshTable::X_RDKCENTRAL_COM_MeshTable (int dev_id)
 
static class X_RDKCENTRAL_COM_MeshTableX_RDKCENTRAL_COM_MeshTable::getInstance (int dev_id)
 
static void X_RDKCENTRAL_COM_MeshTable::closeInstance (X_RDKCENTRAL_COM_MeshTable *)
 
static void X_RDKCENTRAL_COM_MeshTable::closeAllInstances ()
 
static GList * X_RDKCENTRAL_COM_MeshTable::getAllAssociateDevs ()
 
int X_RDKCENTRAL_COM_MeshTable::get_MeshTxNodeId (HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
 Get the node ID of the transmit MoCA node from MoCA Mesh table of MoCA connected device. More...
 
int X_RDKCENTRAL_COM_MeshTable::get_MeshRxNodeId (HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
 Get the node ID of the receive MoCA node from MoCA mesh table of MoCA connected device. More...
 
int X_RDKCENTRAL_COM_MeshTable::get_MeshPHYTxRate (HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
 Get the Associated Device's presence indicator. More...
 
int X_RDKCENTRAL_COM_MeshTable::get_BondedChannel (HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
 

Variables

static RMH_NodeMesh_Uint32_t gResponse
 
static RMH_NodeMesh_Uint32_t gResBondedConn
 
static time_t firstExTime = 0
 
static GHashTable * X_RDKCENTRAL_COM_MeshTable::ifHash = NULL
 

Function Documentation

◆ get_MeshTxNodeId()

int X_RDKCENTRAL_COM_MeshTable::get_MeshTxNodeId ( HOSTIF_MsgData_t stMsgData,
unsigned int  associatedDeviceNum,
bool *  pChanged = NULL 
)

Get the node ID of the transmit MoCA node from MoCA Mesh table of MoCA connected device.

This function provides the transmit node ID of connected MoCA nodes.

Note
This parameter is based on mocaMeshTxNodeIndex from [MOCA11-MIB]..

See TR-069 Device.MoCA.Interface.AssociatedDevice object Getter API

Definition at line 155 of file Device_MoCA_Interface_X_RDKCENTRAL_COM_MeshTable.cpp.

◆ get_MeshRxNodeId()

int X_RDKCENTRAL_COM_MeshTable::get_MeshRxNodeId ( HOSTIF_MsgData_t stMsgData,
unsigned int  associatedDeviceNum,
bool *  pChanged = NULL 
)

Get the node ID of the receive MoCA node from MoCA mesh table of MoCA connected device.

This function provides the The node ID of the receive MoCA node.

Note
This parameter is based on mocaMeshRxNodeIndex from [MOCA11-MIB]..

See TR-069 Device.MoCA.Interface.AssociatedDevice object Getter API

Definition at line 178 of file Device_MoCA_Interface_X_RDKCENTRAL_COM_MeshTable.cpp.

◆ get_MeshPHYTxRate()

int X_RDKCENTRAL_COM_MeshTable::get_MeshPHYTxRate ( HOSTIF_MsgData_t stMsgData,
unsigned int  associatedDeviceNum,
bool *  pChanged = NULL 
)

Get the Associated Device's presence indicator.

This function provides a the PHY transmit rate (in Mbps) from the MoCA node identified by MeshTxNodeId to the MoCA node identified by MeshRxNodeId. This associated remote device is currently present in this MoCA network.

Note
This parameter is based on mocaMeshTxRate from [MOCA11-MIB].

For 50MHz (MoCA 1.1 profile):

phy rate = (OFDMb *46) / (256 + ((2 * GAP) + 10)) ex: OFDMb = 1677, GAP = 12 phy rate = (1677 * 46) / (256 + ((2 * 12) + 10)) = 77142 / 290 = 266 Mbps

See TR-069 Device.MoCA.Interface.AssociatedDevice object Getter API

Definition at line 201 of file Device_MoCA_Interface_X_RDKCENTRAL_COM_MeshTable.cpp.