|
RDK Documentation (Open Sourced RDK Components)
|
Go to the documentation of this file.
45 #ifndef HOSTIF_MOCA_INTERFACE_ASSOCIATEDDEVICE_H_
46 #define HOSTIF_MOCA_INTERFACE_ASSOCIATEDDEVICE_H_
49 #include "hostIf_tr69ReqHandler.h"
50 #include "hostIf_utils.h"
56 #define MAC_ADDRESS_LENGTH 24
57 #define VERSION_LENGTH 64
106 char m_i8MacAddress[MAC_ADDRESS_LENGTH];
107 unsigned int m_ui32NodeId;
109 char m_i8HighestVersion[VERSION_LENGTH];
110 unsigned int m_ui32PhyTxRate;
111 unsigned int m_ui32PhyRxRate;
112 unsigned int m_ui32TxPowerControlReduction;
113 int m_i32RxPowerLevel;
114 unsigned int m_ui32TxBcastRate;
115 int m_i32RxBcastPowerLevel;
116 unsigned int m_ui32TxPackets;
117 unsigned int m_ui32RxPackets;
118 unsigned int m_ui32RxErroredAndMissedPackets;
119 bool m_bQAM256Capable;
120 unsigned int m_ui32PacketAggregationCapability;
121 unsigned int m_ui32RxSNR;
127 static void closeInstance();
int get_MACAddress(HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
Get the MAC address of the associated device's MoCA interface.
int get_PHYRxRate(HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
Get the PHY receive rate (in Mbps) from this remote device.
int get_TxPowerControlReduction(HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
Get the reduction in transmitter level (in dB) due to power control.
int get_TxBcastRate(HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
Get the broadcast PHY transmit rate (in Mbps) from this remote device.
int get_RxPowerLevel(HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
Get the power level (in dBm) received at the MoCA interface from this remote device.
int get_RxErroredAndMissedPackets(HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
Get the number of errored and missed packets received from this remote device.
int get_PreferredNC(HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
Check whether the MoCA remote device is a preferred Network Coordinator (NC).
int get_HighestVersion(HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
Get the identifies the highest MoCA version that this remote device supports.
int get_PHYTxRate(HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
Get the PHY transmit rate (in Mbps) to this remote device.
int get_TxPackets(HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
Get the number of packets transmitted to this remote device (Note: Includes Broadcast,...
int get_PacketAggregationCapability(HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
Get the packet aggregation capability supported by the remote device. Standard values are 0 (no suppo...
int get_QAM256Capable(HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
Check whether this remote device supports the 256 QAM feature.
int get_RxPackets(HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
Get the number of packets received from this remote device (Note: Includes Broadcast,...
int get_RxSNR(HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
Get the signal to noise level (in dBm) received at this interface from this remote device.
int get_NodeID(HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
Get the Node ID of this remote device.
int get_Active(HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
Check whether or not this remote device is currently present in the MoCA network.
int get_RxBcastPowerLevel(HOSTIF_MsgData_t *stMsgData, unsigned int associatedDeviceNum, bool *pChanged=NULL)
Get the power level (in dBm) received at the MoCA interface from this remote device.