http.h 476 B

123456789101112131415161718192021222324
  1. #ifndef __HTTP_H_
  2. #define __HTTP_H_
  3. typedef enum{
  4. LTE_UPDATE_BUSY,
  5. LTE_UPDATE_FAILED,
  6. LTE_UPDATE_DONE
  7. }LTE_UPDATE_ENUM;
  8. LTE_UPDATE_ENUM getLteUpdateStatus(void);
  9. void fotaLetPre(char *NewVer);
  10. void postTimeOut(void);
  11. #ifdef ENABLE_HTTP_POST
  12. typedef enum{
  13. POST_BUSY,
  14. POST_FAILED,
  15. POST_DONE
  16. }POST_VOICE_ENUM;
  17. POST_VOICE_ENUM getLtePostStatus(void);
  18. void tryPostVoiceData(unsigned char *pcm, unsigned int len, char *httpfilePath);
  19. #endif
  20. #endif