1.1.1.4.5 DRV_PLC_PHY_PIBGet Function

C

void DRV_PLC_PHY_PIBGet (
    const DRV_HANDLE handle,
    DRV_PLC_PHY_PIB_OBJ *pibObj
);

Summary

Allows a client to get information from PLC transceiver about PHY information base (PIB).

Description

This routine gets PHY data information from the PLC transceiver.

Parameters

ParamDescription
handleA valid open-instance handle, returned from the driver's open routine
pibObjPointer to the PIB object to get

Returns

None.

Example

// 'handle', returned from DRV_PLC_PHY_Open previously called

DRV_PLC_PHY_PIB_OBJ pibObj;
uint32_t phyVersion;

pibObj.pData = &phyVersion;
pibObj.length = 4;
pibObj.id = PLC_ID_VERSION_NUM;

DRV_PLC_PHY_PIBGet(handle, &pibObj);

Remarks

None.