1.3.3.16 PAL_MMHI_TxRequest Function

C

void PAL_MMHI_TxRequest (
        uint8_t *pData,
        uint16_t length
    )

Summary

Allows the MM Host Interface to transmit PHY data through PLC device.

Description

This routine sends a new data message from MM Host Interface through PLC using the PAL module.

Parameters

Param Description

pData

Pointer to the data to transmit

length

Length of the data to transmit in bytes

Returns

None.

Example

    uint16_t txLength;
    uint8_t txData[MAC_DATA_MAX_SIZE];

    txLength = _checkRequestFromHostInterface(txData);

    if (txLength > 0)
    {
        PAL_MMHI_TxRequest(txData, txLength);
    }

Remarks

This function is only available if Host Interface module is used, and Manufacturer Commands are enabled.

It is an internal function that is not intended to be invoked by the final user.