AppTaskGps.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /****************************************************************************
  2. *
  3. * Copy right: Qx.Chen jie
  4. * File name: AppTaskGps.h
  5. * Description: Gps处理任务和三轴数据处理及获取
  6. * History: 2021-03-07 2021-07-15
  7. * Version: V3.0
  8. ****************************************************************************/
  9. //
  10. #include "bsp.h"
  11. #include "bsp_custom.h"
  12. #include "osasys.h"
  13. #include "ostask.h"
  14. #include "queue.h"
  15. #include "ps_event_callback.h"
  16. #include "cmisim.h"
  17. #include "cmimm.h"
  18. #include "cmips.h"
  19. #include "sockets.h"
  20. #include "psifevent.h"
  21. #include "ps_lib_api.h"
  22. #include "lwip/netdb.h"
  23. #include "debug_log.h"
  24. #include "slpman_ec616.h"
  25. #include "plat_config.h"
  26. #include "ec_tcpip_api.h"
  27. #include "AppFunc.h"
  28. #include "AppSignal.h"
  29. #include "AppConfig.h"
  30. #include "hal_module_adapter.h"
  31. #define GPS_TASK_STACK_SIZE (512)
  32. typedef enum
  33. {
  34. PROCESS_GPS_STATE_INIT = 0,
  35. PROCESS_GPS_STATE_IDLE,
  36. PROCESS_GPS_STATE_WORK,
  37. PROCESS_GPS_STATE_SLEEP
  38. }process_gps;
  39. void AppTaskGpsInit(void *arg);
  40. void AppTaskGpsDeInit(void *arg);