RDK Documentation (Open Sourced RDK Components)
|
Functions | |
RMH_Result | RMH_Self_GetEnabled (const RMH_Handle handle, bool *response) |
Return if the MoCA driver is actively connected to or attempting to connect to a MoCA network. More... | |
RMH_Result | RMH_Self_SetEnabled (const RMH_Handle handle, const bool value) |
Enable or disable the MoCA driver to connect to a MoCA network. Once enabled the driver will use whatever parameters it has been configured for. More... | |
RMH_Result | RMH_Self_GetMoCALinkUp (const RMH_Handle handle, bool *response) |
Check if this device is actively connected to a MoCA network. If so, RMH_Network and RMH_Remote APIs will then be valid to call. More... | |
RMH_Result | RMH_Self_GetLOF (const RMH_Handle handle, uint32_t *response) |
The last frequency on which this device operated. More... | |
RMH_Result | RMH_Self_SetLOF (const RMH_Handle handle, const uint32_t value) |
Manually set the last operating frequency of the device. More... | |
RMH_Result | RMH_Self_GetScanLOFOnly (const RMH_Handle handle, bool *response) |
Return if the device is scanning only the last operating frequency when attempting to establish a connection to a MoCA network. More... | |
RMH_Result | RMH_Self_SetScanLOFOnly (const RMH_Handle handle, const bool value) |
Indicate if the device should join networks only on the last operating frequency. More... | |
RMH_Result | RMH_Self_GetPreferredNCEnabled (const RMH_Handle handle, bool *response) |
Return if this device is a preferred NC. More... | |
RMH_Result | RMH_Self_SetPreferredNCEnabled (const RMH_Handle handle, const bool value) |
Enable or disable preferred NC on this device. More... | |
RMH_Result | RMH_Self_GetPrimaryChannelOffset (const RMH_Handle handle, int32_t *response) |
TBD [mocaIfPrimaryChannelOffset]. More... | |
RMH_Result | RMH_Self_SetPrimaryChannelOffset (const RMH_Handle handle, const int32_t value) |
TBD [mocaIfSecondaryChannelOffset]. More... | |
RMH_Result | RMH_Self_GetSecondaryChannelOffset (const RMH_Handle handle, int32_t *response) |
TBD [mocaIfSecondaryChannelOffset]. More... | |
RMH_Result | RMH_Self_SetSecondaryChannelOffset (const RMH_Handle handle, const int32_t value) |
TBD [mocaIfSecondaryChannelOffset]. More... | |
RMH_Result | RMH_Self_GetSoftwareVersion (const RMH_Handle handle, char *responseBuf, const size_t responseBufSize) |
Return the version of software being used by the MoCA driver on this device. [mocaIfSoftwareVersion]. More... | |
RMH_Result | RMH_Self_GetHighestSupportedMoCAVersion (const RMH_Handle handle, RMH_MoCAVersion *response) |
Return the highest version of MoCA supported by the MoCA driver on this device. [mocaIfMocaVersion]. More... | |
RMH_Result | RMH_Self_GetFrequencyMask (const RMH_Handle handle, uint32_t *response) |
Gets the bit mask of frequencies the device used during the listening phase of network search. More... | |
RMH_Result | RMH_Self_SetFrequencyMask (const RMH_Handle handle, const uint32_t value) |
Set the bit mask for specifying which frequencies should be scanned during the listening phase of network search. More... | |
RMH_Result | RMH_Self_GetMaxPacketAggregation (const RMH_Handle handle, uint32_t *response) |
Get the maximum number of packets this device will aggregate. More... | |
RMH_Result | RMH_Self_SetMaxPacketAggregation (const RMH_Handle handle, const uint32_t value) |
Set the maximum allowed packets for aggregated transmissions. More... | |
RMH_Result | RMH_Self_GetMaxFrameSize (const RMH_Handle handle, uint32_t *response) |
The maximum number of bytes this node can receive in one frame. More... | |
RMH_Result | RMH_Self_SetMaxFrameSize (const RMH_Handle handle, const uint32_t value) |
Set the maximum number of bytes this node can receive in one frame (aggregated transmission). More... | |
RMH_Result | RMH_Self_GetLowBandwidthLimit (const RMH_Handle handle, uint32_t *response) |
Get the current lower limit for PHY rate between two nodes. More... | |
RMH_Result | RMH_Self_SetLowBandwidthLimit (const RMH_Handle handle, const uint32_t value) |
Set the lower threshold for the PHY link bandwidth between two nodes. More... | |
RMH_Result | RMH_Self_GetMaxBitrate (const RMH_Handle handle, uint32_t *response) |
The maximum PHY rate supported in non-turbo mode. More... | |
RMH_Result | RMH_Self_SetTxPowerLimit (const RMH_Handle handle, const int32_t value) |
Set the maximum transmitter power level for this device. More... | |
RMH_Result | RMH_Self_GetTxPowerLimit (const RMH_Handle handle, int32_t *response) |
Returns the maximum transmitter power level for this device. More... | |
RMH_Result | RMH_Self_GetSupportedFrequencies (const RMH_Handle handle, uint32_t *responseArray, const size_t responseArraySize, size_t *responseArrayUsed) |
Return a list of frequencies in the band used by this node. More... | |
RMH_Result | RMH_Self_GetSupportedBand (const RMH_Handle handle, RMH_Band *response) |
Return the band supported by the MoCA device. [mocaIfSupportedBands]. More... | |
RMH_Result | RMH_Self_GetQAM256Enabled (const RMH_Handle handle, bool *response) |
Return if this device is set as QAM256 capable in admission negotiations. More... | |
RMH_Result | RMH_Self_SetQAM256Enabled (const RMH_Handle handle, const bool value) |
Enable or disable the QAM256 ability in admission negotiations. More... | |
RMH_Result | RMH_Self_GetQAM256TargetPhyRate (const RMH_Handle handle, uint32_t *response) |
Get the target PHY rate in Mbps. More... | |
RMH_Result | RMH_Self_SetQAM256TargetPhyRate (const RMH_Handle handle, const uint32_t value) |
Set the target PHY rate in Mbps. More... | |
RMH_Result | RMH_Self_GetTurboEnabled (const RMH_Handle handle, bool *response) |
Return if turbo mode is enabled on this device. More... | |
RMH_Result | RMH_Self_SetTurboEnabled (const RMH_Handle handle, const bool value) |
Enable or disable turbo mode on this device. More... | |
RMH_Result | RMH_Self_GetBondingEnabled (const RMH_Handle handle, bool *response) |
Return if bonding mode is enabled on this device. More... | |
RMH_Result | RMH_Self_SetBondingEnabled (const RMH_Handle handle, const bool value) |
Enable or disable bonding mode on this device. More... | |
RMH_Result | RMH_Self_GetPrivacyEnabled (const RMH_Handle handle, bool *response) |
Return if MoCA privacy is enabled on this device. More... | |
RMH_Result | RMH_Self_SetPrivacyEnabled (const RMH_Handle handle, const bool value) |
Enable or disable MoCA privacy on this device. More... | |
RMH_Result | RMH_Self_GetPrivacyPassword (const RMH_Handle handle, char *responseBuf, const size_t responseBufSize) |
Get the current MoCA privacy password. More... | |
RMH_Result | RMH_Self_SetPrivacyPassword (const RMH_Handle handle, const char *value) |
Set the network password used to generate privacy keys. More... | |
RMH_Result | RMH_Self_GetPrivacyMACManagementKey (RMH_Handle handle, char *responseBuf, const size_t responseBufSize) |
Get the SHA1 hash of the MoCA password as an ASCII string. [mocaIfPasswordHash]. More... | |
RMH_Result | RMH_Self_GetRDKInteroperabilityIFGEnabled (const RMH_Handle handle, bool *response) |
Return if the RDK specific inter-frame gap of 10us is enabled on this device. More... | |
RMH_Result | RMH_Self_SetRDKInteroperabilityIFGEnabled (const RMH_Handle handle, const bool value) |
Enable or disable the RDK specific inter-frame gap of 10us. More... | |
RMH_Result | RMH_Self_GetTabooChannels (const RMH_Handle handle, uint32_t *channelMaskStart, uint32_t *channelMask) |
Return which channels will be taboo on this device. More... | |
RMH_Result | RMH_Self_SetTabooChannels (const RMH_Handle handle, const uint32_t channelMaskStart, const uint32_t channelMask) |
Set which channels will be taboo on this device. More... | |
RMH_Result | RMH_Self_RestoreDefaultSettings (const RMH_Handle handle) |
Return this device to its default configuration. More... | |
RMH_Result | RMH_Self_GetMaxAllocationElements (const RMH_Handle handle, uint32_t *response) |
Return the maximum number of allocation elements, excluding the TAUs and the Dummy DAUs, in one MAP the Node can process [mocaIfAeNumber]. More... | |
RMH_Result | RMH_Self_GetLastResetReason (const RMH_Handle handle, RMH_MoCAResetReason *response) |
Return the reason for the most recent link reset [mocaIfResetReason]. More... | |
RMH_Result | RMH_Interface_GetName (const RMH_Handle handle, char *responseBuf, const size_t responseBufSize) |
Return the Linux interface name associated with the MoCA device. [mocaIfName]. More... | |
RMH_Result | RMH_Interface_GetMac (const RMH_Handle handle, RMH_MacAddress_t *response) |
Return the MAC address associated with this MoCA device. [mocaIfMacAddress]. More... | |
RMH_Result | RMH_Interface_SetMac (const RMH_Handle handle, const RMH_MacAddress_t value) |
Set the MAC address associated with this MoCA device. More... | |
RMH_Result | RMH_Power_GetMode (const RMH_Handle handle, RMH_PowerMode *response) |
Return the current MoCA power state of this device. More... | |
RMH_Result | RMH_Power_GetSupportedModes (const RMH_Handle handle, uint32_t *response) |
Return a bitmask of RMH_PowerMode indicating all MoCA power modes supported by this device mocaIfPowerStateCap. More... | |
RMH_Result | RMH_Power_GetTxPowerControlEnabled (const RMH_Handle handle, bool *response) |
Return if transmit power control is enabled or disabled for this device. More... | |
RMH_Result | RMH_Power_SetTxPowerControlEnabled (const RMH_Handle handle, const bool value) |
Enable or disable if transmit power control is enabled for this device. More... | |
RMH_Result | RMH_Power_GetTxBeaconPowerReductionEnabled (const RMH_Handle handle, bool *response) |
Return if beacon power reduction is enabled on this device. More... | |
RMH_Result | RMH_Power_SetTxBeaconPowerReductionEnabled (const RMH_Handle handle, const bool value) |
Enable or disable if beacon power reduction on this device. More... | |
RMH_Result | RMH_Power_GetTxBeaconPowerReduction (const RMH_Handle handle, uint32_t *response) |
Return the power control back-off used by this node for transmitting beacons. More... | |
RMH_Result | RMH_Power_SetTxBeaconPowerReduction (const RMH_Handle handle, const uint32_t value) |
Set the power control back-off used by this node for transmitting beacons. More... | |
RMH_Result | RMH_Network_GetNumNodes (const RMH_Handle handle, uint32_t *response) |
Return the number of MoCA nodes in the network. [mocaIfNumNodes]. More... | |
RMH_Result | RMH_Network_GetNodeId (const RMH_Handle handle, uint32_t *response) |
Return the node ID of this device. More... | |
RMH_Result | RMH_Network_GetNodeIds (const RMH_Handle handle, RMH_NodeList_Uint32_t *response) |
Return a list of every node ID on the network. More... | |
RMH_Result | RMH_Network_GetRemoteNodeIds (const RMH_Handle handle, RMH_NodeList_Uint32_t *response) |
Return a list of every node ID on the network. More... | |
RMH_Result | RMH_Network_GetNCNodeId (const RMH_Handle handle, uint32_t *response) |
Return the node ID of the network coordinator. [mocaIfNC]. More... | |
RMH_Result | RMH_Network_GetBackupNCNodeId (const RMH_Handle handle, uint32_t *response) |
Return the node ID of the backup network coordinator [mocaIfBackupNC]. More... | |
RMH_Result | RMH_Network_GetNCMac (const RMH_Handle handle, RMH_MacAddress_t *response) |
Return the MAC address of the network coordinator. More... | |
RMH_Result | RMH_Network_GetLinkUptime (const RMH_Handle handle, uint32_t *response) |
Returns the amount of time this node has been part of the MoCA network [mocaIfLinkUpTime]. More... | |
RMH_Result | RMH_Network_GetResetCount (const RMH_Handle handle, uint32_t *response) |
Returns the number of times the MoCA link has gone down since the last boot. [mocaIfResetCount]. More... | |
RMH_Result | RMH_Network_GetLinkDownCount (const RMH_Handle handle, uint32_t *response) |
Returns the number of times the MoCA link has gone down since the last boot [mocaIfLinkDownCount]. More... | |
RMH_Result | RMH_Network_GetMixedMode (const RMH_Handle handle, bool *response) |
Check if the MoCA network contains both 1.1 and 2.0 nodes. More... | |
RMH_Result | RMH_Network_GetRFChannelFreq (const RMH_Handle handle, uint32_t *response) |
Return the frequency which the MoCA network is operating on. [mocaIfRFChannel]. More... | |
RMH_Result | RMH_Network_GetPrimaryChannelFreq (const RMH_Handle handle, uint32_t *response) |
Return the primary MoCA 2.0 channel. More... | |
RMH_Result | RMH_Network_GetSecondaryChannelFreq (const RMH_Handle handle, uint32_t *response) |
Return the secondary MoCA 2.0 channel. More... | |
RMH_Result | RMH_Network_GetMoCAVersion (const RMH_Handle handle, RMH_MoCAVersion *response) |
Return the version of MoCA under which the network is operating. [mocaIfNetworkVersion]. More... | |
RMH_Result | RMH_Network_GetTxBroadcastPhyRate (const RMH_Handle handle, uint32_t *response) |
Return the PHY rate at which broadcast packets are transmitted from this node. More... | |
RMH_Result | RMH_Network_GetTxGCDPhyRate (const RMH_Handle handle, uint32_t *response) |
Return the GCD PHY rate which packets are transmitted from this node. More... | |
RMH_Result | RMH_Network_GetTxMapPhyRate (const RMH_Handle handle, uint32_t *response) |
Return the PHY rate at which MAP packets are transmitted from this node. More... | |
RMH_Result | RMH_Network_GetTxGcdPowerReduction (const RMH_Handle handle, uint32_t *response) |
The transmit power control back-off used for broadcast transmissions from this node. [mocaIfTxGcdPowerReduction]. More... | |
RMH_Result | RMH_Network_GetTabooChannels (const RMH_Handle handle, uint32_t *channelMaskStart, uint32_t *channelMask) |
Return which beacon channels will be taboo on this device. More... | |
RMH_Result | RMH_Network_GetTxUnicastPhyRate (const RMH_Handle handle, RMH_NodeMesh_Uint32_t *response) |
Return the unicast transmit PHY rates between all nodes on the network. More... | |
RMH_Result | RMH_Network_GetTxVLPER (const RMH_Handle handle, RMH_NodeMesh_Uint32_t *response) |
Return the transmit VLPER (Very Low Packet Error Rate) PHY rates between all MoCA 2.0 nodes on the network. More... | |
RMH_Result | RMH_Network_GetTxNPER (const RMH_Handle handle, RMH_NodeMesh_Uint32_t *response) |
Return the transmit NPER (Nominal Packet Error Rate) PHY rates from all MoCA 2.0 nodes on the network. More... | |
RMH_Result | RMH_Network_GetBitLoadingInfo (const RMH_Handle handle, RMH_NodeMesh_Uint32_t *response) |
Returns the bit loading information. More... | |
RMH_Result | RMH_RemoteNode_GetMac (const RMH_Handle handle, const uint32_t nodeId, RMH_MacAddress_t *response) |
Return the MAC address of the remote node specified by nodeId. More... | |
RMH_Result | RMH_RemoteNode_GetPreferredNC (const RMH_Handle handle, const uint32_t nodeId, bool *response) |
Return if the node indicated by nodeId is a preferred NC or not. More... | |
RMH_Result | RMH_RemoteNode_GetHighestSupportedMoCAVersion (const RMH_Handle handle, const uint32_t nodeId, RMH_MoCAVersion *response) |
Return the highest supported version of MoCA by the remote node specified by nodeId. More... | |
RMH_Result | RMH_RemoteNode_GetActiveMoCAVersion (const RMH_Handle handle, const uint32_t nodeId, RMH_MoCAVersion *response) |
Return the active supported version of MoCA by the remote node specificed by nodeId. More... | |
RMH_Result | RMH_RemoteNode_GetQAM256Capable (const RMH_Handle handle, const uint32_t nodeId, bool *response) |
Return if the node indicated by nodeId has QAM256 enabled or not. More... | |
RMH_Result | RMH_RemoteNode_GetMaxPacketAggregation (const RMH_Handle handle, const uint32_t nodeId, uint32_t *response) |
Return the maximum number of packets for aggregated transmissions for the node indicated by nodeId. More... | |
RMH_Result | RMH_RemoteNode_GetMaxFrameSize (const RMH_Handle handle, const uint32_t nodeId, uint32_t *response) |
The maximum number of bytes this node can receive in one frame (aggregated transmission). More... | |
RMH_Result | RMH_RemoteNode_GetBondingCapable (const RMH_Handle handle, const uint32_t nodeId, bool *response) |
Return if the node indicated by nodeId is bonding capable enabled or not. More... | |
RMH_Result | RMH_RemoteNode_GetRxUnicastPhyRate (const RMH_Handle handle, const uint32_t nodeId, uint32_t *response) |
Return the PHY rate at which unicast packets are received from nodeId of the self node. More... | |
RMH_Result | RMH_RemoteNode_GetRxBroadcastPhyRate (const RMH_Handle handle, const uint32_t nodeId, uint32_t *response) |
Return the PHY rate at which broadcast packets are received from nodeId. More... | |
RMH_Result | RMH_RemoteNode_GetRxBroadcastPower (const RMH_Handle handle, const uint32_t nodeId, float *response) |
Return the power level at which broadcast packets are received from nodeId. More... | |
RMH_Result | RMH_RemoteNode_GetRxUnicastPower (const RMH_Handle handle, const uint32_t nodeId, float *response) |
Return the power level at which unicast packets are received from nodeId from the self node. More... | |
RMH_Result | RMH_RemoteNode_GetRxMapPower (const RMH_Handle handle, const uint32_t nodeId, float *response) |
Return the power level at which MAP packets are received by nodeId. More... | |
RMH_Result | RMH_RemoteNode_GetRxPackets (const RMH_Handle handle, const uint32_t nodeId, uint32_t *response) |
Return the number of packets nodeId has received. More... | |
RMH_Result | RMH_RemoteNode_GetRxSNR (const RMH_Handle handle, const uint32_t nodeId, float *response) |
The signal to noise ratio of nodeId based on the Type 1 probe from per node. More... | |
RMH_Result | RMH_RemoteNode_GetRxCorrectedErrors (const RMH_Handle handle, const uint32_t nodeId, uint32_t *response) |
Return the number of packets with corrected errors nodeId has received. More... | |
RMH_Result | RMH_RemoteNode_GetRxUnCorrectedErrors (const RMH_Handle handle, const uint32_t nodeId, uint32_t *response) |
Return the number of packets with uncorrected errors <nodeId> has received. More... | |
RMH_Result | RMH_RemoteNode_GetRxTotalErrors (const RMH_Handle handle, const uint32_t nodeId, uint32_t *response) |
Return the total number of packets with errors nodeId has received. More... | |
RMH_Result | RMH_RemoteNode_GetTxUnicastPhyRate (const RMH_Handle handle, const uint32_t nodeId, uint32_t *response) |
Return the PHY rate at which unicast packets are transmitted from nodeId to the self node. More... | |
RMH_Result | RMH_RemoteNode_GetTxUnicastPower (const RMH_Handle handle, const uint32_t nodeId, float *response) |
Return the power level rate at which unicast packets are transmitted from nodeId to the self node. More... | |
RMH_Result | RMH_RemoteNode_GetTxPowerReduction (const RMH_Handle handle, const uint32_t nodeId, uint32_t *response) |
The transmit power control back-off used for transmissions from the specified nodeId. More... | |
RMH_Result | RMH_RemoteNode_GetTxPackets (const RMH_Handle handle, const uint32_t nodeId, uint32_t *response) |
Return the total number of packets nodeId has transmitted. More... | |
RMH_Result | RMH_RemoteNode_Reset (const RMH_Handle handle, const uint32_t nodeListMask, const uint32_t startTime) |
Instruct one or more nodes to initiate a MoCA Reset command. More... | |
RMH_Result | RMH_RemoteNode_GetRxUnicastSubcarrierModulation (const RMH_Handle handle, const uint32_t nodeId, const RMH_PERMode perMode, RMH_SubcarrierProfile *responseArray, const size_t responseArraySize, size_t *responseArrayUsed) |
Return the unicast recieve subcarrier modulation profiles for the primary MoCA channel. More... | |
RMH_Result | RMH_RemoteNode_GetTxUnicastSubcarrierModulation (const RMH_Handle handle, const uint32_t nodeId, const RMH_PERMode perMode, RMH_SubcarrierProfile *responseArray, const size_t responseArraySize, size_t *responseArrayUsed) |
Return the unicast transmit subcarrier modulation profiles for the primary MoCA channel. More... | |
RMH_Result | RMH_RemoteNode_GetSecondaryRxUnicastSubcarrierModulation (const RMH_Handle handle, const uint32_t nodeId, const RMH_PERMode perMode, RMH_SubcarrierProfile *responseArray, const size_t responseArraySize, size_t *responseArrayUsed) |
Return the unicast recieve subcarrier modulation profiles for the secondary MoCA channel. More... | |
RMH_Result | RMH_RemoteNode_GetSecondaryTxUnicastSubcarrierModulation (const RMH_Handle handle, const uint32_t nodeId, const RMH_PERMode perMode, RMH_SubcarrierProfile *responseArray, const size_t responseArraySize, size_t *responseArrayUsed) |
Return the unicast transmit subcarrier modulation profiles for the secondary MoCA channel. More... | |
RMH_Result | RMH_RemoteNode_GetRxBroadcastSubcarrierModulation (const RMH_Handle handle, const uint32_t nodeId, const RMH_PERMode perMode, RMH_SubcarrierProfile *responseArray, const size_t responseArraySize, size_t *responseArrayUsed) |
Return the receive broadcast subcarrier modulation profiles for the channel. More... | |
RMH_Result | RMH_RemoteNode_GetTxBroadcastSubcarrierModulation (const RMH_Handle handle, const uint32_t nodeId, const RMH_PERMode perMode, RMH_SubcarrierProfile *responseArray, const size_t responseArraySize, size_t *responseArrayUsed) |
Return the transmission broadcast subcarrier modulation profiles for the channel. More... | |
RMH_Result | RMH_PQOS_GetMaxIngressFlows (const RMH_Handle handle, uint32_t *response) |
Return the maximum number of supported Ingress PQoS Flows by the Node [mocaIfSupportedIngressPqosFlows]. More... | |
RMH_Result | RMH_PQOS_GetMaxEgressFlows (const RMH_Handle handle, uint32_t *response) |
Return the maximum number of supported Egress PQoS Flows by the Node [mocaIfSupportedEgressPqosFlows]. More... | |
RMH_Result | RMH_PQoS_GetNumIngressFlows (const RMH_Handle handle, uint32_t *response) |
Return the number of ingress flows. More... | |
RMH_Result | RMH_PQoS_GetNumEgressFlows (const RMH_Handle handle, uint32_t *response) |
Return the number of egress flows. More... | |
RMH_Result | RMH_PQoS_GetEgressBandwidth (const RMH_Handle handle, const uint32_t nodeId, uint32_t *response) |
Return the amount of egress bandwidth available on a particular node. More... | |
RMH_Result | RMH_PQoS_GetIngressFlowIds (const RMH_Handle handle, RMH_MacAddress_t *responseArray, const size_t responseArraySize, size_t *responseArrayUsed) |
Return a list of the unique Id for each existing ingress flows. More... | |
RMH_Result | RMH_PQoSFlow_GetPeakDataRate (const RMH_Handle handle, const RMH_MacAddress_t flowId, uint32_t *response) |
Return the peak data rate in Kbps for the flow specified by flowId. More... | |
RMH_Result | RMH_PQoSFlow_GetBurstSize (const RMH_Handle handle, const RMH_MacAddress_t flowId, uint32_t *response) |
Return the number of packets per burst for the flow specified by flowId. More... | |
RMH_Result | RMH_PQoSFlow_GetLeaseTime (const RMH_Handle handle, const RMH_MacAddress_t flowId, uint32_t *response) |
Return the lease time in seconds for the flow specified by flowId. More... | |
RMH_Result | RMH_PQoSFlow_GetLeaseTimeRemaining (const RMH_Handle handle, const RMH_MacAddress_t flowId, uint32_t *response) |
Return the lease time remaining in seconds for the flow specified by flowId. More... | |
RMH_Result | RMH_PQoSFlow_GetFlowTag (const RMH_Handle handle, const RMH_MacAddress_t flowId, uint32_t *response) |
Return the tag for the flow specified by flowId. This is optional for application use. More... | |
RMH_Result | RMH_PQoSFlow_GetMaxLatency (const RMH_Handle handle, const RMH_MacAddress_t flowId, uint32_t *response) |
Return the maximum latency of the flow specified by flowId. More... | |
RMH_Result | RMH_PQoSFlow_GetShortTermAvgRatio (const RMH_Handle handle, const RMH_MacAddress_t flowId, uint32_t *response) |
Return the short term average ratio for the flow specified by flowId. More... | |
RMH_Result | RMH_PQoSFlow_GetMaxRetry (const RMH_Handle handle, const RMH_MacAddress_t flowId, uint32_t *response) |
Return the maximum number of retransmission attempts for each MSDU of the flow specified by flowId. More... | |
RMH_Result | RMH_PQoSFlow_GetVLANTag (const RMH_Handle handle, const RMH_MacAddress_t flowId, uint32_t *response) |
Return the VLAN priority for the flow specified by flowId. More... | |
RMH_Result | RMH_PQoSFlow_GetFlowPer (const RMH_Handle handle, const RMH_MacAddress_t flowId, uint32_t *response) |
Return the flow packet error ratio profile for the flow specified by flowId. More... | |
RMH_Result | RMH_PQoSFlow_GetIngressClassificationRule (const RMH_Handle handle, const RMH_MacAddress_t flowId, uint32_t *response) |
Return the ingress classification rule for assigning MSDUs to the flow specified by flowId. More... | |
RMH_Result | RMH_PQoSFlow_GetPacketSize (const RMH_Handle handle, const RMH_MacAddress_t flowId, uint32_t *response) |
Return the packet size in bytes of the flow specified by flowId. More... | |
RMH_Result | RMH_PQoSFlow_GetTotalTxPackets (const RMH_Handle handle, const RMH_MacAddress_t flowId, uint32_t *response) |
Return the total number of packets transmitted on the flow specified by flowId. More... | |
RMH_Result | RMH_PQoSFlow_GetDSCPMoCA (const RMH_Handle handle, const RMH_MacAddress_t flowId, uint32_t *response) |
Return the DSCP MoCA value for the flow specified by flowId. More... | |
RMH_Result | RMH_PQoSFlow_GetDFID (const RMH_Handle handle, const RMH_MacAddress_t flowId, uint32_t *response) |
Return the destination flow ID of the flow specified by flowId. More... | |
RMH_Result | RMH_PQoSFlow_GetDestination (const RMH_Handle handle, const RMH_MacAddress_t flowId, RMH_MacAddress_t *response) |
Return the destination flow ID of the flow specified by flowId. More... | |
RMH_Result | RMH_PQoSFlow_GetIngressMac (const RMH_Handle handle, const RMH_MacAddress_t flowId, RMH_MacAddress_t *response) |
Return the ingress MAC address of the flow specified by flowId. More... | |
RMH_Result | RMH_PQoSFlow_GetEgressMac (const RMH_Handle handle, const RMH_MacAddress_t flowId, RMH_MacAddress_t *response) |
Return the egress MAC address of the flow specified by flowId. More... | |
RMH_Result | RMH_PQoS_GetMinEgressBandwidth (const RMH_Handle handle, uint32_t *response) |
Return the node Id with the minimum available bandwidth. More... | |
RMH_Result | RMH_Stats_GetAdmissionAttempts (const RMH_Handle handle, uint32_t *response) |
Return the number of admission attempts this node has made. More... | |
RMH_Result | RMH_Stats_GetAdmissionFailures (const RMH_Handle handle, uint32_t *response) |
Return the number of admission failures for this node. More... | |
RMH_Result | RMH_Stats_GetAdmissionSucceeded (const RMH_Handle handle, uint32_t *response) |
Return the number of successful admissions for this node. More... | |
RMH_Result | RMH_Stats_GetAdmissionsDeniedAsNC (const RMH_Handle handle, uint32_t *response) |
Return the number of admissions this node has denied when it was the NC. More... | |
RMH_Result | RMH_Stats_GetTxTotalBytes (const RMH_Handle handle, uint32_t *response) |
Return the total number of bytes transmitted by this node. More... | |
RMH_Result | RMH_Stats_GetRxTotalBytes (const RMH_Handle handle, uint32_t *response) |
Return the total number of bytes received by this node. More... | |
RMH_Result | RMH_Stats_GetTxTotalPackets (const RMH_Handle handle, uint32_t *response) |
Return the total number of packets transmitted by this node. More... | |
RMH_Result | RMH_Stats_GetRxTotalPackets (const RMH_Handle handle, uint32_t *response) |
Return the total number of packets received by this node. More... | |
RMH_Result | RMH_Stats_GetTxUnicastPackets (const RMH_Handle handle, uint32_t *response) |
Return the number of unicast packets transmitted by this node. More... | |
RMH_Result | RMH_Stats_GetRxUnicastPackets (const RMH_Handle handle, uint32_t *response) |
Return the number of unicast packets received by this node. More... | |
RMH_Result | RMH_Stats_GetTxBroadcastPackets (const RMH_Handle handle, uint32_t *response) |
Return the number of broadcast packets transmitted by this node. More... | |
RMH_Result | RMH_Stats_GetRxBroadcastPackets (const RMH_Handle handle, uint32_t *response) |
Return the number of broadcast packets received by this node. More... | |
RMH_Result | RMH_Stats_GetTxMulticastPackets (const RMH_Handle handle, uint32_t *response) |
Return the number of multicast packets transmitted by this node. More... | |
RMH_Result | RMH_Stats_GetRxMulticastPackets (const RMH_Handle handle, uint32_t *response) |
Return the number of multicast packets received by this node. More... | |
RMH_Result | RMH_Stats_GetTxReservationRequestPackets (const RMH_Handle handle, uint32_t *response) |
Return the number of reservation request packets transmitted by this node. More... | |
RMH_Result | RMH_Stats_GetRxReservationRequestPackets (const RMH_Handle handle, uint32_t *response) |
Return the number of reservation request packets received by this node. More... | |
RMH_Result | RMH_Stats_GetTxMapPackets (const RMH_Handle handle, uint32_t *response) |
Return the number of MAP transmitted by this node. More... | |
RMH_Result | RMH_Stats_GetRxMapPackets (const RMH_Handle handle, uint32_t *response) |
Return the number of MAP received by this node. More... | |
RMH_Result | RMH_Stats_GetTxLinkControlPackets (const RMH_Handle handle, uint32_t *response) |
Return the number of link control transmitted by this node. More... | |
RMH_Result | RMH_Stats_GetRxLinkControlPackets (const RMH_Handle handle, uint32_t *response) |
Return the number of link control received by this node. More... | |
RMH_Result | RMH_Stats_GetTxBeacons (const RMH_Handle handle, uint32_t *response) |
Return the number of link control received by this node. More... | |
RMH_Result | RMH_Stats_GetRxBeacons (const RMH_Handle handle, uint32_t *response) |
Return the number of beacons received by this node. More... | |
RMH_Result | RMH_Stats_GetRxUnknownProtocolPackets (const RMH_Handle handle, uint32_t *response) |
Return the number of unknown packets received by this node. More... | |
RMH_Result | RMH_Stats_GetTxDroppedPackets (const RMH_Handle handle, uint32_t *response) |
Return the number of packets this node has dropped before transmitting. More... | |
RMH_Result | RMH_Stats_GetRxDroppedPackets (const RMH_Handle handle, uint32_t *response) |
Return the number of packets this node has dropped after receiving. More... | |
RMH_Result | RMH_Stats_GetTxTotalErrors (const RMH_Handle handle, uint32_t *response) |
Return the total number of transmit errors by this node. More... | |
RMH_Result | RMH_Stats_GetRxTotalErrors (const RMH_Handle handle, uint32_t *response) |
Return the total number of received errors by this node. More... | |
RMH_Result | RMH_Stats_GetRxCRCErrors (const RMH_Handle handle, uint32_t *response) |
Return the total number of packets this node has received with CRC errors. More... | |
RMH_Result | RMH_Stats_GetRxTimeoutErrors (const RMH_Handle handle, uint32_t *response) |
Return the total number of packets this node has received with timeout errors. More... | |
RMH_Result | RMH_Stats_GetRxTotalAggregatedPackets (const RMH_Handle handle, uint32_t *response) |
Return the total number of received aggregated packets. More... | |
RMH_Result | RMH_Stats_GetTxTotalAggregatedPackets (const RMH_Handle handle, uint32_t *response) |
Return the total number of transmitted aggregated packets. More... | |
RMH_Result | RMH_Stats_GetRxPacketAggregation (const RMH_Handle handle, uint32_t *responseArray, const size_t responseArraySize, size_t *responseArrayUsed) |
Return an array indicating the number of packets received per aggregation number. More... | |
RMH_Result | RMH_Stats_GetTxPacketAggregation (const RMH_Handle handle, uint32_t *responseArray, const size_t responseArraySize, size_t *responseArrayUsed) |
Return an array indicating the number of packets transmitted per aggregation number. More... | |
RMH_Result | RMH_Stats_GetRxCorrectedErrors (const RMH_Handle handle, RMH_NodeList_Uint32_t *response) |
Return the number of received packets from every node with errors which were corrected. More... | |
RMH_Result | RMH_Stats_GetRxUncorrectedErrors (const RMH_Handle handle, RMH_NodeList_Uint32_t *response) |
Return the number of received packets from every node with errors which were not corrected. More... | |
RMH_Result | RMH_Stats_Reset (const RMH_Handle handle) |
Reset MoCA statistics counters back to zero. More... | |
RMH_Result | RMH_Log_GetAPILevel (const RMH_Handle handle, uint32_t *response) |
Return a bitmask of RMH_LogLevel which indicates the currently enabled RMH log types in the RMH library. More... | |
RMH_Result | RMH_Log_SetAPILevel (const RMH_Handle handle, const uint32_t value) |
Set the log level of the RMH library. More... | |
RMH_Result | RMH_Log_GetDriverLevel (const RMH_Handle handle, RMH_LogLevel *response) |
Return a bitmask of RMH_LogLevel which indicates the currently enabled RMH log types in the MoCA driver. More... | |
RMH_Result | RMH_Log_SetDriverLevel (const RMH_Handle handle, const RMH_LogLevel value) |
Set the log level of the MoCA driver. More... | |
RMH_Result | RMH_Log_GetDriverFilename (const RMH_Handle handle, char *responseBuf, const size_t responseBufSize) |
Get the file name where MoCA driver logs are currently being captured. More... | |
RMH_Result | RMH_Log_SetDriverFilename (const RMH_Handle handle, const char *value) |
Set the file name where MoCA driver logs should be captured to. More... | |
RMH_Result | RMH_Log_PrintStatus (const RMH_Handle handle, const char *filename) |
Print a generic status summary of the MoCA device and network. More... | |
RMH_Result | RMH_ACA_Request (const RMH_Handle handle, const uint32_t channelNum, const uint32_t sourceNodeId, const uint32_t destinationNodeMask, const RMH_ACAType type) |
Print a summary of the sub carrier modulation bitloading information. More... | |
RMH_Result | RMH_ACA_GetChannel (const RMH_Handle handle, uint32_t *response) |
Return the channel number of the last requested ACA. [mocaIfAcaNodeID]. More... | |
RMH_Result | RMH_ACA_GetSourceNodeId (const RMH_Handle handle, uint32_t *response) |
Return the Node ID of the source node for the last requested ACA. [mocaIfAcaNodeID]. More... | |
RMH_Result | RMH_ACA_GetDestinationNodeMask (const RMH_Handle handle, uint32_t *response) |
Return the bitmask of the destination nodes for the last requested ACA. [mocaIfAcaReportNodeMask]. More... | |
RMH_Result | RMH_ACA_GetType (const RMH_Handle handle, RMH_ACAType *response) |
Return the type of the last requested ACA operation. More... | |
RMH_Result | RMH_ACA_GetStatus (const RMH_Handle handle, RMH_ACAStatus *response) |
Return the current status of the last requested ACA operation. More... | |
RMH_Result | RMH_ACA_GetTotalRxPower (const RMH_Handle handle, int32_t *response) |
Return the total power from the last completed ACA operation. More... | |
RMH_Result | RMH_ACA_GetPowerProfile (const RMH_Handle handle, uint8_t *responseArray, const size_t responseArraySize, size_t *responseArrayUsed) |
Returns the ACA power profile. More... | |
RMH_Result RMH_Self_GetEnabled | ( | const RMH_Handle | handle, |
bool * | response | ||
) |
RMH_Result RMH_Self_SetEnabled | ( | const RMH_Handle | handle, |
const bool | value | ||
) |
Enable or disable the MoCA driver to connect to a MoCA network. Once enabled the driver will use whatever parameters it has been configured for.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | value | Pass 'true' to enable the MoCA driver. Otherwise pass to 'false'. |
RMH_Result RMH_Self_GetMoCALinkUp | ( | const RMH_Handle | handle, |
bool * | response | ||
) |
RMH_Result RMH_Self_GetLOF | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
The last frequency on which this device operated.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | response | The last operating frequency of the device. |
RMH_Result RMH_Self_SetLOF | ( | const RMH_Handle | handle, |
const uint32_t | value | ||
) |
Manually set the last operating frequency of the device.
This can be helpful to control what frequency is used for future network connections.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | value | The desired last operating frequency of the device. |
RMH_Result RMH_Self_GetScanLOFOnly | ( | const RMH_Handle | handle, |
bool * | response | ||
) |
Return if the device is scanning only the last operating frequency when attempting to establish a connection to a MoCA network.
This can be helpful to control what frequency is used for future network connections.
RMH_Result RMH_Self_SetScanLOFOnly | ( | const RMH_Handle | handle, |
const bool | value | ||
) |
Indicate if the device should join networks only on the last operating frequency.
This is helpful to control the exact frequency used for MoCA.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | Pass 'true' to ensure this node will only join a network at the LOF. Otherwise pass to 'false'. |
RMH_Result RMH_Self_GetPreferredNCEnabled | ( | const RMH_Handle | handle, |
bool * | response | ||
) |
RMH_Result RMH_Self_SetPreferredNCEnabled | ( | const RMH_Handle | handle, |
const bool | value | ||
) |
Enable or disable preferred NC on this device.
If this is enabled the device has a greater chance of becoming the NC, if set disable the chance of becoming the NC is reduced. However, please keep in mind that depending on your network configuration, a device with preferred NC disabled could still become the NC.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | value | Pass 'true' to enable this device as a preferred NC. Otherwise pass to 'false'. |
RMH_Result RMH_Self_GetPrimaryChannelOffset | ( | const RMH_Handle | handle, |
int32_t * | response | ||
) |
TBD [mocaIfPrimaryChannelOffset].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | TBD. |
RMH_Result RMH_Self_SetPrimaryChannelOffset | ( | const RMH_Handle | handle, |
const int32_t | value | ||
) |
TBD [mocaIfSecondaryChannelOffset].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | value | TBD. |
RMH_Result RMH_Self_GetSecondaryChannelOffset | ( | const RMH_Handle | handle, |
int32_t * | response | ||
) |
TBD [mocaIfSecondaryChannelOffset].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | value | TBD. |
RMH_Result RMH_Self_SetSecondaryChannelOffset | ( | const RMH_Handle | handle, |
const int32_t | value | ||
) |
TBD [mocaIfSecondaryChannelOffset].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | value | TBD. |
RMH_Result RMH_Self_GetSoftwareVersion | ( | const RMH_Handle | handle, |
char * | responseBuf, | ||
const size_t | responseBufSize | ||
) |
Return the version of software being used by the MoCA driver on this device. [mocaIfSoftwareVersion].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | responseBuf | A buffer where the software version string will be written. |
[in] | responseBufSize | The size in bytes of the buffer <responseBuf>. |
RMH_Result RMH_Self_GetHighestSupportedMoCAVersion | ( | const RMH_Handle | handle, |
RMH_MoCAVersion * | response | ||
) |
Return the highest version of MoCA supported by the MoCA driver on this device. [mocaIfMocaVersion].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The highest version of MoCA supported. |
RMH_Result RMH_Self_GetFrequencyMask | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Gets the bit mask of frequencies the device used during the listening phase of network search.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The bitmask of frequencies this device will use when joining a network. |
RMH_Result RMH_Self_SetFrequencyMask | ( | const RMH_Handle | handle, |
const uint32_t | value | ||
) |
Set the bit mask for specifying which frequencies should be scanned during the listening phase of network search.
Depending on the RF band of operation, the MSB of this parameter corresponds to the lowest frequency channel of the band. Each subsequent bit of this parameter represents the next highest 25MHz channel. The base channels for each RF band are as follows:
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | value | The bitmask of frequencies this device should use when joining a network. |
RMH_Result RMH_Self_GetMaxPacketAggregation | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
RMH_Result RMH_Self_SetMaxPacketAggregation | ( | const RMH_Handle | handle, |
const uint32_t | value | ||
) |
RMH_Result RMH_Self_GetMaxFrameSize | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
The maximum number of bytes this node can receive in one frame.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The maximum number of packets this device can aggregate. |
RMH_Result RMH_Self_SetMaxFrameSize | ( | const RMH_Handle | handle, |
const uint32_t | value | ||
) |
RMH_Result RMH_Self_GetLowBandwidthLimit | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
RMH_Result RMH_Self_SetLowBandwidthLimit | ( | const RMH_Handle | handle, |
const uint32_t | value | ||
) |
RMH_Result RMH_Self_GetMaxBitrate | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
The maximum PHY rate supported in non-turbo mode.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | response | The maximum PHY rate. |
RMH_Result RMH_Self_SetTxPowerLimit | ( | const RMH_Handle | handle, |
const int32_t | value | ||
) |
Set the maximum transmitter power level for this device.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | value | Desired transmitter power level. Minimum value -31, maximum value 3. |
RMH_Result RMH_Self_GetTxPowerLimit | ( | const RMH_Handle | handle, |
int32_t * | response | ||
) |
Returns the maximum transmitter power level for this device.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | value | The maximum transmission power for this device. |
RMH_Result RMH_Self_GetSupportedFrequencies | ( | const RMH_Handle | handle, |
uint32_t * | responseArray, | ||
const size_t | responseArraySize, | ||
size_t * | responseArrayUsed | ||
) |
Return a list of frequencies in the band used by this node.
This frequency list does not account for taboo channels or other filters which would limit the scope of frequencies this device would use to join a network. [mocaIfChannelSupport].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | responseArray | An array where the frequency list should be stored. |
[in] | responseArraySize | The size of the response array. |
[out] | responseArrayUsed | The number of entries in the response array which have valid data. |
RMH_Result RMH_Self_GetSupportedBand | ( | const RMH_Handle | handle, |
RMH_Band * | response | ||
) |
Return the band supported by the MoCA device. [mocaIfSupportedBands].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The band supported by this MoCA device. |
RMH_Result RMH_Self_GetQAM256Enabled | ( | const RMH_Handle | handle, |
bool * | response | ||
) |
RMH_Result RMH_Self_SetQAM256Enabled | ( | const RMH_Handle | handle, |
const bool | value | ||
) |
Enable or disable the QAM256 ability in admission negotiations.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | value | Pass 'true' to enable QAM256 support on this device. Otherwise pass to 'false'. |
RMH_Result RMH_Self_GetQAM256TargetPhyRate | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
RMH_Result RMH_Self_SetQAM256TargetPhyRate | ( | const RMH_Handle | handle, |
const uint32_t | value | ||
) |
RMH_Result RMH_Self_GetTurboEnabled | ( | const RMH_Handle | handle, |
bool * | response | ||
) |
RMH_Result RMH_Self_SetTurboEnabled | ( | const RMH_Handle | handle, |
const bool | value | ||
) |
Enable or disable turbo mode on this device.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | value | Pass 'true' to enable turbo on this device. Otherwise pass to 'false'. |
RMH_Result RMH_Self_GetBondingEnabled | ( | const RMH_Handle | handle, |
bool * | response | ||
) |
RMH_Result RMH_Self_SetBondingEnabled | ( | const RMH_Handle | handle, |
const bool | value | ||
) |
Enable or disable bonding mode on this device.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | value | Pass 'true' to enable bonding on this device. Otherwise pass to 'false'. |
RMH_Result RMH_Self_GetPrivacyEnabled | ( | const RMH_Handle | handle, |
bool * | response | ||
) |
RMH_Result RMH_Self_SetPrivacyEnabled | ( | const RMH_Handle | handle, |
const bool | value | ||
) |
Enable or disable MoCA privacy on this device.
If enabled the device will only be permitted to join networks with other devices which have the same password.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | value | "Pass 'true' to enable MoCA privacy on this device. Otherwise pass to 'false'. |
RMH_Result RMH_Self_GetPrivacyPassword | ( | const RMH_Handle | handle, |
char * | responseBuf, | ||
const size_t | responseBufSize | ||
) |
RMH_Result RMH_Self_SetPrivacyPassword | ( | const RMH_Handle | handle, |
const char * | value | ||
) |
Set the network password used to generate privacy keys.
This string must be between 12 and 17 characters long with each character being a decimal number (0-9).
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | value | The MoCA network password. Although this is a string only 0-9 are permitted. |
RMH_Result RMH_Self_GetPrivacyMACManagementKey | ( | RMH_Handle | handle, |
char * | responseBuf, | ||
const size_t | responseBufSize | ||
) |
RMH_Result RMH_Self_GetRDKInteroperabilityIFGEnabled | ( | const RMH_Handle | handle, |
bool * | response | ||
) |
Return if the RDK specific inter-frame gap of 10us is enabled on this device.
This should be enabled on all MoCA 2.0 devices that would become the NC to ensure endure compatibility with all RDK vendors.
RMH_Result RMH_Self_SetRDKInteroperabilityIFGEnabled | ( | const RMH_Handle | handle, |
const bool | value | ||
) |
Enable or disable the RDK specific inter-frame gap of 10us.
This setting is needed by all MoCA 2.0 devices that would become the NC to ensure endure compatibility with all RDK vendors.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | value | Pass true to enable RDK IFG of 10us. Otherwise pass to false. |
RMH_Result RMH_Self_GetTabooChannels | ( | const RMH_Handle | handle, |
uint32_t * | channelMaskStart, | ||
uint32_t * | channelMask | ||
) |
Return which channels will be taboo on this device.
channelMaskStart will indicate the channel number of the lowest RF frequency covered by channel mask. The bitmask channelMask is then used to identify exactly which frequencies are taboo. Each consecutive bit of channelMask corresponds to channels offset by multiples of 25MHz. A bit in channelMask will be set to '1' if that channel is taboo.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | channelMaskStart | The channel number of the lowest frequency which is taboo. |
[in] | channelMask | A bitmask of channels which are taboo. The first bit corresponds to the frequency of channelMaskStart. |
RMH_Result RMH_Self_SetTabooChannels | ( | const RMH_Handle | handle, |
const uint32_t | channelMaskStart, | ||
const uint32_t | channelMask | ||
) |
Set which channels will be taboo on this device.
channelMaskStart will indicate the channel number of the lowest RF frequency covered by channel mask. The bitmask channelMask is then used to identify exactly which frequencies are taboo. Each consecutive bit of channelMask corresponds to channels offset by multiples of 25MHz. A bit in channelMask must be set to 1 if that channel is taboo.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | channelMaskStart | The channel number of the lowest frequency which is taboo. |
[in] | channelMask | A bitmask of channels which are taboo. The first bit corresponds to the frequency of channelMaskStart. |
RMH_Result RMH_Self_RestoreDefaultSettings | ( | const RMH_Handle | handle | ) |
Return this device to its default configuration.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
RMH_Result RMH_Self_GetMaxAllocationElements | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the maximum number of allocation elements, excluding the TAUs and the Dummy DAUs, in one MAP the Node can process [mocaIfAeNumber].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | Maximum number of allocation elements. |
RMH_Result RMH_Self_GetLastResetReason | ( | const RMH_Handle | handle, |
RMH_MoCAResetReason * | response | ||
) |
Return the reason for the most recent link reset [mocaIfResetReason].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The reason for the most recent link reset. |
RMH_Result RMH_Interface_GetName | ( | const RMH_Handle | handle, |
char * | responseBuf, | ||
const size_t | responseBufSize | ||
) |
Return the Linux interface name associated with the MoCA device. [mocaIfName].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | responseBuf | A buffer where the interface name will be written. |
[in] | responseBufSize | The size in bytes of the buffer responseBuf. |
RMH_Result RMH_Interface_GetMac | ( | const RMH_Handle | handle, |
RMH_MacAddress_t * | response | ||
) |
Return the MAC address associated with this MoCA device. [mocaIfMacAddress].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The MAC address as a byte array. |
RMH_Result RMH_Interface_SetMac | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | value | ||
) |
RMH_Result RMH_Power_GetMode | ( | const RMH_Handle | handle, |
RMH_PowerMode * | response | ||
) |
Return the current MoCA power state of this device.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The current power mode of this device. |
RMH_Result RMH_Power_GetSupportedModes | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return a bitmask of RMH_PowerMode indicating all MoCA power modes supported by this device mocaIfPowerStateCap.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | A bitmask of RMH_PowerMode listing supported modes. |
RMH_Result RMH_Power_GetTxPowerControlEnabled | ( | const RMH_Handle | handle, |
bool * | response | ||
) |
RMH_Result RMH_Power_SetTxPowerControlEnabled | ( | const RMH_Handle | handle, |
const bool | value | ||
) |
Enable or disable if transmit power control is enabled for this device.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | value | Pass 'true' to enable transmission power control on this device. Otherwise pass to 'false'. |
RMH_Result RMH_Power_GetTxBeaconPowerReductionEnabled | ( | const RMH_Handle | handle, |
bool * | response | ||
) |
RMH_Result RMH_Power_SetTxBeaconPowerReductionEnabled | ( | const RMH_Handle | handle, |
const bool | value | ||
) |
Enable or disable if beacon power reduction on this device.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | value | Pass true to enable beacon power control on this device. Otherwise pass to false. |
RMH_Result RMH_Power_GetTxBeaconPowerReduction | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the power control back-off used by this node for transmitting beacons.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | Beacon power reduction. |
RMH_Result RMH_Power_SetTxBeaconPowerReduction | ( | const RMH_Handle | handle, |
const uint32_t | value | ||
) |
RMH_Result RMH_Network_GetNumNodes | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of MoCA nodes in the network. [mocaIfNumNodes].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | Number of MoCA nodes in the network. |
RMH_Result RMH_Network_GetNodeId | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the node ID of this device.
[mocaIfNodeID] This is a zero based ID which uniquely identifies this node on the network.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The device's node ID. |
RMH_Result RMH_Network_GetNodeIds | ( | const RMH_Handle | handle, |
RMH_NodeList_Uint32_t * | response | ||
) |
Return a list of every node ID on the network.
This differs from RMH_Network_GetRemoteNodeIds as this API includes the self node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The index is the node Id, if nodePresent is 'true', nodeValue is the node Id. |
RMH_Result RMH_Network_GetRemoteNodeIds | ( | const RMH_Handle | handle, |
RMH_NodeList_Uint32_t * | response | ||
) |
Return a list of every node ID on the network.
This differs from RMH_Network_GetNodeIds as this API does not include the self node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The index is the node Id, if nodePresent is 'true', nodeValue is the node Id. |
RMH_Result RMH_Network_GetNCNodeId | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the node ID of the network coordinator. [mocaIfNC].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The network coordinator node Id. |
RMH_Result RMH_Network_GetBackupNCNodeId | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the node ID of the backup network coordinator [mocaIfBackupNC].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The backup network coordinator node Id. |
RMH_Result RMH_Network_GetNCMac | ( | const RMH_Handle | handle, |
RMH_MacAddress_t * | response | ||
) |
Return the MAC address of the network coordinator.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The MAC address of the network coordinator. |
RMH_Result RMH_Network_GetLinkUptime | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Returns the amount of time this node has been part of the MoCA network [mocaIfLinkUpTime].
Time is in seconds.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | Number of seconds this node has been in the network. |
RMH_Result RMH_Network_GetResetCount | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Returns the number of times the MoCA link has gone down since the last boot. [mocaIfResetCount].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | Number of seconds this node has been in the network. |
RMH_Result RMH_Network_GetLinkDownCount | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Returns the number of times the MoCA link has gone down since the last boot [mocaIfLinkDownCount].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | Number of seconds this node has been in the network. |
RMH_Result RMH_Network_GetMixedMode | ( | const RMH_Handle | handle, |
bool * | response | ||
) |
RMH_Result RMH_Network_GetRFChannelFreq | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the frequency which the MoCA network is operating on. [mocaIfRFChannel].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The frequency of the MoCA network. |
RMH_Result RMH_Network_GetPrimaryChannelFreq | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the primary MoCA 2.0 channel.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The primary MoCA 2.0 channel. |
RMH_Result RMH_Network_GetSecondaryChannelFreq | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the secondary MoCA 2.0 channel.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The secondary MoCA 2.0 channel. |
RMH_Result RMH_Network_GetMoCAVersion | ( | const RMH_Handle | handle, |
RMH_MoCAVersion * | response | ||
) |
Return the version of MoCA under which the network is operating. [mocaIfNetworkVersion].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The MoCA version of the network. |
RMH_Result RMH_Network_GetTxBroadcastPhyRate | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the PHY rate at which broadcast packets are transmitted from this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The broadcast transmission PHY rate. |
RMH_Result RMH_Network_GetTxGCDPhyRate | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the GCD PHY rate which packets are transmitted from this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The GCD transmission PHY rate. |
RMH_Result RMH_Network_GetTxMapPhyRate | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the PHY rate at which MAP packets are transmitted from this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The MAP transmission PHY rate. |
RMH_Result RMH_Network_GetTxGcdPowerReduction | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
The transmit power control back-off used for broadcast transmissions from this node. [mocaIfTxGcdPowerReduction].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | Transmit power control reduction. Minimum value 0, Maximum value 35. |
RMH_Result RMH_Network_GetTabooChannels | ( | const RMH_Handle | handle, |
uint32_t * | channelMaskStart, | ||
uint32_t * | channelMask | ||
) |
Return which beacon channels will be taboo on this device.
channelMaskStart will indicate the channel number of the lowest. RF frequency covered by channel mask. The bitmask channelMask is then used to identify exactly which frequencies.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | channelMaskStart | The channel number of the lowest frequency which is taboo. |
[in] | channelMask | A bitmask of channels which are taboo. The first bit corresponds to the frequency of channelMaskStart. |
RMH_Result RMH_Network_GetTxUnicastPhyRate | ( | const RMH_Handle | handle, |
RMH_NodeMesh_Uint32_t * | response | ||
) |
Return the unicast transmit PHY rates between all nodes on the network.
The resulting matrix will be in RMH_NodeMesh_Uint32_t Where the index is the node Id If nodePresent is 'true', then nodeValue is a list of the unicast PHY rates from this node Id to every other node on the network.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | A bitmask of channels which are taboo. The first bit corresponds to the frequency of channelMaskStart. |
RMH_Result RMH_Network_GetTxVLPER | ( | const RMH_Handle | handle, |
RMH_NodeMesh_Uint32_t * | response | ||
) |
Return the transmit VLPER (Very Low Packet Error Rate) PHY rates between all MoCA 2.0 nodes on the network.
The resulting matrix will be in RMH_NodeMesh_Uint32_t Where the index is the node Id. if nodePresent is 'true'then <nodeValue> is a list of the unicast PHY rates from this node Id to every other node on the network.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | A bitmask of channels which are taboo. The first bit corresponds to the frequency of channelMaskStart. |
RMH_Result RMH_Network_GetTxNPER | ( | const RMH_Handle | handle, |
RMH_NodeMesh_Uint32_t * | response | ||
) |
Return the transmit NPER (Nominal Packet Error Rate) PHY rates from all MoCA 2.0 nodes on the network.
The resulting matrix will be in RMH_NodeMesh_Uint32_t Where the index is the node Id. if nodePresent is 'true'then nodeValue is a list of the unicast PHY rates from this node Id to every other node on the network.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The PHY rate mesh table. |
RMH_Result RMH_Network_GetBitLoadingInfo | ( | const RMH_Handle | handle, |
RMH_NodeMesh_Uint32_t * | response | ||
) |
Returns the bit loading information.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The resulting bitloading information. |
RMH_Result RMH_RemoteNode_GetMac | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
RMH_MacAddress_t * | response | ||
) |
Return the MAC address of the remote node specified by nodeId.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The MAC address of the remote node as a byte array. |
RMH_Result RMH_RemoteNode_GetPreferredNC | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
bool * | response | ||
) |
Return if the node indicated by nodeId is a preferred NC or not.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | Returns True, if the remote node is a preferred NC. False otherwise. |
RMH_Result RMH_RemoteNode_GetHighestSupportedMoCAVersion | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
RMH_MoCAVersion * | response | ||
) |
Return the highest supported version of MoCA by the remote node specified by nodeId.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The highest version of MoCA supported. |
RMH_Result RMH_RemoteNode_GetActiveMoCAVersion | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
RMH_MoCAVersion * | response | ||
) |
Return the active supported version of MoCA by the remote node specificed by nodeId.
There are cases where devices that support MoCA 2.0 may be actively using MoCA 1.1 . For example, when the NC is a MoCA 1.1 node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The active version of MoCA on the remote node. |
RMH_Result RMH_RemoteNode_GetQAM256Capable | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
bool * | response | ||
) |
Return if the node indicated by nodeId has QAM256 enabled or not.
There are cases where devices that support MoCA 2.0 may be actively using MoCA 1.1 . For example, when the NC is a MoCA 1.1 node.
RMH_Result RMH_RemoteNode_GetMaxPacketAggregation | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
uint32_t * | response | ||
) |
Return the maximum number of packets for aggregated transmissions for the node indicated by nodeId.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The maximum number of packets nodeId will aggregate. |
RMH_Result RMH_RemoteNode_GetMaxFrameSize | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
uint32_t * | response | ||
) |
The maximum number of bytes this node can receive in one frame (aggregated transmission).
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The maximum number of packets this device will aggregate. |
RMH_Result RMH_RemoteNode_GetBondingCapable | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
bool * | response | ||
) |
RMH_Result RMH_RemoteNode_GetRxUnicastPhyRate | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
uint32_t * | response | ||
) |
Return the PHY rate at which unicast packets are received from nodeId of the self node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The unicast receive PHY rate. |
RMH_Result RMH_RemoteNode_GetRxBroadcastPhyRate | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
uint32_t * | response | ||
) |
Return the PHY rate at which broadcast packets are received from nodeId.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The broadcast receive PHY rate. |
RMH_Result RMH_RemoteNode_GetRxBroadcastPower | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
float * | response | ||
) |
Return the power level at which broadcast packets are received from nodeId.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The broadcast receive power level. |
RMH_Result RMH_RemoteNode_GetRxUnicastPower | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
float * | response | ||
) |
Return the power level at which unicast packets are received from nodeId from the self node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The unicast receive power level. |
RMH_Result RMH_RemoteNode_GetRxMapPower | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
float * | response | ||
) |
Return the power level at which MAP packets are received by nodeId.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The MAP receive power level rate. |
RMH_Result RMH_RemoteNode_GetRxPackets | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
uint32_t * | response | ||
) |
Return the number of packets nodeId has received.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | Number of packets received by nodeId. |
RMH_Result RMH_RemoteNode_GetRxSNR | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
float * | response | ||
) |
The signal to noise ratio of nodeId based on the Type 1 probe from per node.
Measured in dB.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The SNR of nodeId. |
RMH_Result RMH_RemoteNode_GetRxCorrectedErrors | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
uint32_t * | response | ||
) |
Return the number of packets with corrected errors nodeId has received.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The number of corrected packets with errors. |
RMH_Result RMH_RemoteNode_GetRxUnCorrectedErrors | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
uint32_t * | response | ||
) |
Return the number of packets with uncorrected errors <nodeId> has received.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The number of corrected packets with errors. |
RMH_Result RMH_RemoteNode_GetRxTotalErrors | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
uint32_t * | response | ||
) |
Return the total number of packets with errors nodeId has received.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The number of total number of packets with errors. |
RMH_Result RMH_RemoteNode_GetTxUnicastPhyRate | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
uint32_t * | response | ||
) |
Return the PHY rate at which unicast packets are transmitted from nodeId to the self node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The unicast transmission PHY rate. |
RMH_Result RMH_RemoteNode_GetTxUnicastPower | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
float * | response | ||
) |
Return the power level rate at which unicast packets are transmitted from nodeId to the self node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The unicast transmission power level rate. |
RMH_Result RMH_RemoteNode_GetTxPowerReduction | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
uint32_t * | response | ||
) |
The transmit power control back-off used for transmissions from the specified nodeId.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The transmission power reduction of nodeId. |
RMH_Result RMH_RemoteNode_GetTxPackets | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
uint32_t * | response | ||
) |
Return the total number of packets nodeId has transmitted.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The total number of packets transmitted by nodeId. |
RMH_Result RMH_RemoteNode_Reset | ( | const RMH_Handle | handle, |
const uint32_t | nodeListMask, | ||
const uint32_t | startTime | ||
) |
Instruct one or more nodes to initiate a MoCA Reset command.
This will result in the specfied nodes dropping from the network and then rejoining.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeListMask | A bitmask of nodes to be reset [mocaIfMrNodeMask]. For example, to reset a given node use 'nodeListMask |= (1 << nodeId)'") |
[in] | startTime | The time in seconds to start the reset command [mocaIfMrStartTime]. |
RMH_Result RMH_RemoteNode_GetRxUnicastSubcarrierModulation | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
const RMH_PERMode | perMode, | ||
RMH_SubcarrierProfile * | responseArray, | ||
const size_t | responseArraySize, | ||
size_t * | responseArrayUsed | ||
) |
Return the unicast recieve subcarrier modulation profiles for the primary MoCA channel.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[in] | perMode | The PER Mode to check.This parameter will be ignored for MoCA devices older than 2.0. |
[out] | responseArray | An array where the sub carrier modulation should be stored. |
[in] | responseArraySize | The size of the response array. |
[out] | responseArrayUsed | The number of entries in the response array which have valid data. |
RMH_Result RMH_RemoteNode_GetTxUnicastSubcarrierModulation | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
const RMH_PERMode | perMode, | ||
RMH_SubcarrierProfile * | responseArray, | ||
const size_t | responseArraySize, | ||
size_t * | responseArrayUsed | ||
) |
Return the unicast transmit subcarrier modulation profiles for the primary MoCA channel.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[in] | perMode | The PER Mode to check.This parameter will be ignored for MoCA devices older than 2.0. |
[out] | responseArray | An array where the sub carrier modulation should be stored. |
[in] | responseArraySize | The size of the response array. |
[out] | responseArrayUsed | The number of entries in the response array which have valid data. |
RMH_Result RMH_RemoteNode_GetSecondaryRxUnicastSubcarrierModulation | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
const RMH_PERMode | perMode, | ||
RMH_SubcarrierProfile * | responseArray, | ||
const size_t | responseArraySize, | ||
size_t * | responseArrayUsed | ||
) |
Return the unicast recieve subcarrier modulation profiles for the secondary MoCA channel.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[in] | perMode | The PER Mode to check.This parameter will be ignored for MoCA devices older than 2.0. |
[out] | responseArray | An array where the sub carrier modulation should be stored. |
[in] | responseArraySize | The size of the response array. |
[out] | responseArrayUsed | The number of entries in the response array which have valid data. |
RMH_Result RMH_RemoteNode_GetSecondaryTxUnicastSubcarrierModulation | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
const RMH_PERMode | perMode, | ||
RMH_SubcarrierProfile * | responseArray, | ||
const size_t | responseArraySize, | ||
size_t * | responseArrayUsed | ||
) |
Return the unicast transmit subcarrier modulation profiles for the secondary MoCA channel.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[in] | perMode | The PER Mode to check.This parameter will be ignored for MoCA devices older than 2.0. |
[out] | responseArray | An array where the sub carrier modulation should be stored. |
[in] | responseArraySize | The size of the response array. |
[out] | responseArrayUsed | The number of entries in the response array which have valid data. |
RMH_Result RMH_RemoteNode_GetRxBroadcastSubcarrierModulation | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
const RMH_PERMode | perMode, | ||
RMH_SubcarrierProfile * | responseArray, | ||
const size_t | responseArraySize, | ||
size_t * | responseArrayUsed | ||
) |
Return the receive broadcast subcarrier modulation profiles for the channel.
In the case of a MoCA 1.1 connection this will return the SubcarrierModulation.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[in] | perMode | The PER Mode to check.This parameter will be ignored for MoCA devices older than 2.0. |
[out] | responseArray | An array where the sub carrier modulation should be stored. |
[in] | responseArraySize | The size of the response array. |
[out] | responseArrayUsed | The number of entries in the response array which have valid data. |
RMH_Result RMH_RemoteNode_GetTxBroadcastSubcarrierModulation | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
const RMH_PERMode | perMode, | ||
RMH_SubcarrierProfile * | responseArray, | ||
const size_t | responseArraySize, | ||
size_t * | responseArrayUsed | ||
) |
Return the transmission broadcast subcarrier modulation profiles for the channel.
In the case of a MoCA 1.1 connection this will return the SubcarrierModulation.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[in] | perMode | The PER Mode to check.This parameter will be ignored for MoCA devices older than 2.0. |
[out] | responseArray | An array where the sub carrier modulation should be stored. |
[in] | responseArraySize | The size of the response array. |
[out] | responseArrayUsed | The number of entries in the response array which have valid data. |
RMH_Result RMH_PQOS_GetMaxIngressFlows | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the maximum number of supported Ingress PQoS Flows by the Node [mocaIfSupportedIngressPqosFlows].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | Maximum number of supported Ingress PQoS Flows by the Node. |
RMH_Result RMH_PQOS_GetMaxEgressFlows | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the maximum number of supported Egress PQoS Flows by the Node [mocaIfSupportedEgressPqosFlows].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | Maximum number of supported Egress PQoS Flows by the Node. |
RMH_Result RMH_PQoS_GetNumIngressFlows | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of ingress flows.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of ingress flows. |
RMH_Result RMH_PQoS_GetNumEgressFlows | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of egress flows.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of egress flows. |
RMH_Result RMH_PQoS_GetEgressBandwidth | ( | const RMH_Handle | handle, |
const uint32_t | nodeId, | ||
uint32_t * | response | ||
) |
Return the amount of egress bandwidth available on a particular node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | nodeId | The node Id of the remote node to inspect. |
[out] | response | The available egress bandwidth. |
RMH_Result RMH_PQoS_GetIngressFlowIds | ( | const RMH_Handle | handle, |
RMH_MacAddress_t * | responseArray, | ||
const size_t | responseArraySize, | ||
size_t * | responseArrayUsed | ||
) |
Return a list of the unique Id for each existing ingress flows.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | responseArray | An array where the flow unique Ids should be returned. |
[in] | responseArraySize | The size of the response array. |
[out] | responseArrayUsed | The number of entries in the response array which have valid data. |
RMH_Result RMH_PQoSFlow_GetPeakDataRate | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | flowId, | ||
uint32_t * | response | ||
) |
Return the peak data rate in Kbps for the flow specified by flowId.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | flowId | The unique flow identifier. |
[out] | response | The peak data rate in Kbps. |
RMH_Result RMH_PQoSFlow_GetBurstSize | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | flowId, | ||
uint32_t * | response | ||
) |
Return the number of packets per burst for the flow specified by flowId.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | flowId | The unique flow identifier. |
[out] | response | The packets per burst. |
RMH_Result RMH_PQoSFlow_GetLeaseTime | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | flowId, | ||
uint32_t * | response | ||
) |
Return the lease time in seconds for the flow specified by flowId.
Zero indicates an infinite lease time.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | flowId | The unique flow identifier. |
[out] | response | The lease time in seconds. |
RMH_Result RMH_PQoSFlow_GetLeaseTimeRemaining | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | flowId, | ||
uint32_t * | response | ||
) |
Return the lease time remaining in seconds for the flow specified by flowId.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | flowId | The unique flow identifier. |
[out] | response | The lease time remaining in seconds. |
RMH_Result RMH_PQoSFlow_GetFlowTag | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | flowId, | ||
uint32_t * | response | ||
) |
Return the tag for the flow specified by flowId. This is optional for application use.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | flowId | The unique flow identifier. |
[out] | response | The flow tag. |
RMH_Result RMH_PQoSFlow_GetMaxLatency | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | flowId, | ||
uint32_t * | response | ||
) |
Return the maximum latency of the flow specified by flowId.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | flowId | The unique flow identifier. |
[out] | response | The maximum latency. |
RMH_Result RMH_PQoSFlow_GetShortTermAvgRatio | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | flowId, | ||
uint32_t * | response | ||
) |
Return the short term average ratio for the flow specified by flowId.
This is the ratio of the short term average rate of the flow compared to the peak rate over the interval of RMH_PQoSFlow_GetMaxLatency. This value plus one serves as the numerator of the ratio. The denominator is 256. This value is only applicable when the maximun latency value is greater than or equal to 10 ms.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | flowId | The unique flow identifier. |
[out] | response | The short term average ratio. |
RMH_Result RMH_PQoSFlow_GetMaxRetry | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | flowId, | ||
uint32_t * | response | ||
) |
Return the maximum number of retransmission attempts for each MSDU of the flow specified by flowId.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | flowId | The unique flow identifier. |
[out] | response | The maximum retransmission attempts. |
RMH_Result RMH_PQoSFlow_GetVLANTag | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | flowId, | ||
uint32_t * | response | ||
) |
Return the VLAN priority for the flow specified by flowId.
This is used for MSDU classification when RMH_PQoSFlow_GetIngressClassificationRule is 6 or 7.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | flowId | The unique flow identifier. |
[out] | response | The VLAN tag. |
RMH_Result RMH_PQoSFlow_GetFlowPer | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | flowId, | ||
uint32_t * | response | ||
) |
Return the flow packet error ratio profile for the flow specified by flowId.
This is to specify whether the flow should use the nominal packet error rate (PER) PHY profile or the Very Low PER PHY profile.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | flowId | The unique flow identifier. |
[out] | response | The flow PER profile. |
RMH_Result RMH_PQoSFlow_GetIngressClassificationRule | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | flowId, | ||
uint32_t * | response | ||
) |
Return the ingress classification rule for assigning MSDUs to the flow specified by flowId.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | flowId | The unique flow identifier. |
[out] | response | The ingress classification rule. |
RMH_Result RMH_PQoSFlow_GetPacketSize | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | flowId, | ||
uint32_t * | response | ||
) |
Return the packet size in bytes of the flow specified by flowId.
This includes the VLAN header but not including the FCS.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | flowId | The unique flow identifier. |
[out] | response | The flow packet size. |
RMH_Result RMH_PQoSFlow_GetTotalTxPackets | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | flowId, | ||
uint32_t * | response | ||
) |
Return the total number of packets transmitted on the flow specified by flowId.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | flowId | The unique flow identifier. |
[out] | response | The total number of packets transmitted. |
RMH_Result RMH_PQoSFlow_GetDSCPMoCA | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | flowId, | ||
uint32_t * | response | ||
) |
Return the DSCP MoCA value for the flow specified by flowId.
The value of the three MSB of the DSCP Type of Service field is used for MSDU classification when RMH_PQoSFlow_GetIngressClassificationRule is set to 1 or 3.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | flowId | The unique flow identifier. |
[out] | response | The DSCP MoCA. |
RMH_Result RMH_PQoSFlow_GetDFID | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | flowId, | ||
uint32_t * | response | ||
) |
Return the destination flow ID of the flow specified by flowId.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | flowId | The unique flow identifier. |
[out] | response | The DFID of the flow. |
RMH_Result RMH_PQoSFlow_GetDestination | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | flowId, | ||
RMH_MacAddress_t * | response | ||
) |
Return the destination flow ID of the flow specified by flowId.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | flowId | The unique flow identifier. |
[out] | response | The DFID of the flow. |
RMH_Result RMH_PQoSFlow_GetIngressMac | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | flowId, | ||
RMH_MacAddress_t * | response | ||
) |
Return the ingress MAC address of the flow specified by flowId.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | flowId | The unique flow identifier. |
[out] | response | The ingress MAC of the flow. |
RMH_Result RMH_PQoSFlow_GetEgressMac | ( | const RMH_Handle | handle, |
const RMH_MacAddress_t | flowId, | ||
RMH_MacAddress_t * | response | ||
) |
Return the egress MAC address of the flow specified by flowId.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | flowId | The unique flow identifier. |
[out] | response | The ingress MAC of the flow. |
RMH_Result RMH_PQoS_GetMinEgressBandwidth | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the node Id with the minimum available bandwidth.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The node Id with the minimum available bandwidth. |
RMH_Result RMH_Stats_GetAdmissionAttempts | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of admission attempts this node has made.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of admission attempts. |
RMH_Result RMH_Stats_GetAdmissionFailures | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of admission failures for this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of admission failures by this node. |
RMH_Result RMH_Stats_GetAdmissionSucceeded | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of successful admissions for this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of successful admissions by this node. |
RMH_Result RMH_Stats_GetAdmissionsDeniedAsNC | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of admissions this node has denied when it was the NC.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of admissions this node has denied when it was the NC. |
RMH_Result RMH_Stats_GetTxTotalBytes | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the total number of bytes transmitted by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The total number of bytes transmitted by this node. |
RMH_Result RMH_Stats_GetRxTotalBytes | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the total number of bytes received by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The total number of bytes received by this node. |
RMH_Result RMH_Stats_GetTxTotalPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the total number of packets transmitted by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of packets transmitted by this node. |
RMH_Result RMH_Stats_GetRxTotalPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the total number of packets received by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of received transmitted by this node. |
RMH_Result RMH_Stats_GetTxUnicastPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of unicast packets transmitted by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of unicast packets transmitted by this node. |
RMH_Result RMH_Stats_GetRxUnicastPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of unicast packets received by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of unicast packets received by this node. |
RMH_Result RMH_Stats_GetTxBroadcastPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of broadcast packets transmitted by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of broadcast packets transmitted by this node. |
RMH_Result RMH_Stats_GetRxBroadcastPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of broadcast packets received by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of broadcast packets received by this node. |
RMH_Result RMH_Stats_GetTxMulticastPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of multicast packets transmitted by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of multicast packets transmitted by this node. |
RMH_Result RMH_Stats_GetRxMulticastPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of multicast packets received by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of multicast packets received by this node. |
RMH_Result RMH_Stats_GetTxReservationRequestPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of reservation request packets transmitted by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of reservation request packets transmitted by this node. |
RMH_Result RMH_Stats_GetRxReservationRequestPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of reservation request packets received by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of reservation request packets received by this node. |
RMH_Result RMH_Stats_GetTxMapPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of MAP transmitted by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of MAP packets transmitted by this node. |
RMH_Result RMH_Stats_GetRxMapPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of MAP received by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of MAP packets received by this node. |
RMH_Result RMH_Stats_GetTxLinkControlPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of link control transmitted by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of link control packets transmitted by this node. |
RMH_Result RMH_Stats_GetRxLinkControlPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of link control received by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of link control packets received by this node. |
RMH_Result RMH_Stats_GetTxBeacons | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of link control received by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of link control packets received by this node. |
RMH_Result RMH_Stats_GetRxBeacons | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of beacons received by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of beacons received by this node. |
RMH_Result RMH_Stats_GetRxUnknownProtocolPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of unknown packets received by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of unknown packets received by this node. |
RMH_Result RMH_Stats_GetTxDroppedPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of packets this node has dropped before transmitting.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of packets dropped by this node before transmitting. |
RMH_Result RMH_Stats_GetRxDroppedPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the number of packets this node has dropped after receiving.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The number of received packets dropped by this node. |
RMH_Result RMH_Stats_GetTxTotalErrors | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the total number of transmit errors by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The total number of transmit errors by this node. |
RMH_Result RMH_Stats_GetRxTotalErrors | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the total number of received errors by this node.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The total number of receive errors by this node. |
RMH_Result RMH_Stats_GetRxCRCErrors | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the total number of packets this node has received with CRC errors.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The total number of received packets with CRC errors. |
RMH_Result RMH_Stats_GetRxTimeoutErrors | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the total number of packets this node has received with timeout errors.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The total number of received packets with timeout errors. |
RMH_Result RMH_Stats_GetRxTotalAggregatedPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the total number of received aggregated packets.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The total number of received aggregated packets. |
RMH_Result RMH_Stats_GetTxTotalAggregatedPackets | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the total number of transmitted aggregated packets.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The total number of transmitted aggregated packets. |
RMH_Result RMH_Stats_GetRxPacketAggregation | ( | const RMH_Handle | handle, |
uint32_t * | responseArray, | ||
const size_t | responseArraySize, | ||
size_t * | responseArrayUsed | ||
) |
Return an array indicating the number of packets received per aggregation number.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | responseArray | The total number of transmitted aggregated packets. |
[in] | responseArraySize | The size of the response array. |
[out] | responseArrayUsed | The number of entries in the response array which have valid data. |
RMH_Result RMH_Stats_GetTxPacketAggregation | ( | const RMH_Handle | handle, |
uint32_t * | responseArray, | ||
const size_t | responseArraySize, | ||
size_t * | responseArrayUsed | ||
) |
Return an array indicating the number of packets transmitted per aggregation number.
The array index indicates the number of transmitted bursts. So index 0 counts transmitted bursts with actual aggregation of 0, index 2 counts actual aggregation of 2, and so on.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | responseArray | An array where the aggregation information should be returned. |
[in] | responseArraySize | The size of the response array. |
[out] | responseArrayUsed | The number of entries in the response array which have valid data. |
RMH_Result RMH_Stats_GetRxCorrectedErrors | ( | const RMH_Handle | handle, |
RMH_NodeList_Uint32_t * | response | ||
) |
Return the number of received packets from every node with errors which were corrected.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | Number of corrected errors for that node, if nodePresent is true. |
RMH_Result RMH_Stats_GetRxUncorrectedErrors | ( | const RMH_Handle | handle, |
RMH_NodeList_Uint32_t * | response | ||
) |
Return the number of received packets from every node with errors which were not corrected.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | Number of corrected errors for that node, if nodePresent is true. |
RMH_Result RMH_Stats_Reset | ( | const RMH_Handle | handle | ) |
Reset MoCA statistics counters back to zero.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
RMH_Result RMH_Log_GetAPILevel | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return a bitmask of RMH_LogLevel which indicates the currently enabled RMH log types in the RMH library.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The RMH API log level. |
RMH_Result RMH_Log_SetAPILevel | ( | const RMH_Handle | handle, |
const uint32_t | value | ||
) |
RMH_Result RMH_Log_GetDriverLevel | ( | const RMH_Handle | handle, |
RMH_LogLevel * | response | ||
) |
Return a bitmask of RMH_LogLevel which indicates the currently enabled RMH log types in the MoCA driver.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The SoC MoCA Driver log level. |
RMH_Result RMH_Log_SetDriverLevel | ( | const RMH_Handle | handle, |
const RMH_LogLevel | value | ||
) |
Set the log level of the MoCA driver.
This is set as a bitmask of RMH_LogLevel indicating the RMH log types to enable at the driver.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The SoC MoCA Driver log level. |
RMH_Result RMH_Log_GetDriverFilename | ( | const RMH_Handle | handle, |
char * | responseBuf, | ||
const size_t | responseBufSize | ||
) |
Get the file name where MoCA driver logs are currently being captured.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | responseBuf | A buffer where the filename will be written. |
[in] | responseBufSize | The size in bytes of the buffer responseBuf. |
RMH_Result RMH_Log_SetDriverFilename | ( | const RMH_Handle | handle, |
const char * | value | ||
) |
Set the file name where MoCA driver logs should be captured to.
If logs are already being captured to a file this capture will stop at that location and begin in this file. If the new log file already exists new logs will append to it.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | value | A file name where logs should be written. |
RMH_Result RMH_Log_PrintStatus | ( | const RMH_Handle | handle, |
const char * | filename | ||
) |
Print a generic status summary of the MoCA device and network.
If filename is NULL all log messages are printed with RMH_LOG_MESSAGE. If it is not NULL the status will be appended to that file.
[in] | handle | The RMH handle as returned by RMH_Initialize. NULL is valid for this API. |
[in] | filename | The file name where to write the status. If this is NULL the status will be written to RMH_LOG_MESSAGE. |
RMH_Result RMH_ACA_Request | ( | const RMH_Handle | handle, |
const uint32_t | channelNum, | ||
const uint32_t | sourceNodeId, | ||
const uint32_t | destinationNodeMask, | ||
const RMH_ACAType | type | ||
) |
Print a summary of the sub carrier modulation bitloading information.
[in] | handle | The RMH handle as returned by RMH_Initialize. NULL is valid for this API. |
[in] | filename | The file name where to write the status. If this is NULL the status will be written to RMH_LOG_MESSAGE. |
RMH_Result RMH_ACA_GetChannel | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the channel number of the last requested ACA. [mocaIfAcaNodeID].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The channel number of the last requested ACA. [mocaIfAcaNodeID]. |
RMH_Result RMH_ACA_GetSourceNodeId | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the Node ID of the source node for the last requested ACA. [mocaIfAcaNodeID].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The Node ID of the source node for the last requested ACA. [mocaIfAcaNodeID]. |
RMH_Result RMH_ACA_GetDestinationNodeMask | ( | const RMH_Handle | handle, |
uint32_t * | response | ||
) |
Return the bitmask of the destination nodes for the last requested ACA. [mocaIfAcaReportNodeMask].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The bitmask of the destination nodes for the last requested ACA. [mocaIfAcaReportNodeMask]. |
RMH_Result RMH_ACA_GetType | ( | const RMH_Handle | handle, |
RMH_ACAType * | response | ||
) |
Return the type of the last requested ACA operation.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The type of the last requested ACA operation [mocaIfAcaType]. |
RMH_Result RMH_ACA_GetStatus | ( | const RMH_Handle | handle, |
RMH_ACAStatus * | response | ||
) |
Return the current status of the last requested ACA operation.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The current status of the previously started ACA operation [mocaIfAcaStatus]. |
RMH_Result RMH_ACA_GetTotalRxPower | ( | const RMH_Handle | handle, |
int32_t * | response | ||
) |
Return the total power from the last completed ACA operation.
This call will fail if an ACA operation is already in progress.
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[out] | response | The total power from the last completed ACA operation [mocaIfAcaTotalRxPower]. |
RMH_Result RMH_ACA_GetPowerProfile | ( | const RMH_Handle | handle, |
uint8_t * | responseArray, | ||
const size_t | responseArraySize, | ||
size_t * | responseArrayUsed | ||
) |
Returns the ACA power profile.
Returns a binary string array with 1 byte for each subcarrier. [mocaIfAcaPowerProfile].
[in] | handle | The RMH handle as returned by RMH_Initialize. |
[in] | responseArray | The ACA power profile. |
[in] | responseArraySize | The size of responseArray. |
[out] | responseArrayUsed | The number of entries in the response array which have valid data. |