/* This function prepare error netapp response in case memory could not be allocated.  */
void NetAppRequestErrorResponse(SlNetAppResponse_t *pNetAppResponse)
/* This function prepare error netapp response in case memory could not be allocated.  */
void NetAppRequestErrorResponse(SlNetAppResponse_t *pNetAppResponse)
{
    UART_PRINT("[Link local task] could not allocate memory for netapp request\n\r");
    pNetAppResponse->Status = SL_NETAPP_RESPONSE_NONE;
    pNetAppResponse->ResponseData.pMetadata = NULL;
    pNetAppResponse->ResponseData.MetadataLen = 0;
    pNetAppResponse->ResponseData.pPayload = NULL;
    pNetAppResponse->ResponseData.PayloadLen = 0;
    pNetAppResponse->ResponseData.Flags = 0;
}