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 strlib.h Source File

strlib.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 __STRLIB__
00015 #define __STRLIB__
00016 
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020 
00021 char *itoa(int n, char *s, int b);
00022 char *strrev(char *str);
00023 void WordToBytes(void *pBuff, void const*pvalue, unsigned int NumBytes);
00024 int String_utoa(int uNum, char *pString);
00025 int iptostring(unsigned char *ip, char *ipstring);
00026 
00027 #ifdef  __cplusplus
00028 }
00029 #endif /* __cplusplus */
00030 #endif
00031 
00032 
00033 
00034