Port of TI's CC3100 Websock camera demo. Using FreeRTOS, mbedTLS, also parts of Arducam for cams ov5642 and 0v2640. Can also use MT9D111. Work in progress. Be warned some parts maybe a bit flacky. This is for Seeed Arch max only, for an M3, see the demo for CM3 using the 0v5642 aducam mini.

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers HttpDebug.h Source File

HttpDebug.h

00001 //*****************************************************************************
00002 // Copyright (C) 2014 Texas Instruments Incorporated
00003 //
00004 // All rights reserved. Property of Texas Instruments Incorporated.
00005 // Restricted rights to use, duplicate or disclose this code are
00006 // granted through contract.
00007 // The program may not be used without the written permission of
00008 // Texas Instruments Incorporated or against the terms and conditions
00009 // stipulated in the agreement under which this program has been supplied,
00010 // and under no circumstances can it be used with non-TI connectivity device.
00011 //
00012 //*****************************************************************************
00013 
00014 #ifndef _HTTP_DEBUG_H_
00015 #define _HTTP_DEBUG_H_
00016 
00017 #include "stdint.h"
00018 #include "HttpConfig.h"
00019 #include "cli_uart.h"
00020 
00021 /**
00022  * @defgroup HttpDebug Debugging routines
00023  * This module implements debug routines which enable debug traces to be sent to a logger
00024  * Note this module is only compiled if HTTP_CORE_ENABLE_DEBUG is defined in HttpConfig.h
00025  *
00026  * @{
00027  */
00028 
00029 /**
00030  * Send formatted debug trace to logger
00031  * @param pFormat The printf-style format to send
00032  * @param ... The rest of the parameters
00033  */
00034 #ifndef NOTERM
00035 #define HttpDebug           Report//Uart_Write//Report
00036 #else
00037 #define HttpDebug(x, ...)
00038 #endif
00039 
00040 #ifdef  __cplusplus
00041 extern "C" {
00042 #endif
00043 
00044 /**
00045  * Send string debug trace to logger
00046  * @param pString The string to send
00047  */
00048 void HttpDebugStr(uint8_t* pString);
00049 
00050 /**
00051  * Assert that a certain condition is true
00052  * @param condition A value that must be nonzero
00053  */
00054 void HttpAssert(int condition);
00055 
00056 #ifdef  __cplusplus
00057 }
00058 #endif /* __cplusplus */
00059 #endif // _HTTP_STRING_H_
00060 
00061 /// @}
00062