1.2.3.4 Library Interface
PLC PHY Sniffer library provides the following interfaces:
Functions
Name | Description |
---|---|
SRV_PSERIAL_GetCommand | Extracts Command field from Serial frame |
SRV_PSERIAL_ParseGetPIB | Extracts PIB field from SRV_PSERIAL_CMD_PHY_GET_CFG Serial frame |
SRV_PSERIAL_SerialGetPIB | Serializes a response to a SRV_PSERIAL_CMD_PHY_GET_CFG command |
SRV_PSERIAL_ParseSetPIB | Extracts PIB field from SRV_PSERIAL_CMD_PHY_SET_CFG Serial frame |
SRV_PSERIAL_SerialSetPIB | Serializes a response to a SRV_PSERIAL_CMD_PHY_SET_CFG command |
SRV_PSERIAL_ParseTxMessage | Extracts a PLC frame to be transmitted from SRV_PSERIAL_CMD_PHY_SEND_MSG Serial frame |
SRV_PSERIAL_SerialRxMessage | Serializes a received PLC frame and its related information |
SRV_PSERIAL_SerialCfmMessage | Serializes the result of a PLC transmitted frame |
Data types and constants
Name | Type | Description |
---|---|---|
SRV_PSERIAL_COMMAND | Enum | Defines the available PLC Serial commands |