2.4.3.5 FrameCheckCalculate()

static uint16_t FrameCheckCalculate (uint8_t * ftpData, uint16_t bufferLength)[static]

Calculate the frame check on the given data buffer.

Note:

For more information on the frame check used by the FTP refer to the MDFU protocol document version 1.0.0.

Parameters:
in ftpData

Data buffer to be used for the frame check calculation

in bufferLength

Length of data objects in the buffer

Returns:

Calculated frame check