at_cmd_http.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // //////////////////////////////////////////////////////////////////////////////
  2. // Copyright (C) 2002-2012, Coolsand Technologies, Inc.
  3. // All Rights Reserved
  4. //
  5. // This source code is property of Coolsand. The information contained in this
  6. // file is confidential. Distribution, reproduction, as well as exploitation,
  7. // or transmission of any content of this file is not allowed except if
  8. // expressly permitted.Infringements result in damage claims!
  9. //
  10. // FILENAME: at_cmd_gprs.h
  11. //
  12. // DESCRIPTION:
  13. // TODO: ...
  14. //
  15. // REVISION HISTORY:
  16. // NAME DATE REMAKS
  17. // Lixp 2012-2-20 Created initial version 1.0
  18. //
  19. // //////////////////////////////////////////////////////////////////////////////
  20. #ifndef __AT_CMD_HTTP_H__
  21. #define __AT_CMD_HTTP_H__
  22. #include "ats_config.h"
  23. #include "at_engine.h"
  24. #include "at_command.h"
  25. #ifdef CONFIG_AT_HTTP_SUPPORT
  26. void AT_CmdFunc_HTTPHEAD(atCommand_t *pParam);
  27. void process_HTTP_html(const unsigned char *data, size_t data_len);
  28. void process_HTTPDLD_data(const unsigned char *data, size_t len);
  29. void AT_CmdFunc_HTTPPARA(atCommand_t *pParam);
  30. void AT_CmdFunc_HTTPACTION(atCommand_t *pParam);
  31. void AT_CmdFunc_HTTPSTATUS(atCommand_t *pParam);
  32. void AT_CmdFunc_HTTPREAD(atCommand_t *pParam);
  33. void AT_CmdFunc_HTTPDATA(atCommand_t *pParam);
  34. void AT_CmdFunc_HTTPINIT(atCommand_t *pParam);
  35. void AT_CmdFunc_HTTPTERM(atCommand_t *pParam);
  36. void SetHttpEngine(atCmdEngine_t *Engine);
  37. void Http_WriteUart(const char *data, unsigned length);
  38. //void memory_Free_Http(Http_info *http_info);
  39. void AT_CmdFunc_HTTPSSETCRT(atCommand_t *pParam);
  40. #endif
  41. #endif