1.2.3.4 Library Interface

PLC PHY Sniffer library provides the following interfaces:

Functions

NameDescription
SRV_PSERIAL_GetCommandExtracts Command field from Serial frame
SRV_PSERIAL_ParseGetPIBExtracts PIB field from SRV_PSERIAL_CMD_PHY_GET_CFG Serial frame
SRV_PSERIAL_SerialGetPIBSerializes a response to a SRV_PSERIAL_CMD_PHY_GET_CFG command
SRV_PSERIAL_ParseSetPIBExtracts PIB field from SRV_PSERIAL_CMD_PHY_SET_CFG Serial frame
SRV_PSERIAL_SerialSetPIBSerializes a response to a SRV_PSERIAL_CMD_PHY_SET_CFG command
SRV_PSERIAL_ParseTxMessageExtracts a PLC frame to be transmitted from SRV_PSERIAL_CMD_PHY_SEND_MSG Serial frame
SRV_PSERIAL_SerialRxMessageSerializes a received PLC frame and its related information
SRV_PSERIAL_SerialCfmMessageSerializes the result of a PLC transmitted frame

Data types and constants

NameTypeDescription
SRV_PSERIAL_COMMANDEnumDefines the available PLC Serial commands