2.2.3.8 ResponseSet()
static void ResponseSet (uint8_t * buffer, uint8_t * responsePayload, ftp_response_status_t responseStatus, uint8_t sequenceByte, uint16_t responsePayloadLength)[static]
Sets the response in the FTP process frame.
This function configures the response for a given FTP buffer by setting the response payload, status, sequence byte, and response length.
| in,out | buffer |
- Pointer to the FTP response buffer where the frame must be set |
| in | responsePayload |
- Pointer to the response payload data |
| in | responseStatus |
- Status of the FTP response |
| in | sequenceByte |
- Sequence byte for the response |
| in | responsePayloadLength |
- Length of the response payload |
None |
