TI's CC3100 websocket camera demo with Arducam mini ov5642 and freertos. Should work with other M3's. Work in progress test demo.

Dependencies:   mbed

http/server/HttpDebug.h

Committer:
dflet
Date:
2015-09-11
Revision:
1:e448e81c416f
Parent:
0:400d8e75a8d0

File content as of revision 1:e448e81c416f:

//*****************************************************************************
// Copyright (C) 2014 Texas Instruments Incorporated
//
// All rights reserved. Property of Texas Instruments Incorporated.
// Restricted rights to use, duplicate or disclose this code are
// granted through contract.
// The program may not be used without the written permission of
// Texas Instruments Incorporated or against the terms and conditions
// stipulated in the agreement under which this program has been supplied,
// and under no circumstances can it be used with non-TI connectivity device.
//
//*****************************************************************************

#ifndef _HTTP_DEBUG_H_
#define _HTTP_DEBUG_H_

#include "stdint.h"
#include "HttpConfig.h"
#include "cli_uart.h"

/**
 * @defgroup HttpDebug Debugging routines
 * This module implements debug routines which enable debug traces to be sent to a logger
 * Note this module is only compiled if HTTP_CORE_ENABLE_DEBUG is defined in HttpConfig.h
 *
 * @{
 */

/**
 * Send formatted debug trace to logger
 * @param pFormat The printf-style format to send
 * @param ... The rest of the parameters
 */
#ifndef NOTERM
#define HttpDebug           Report//Uart_Write//Report
#else
#define HttpDebug(x, ...)
#endif

#ifdef  __cplusplus
extern "C" {
#endif

/**
 * Send string debug trace to logger
 * @param pString The string to send
 */
void HttpDebugStr(uint8_t* pString);

/**
 * Assert that a certain condition is true
 * @param condition A value that must be nonzero
 */
void HttpAssert(int condition);

#ifdef  __cplusplus
}
#endif /* __cplusplus */
#endif // _HTTP_STRING_H_

/// @}