SRV_PCOUP_Set_Config Function
C
bool SRV_PCOUP_Set_Config(DRV_HANDLE handle, SRV_PLC_PCOUP_BRANCH branch);
Summary
Set the PLC PHY Coupling parameters.
Description
This function allows to set the PLC PHY Coupling parameters, using the PLC Driver PIB interface (DRV_PLC_PHY_PIBSet).
Precondition
The PLC driver's open routine (DRV_PLC_PHY_Open) must have been called to obtain a valid opened device handle.
Parameters
Param | Description |
---|---|
handle | A valid instance handle, returned from the PLC driver's open routine |
Returns
- true
- Successful configuration
- false
- if there is an error when using the PLC Driver PIB interface
Example
// 'handle', returned from DRV_PLC_PHY_Open or DRV_G3_MACRT_Open bool result; result = SRV_PCOUP_Set_Config(handle);
Remarks
This function is only generated by MCC if the PLC Driver uses Meters&More PHY.