#ifndef __LEARN_HTTP_H_ #define __LEARN_HTTP_H_ typedef enum{ UHTTP_FILE_GET, UHTTP_POST }UHTTP_ENUM; typedef void (*HttpCallBack)(char *msg, int len); void learnHttpStart(UHTTP_ENUM httpType, char *url, unsigned short port, HttpCallBack *httpCb,unsigned char *dmsg, unsigned int dlen); unsigned char getHttpLearnStatus(void); void hearnHttpOverTime(void); void jsonTestNow(void); #endif