location.h 718 B

12345678910111213141516171819202122232425
  1. #ifndef __LOCATION_H_
  2. #define __LOCATION_H_
  3. #include "main.h"
  4. //所有采样及上传间隔最小值
  5. #define ALL_MIN_SAMPLE_TIME 5
  6. void locationWorkCtl(T_BOOL status);
  7. T_INT32 getLocationCnt(void);
  8. void locationCntUpdate(T_INT32);
  9. void ActiveTgMode(void);
  10. PT_THREAD (ptLocationTask(pt_timer_t *ptPool, struct pt *pt));
  11. PT_THREAD (ptLbsMotionTask(pt_timer_t *ptPool, struct pt *pt));
  12. PT_THREAD (ptNearTask(pt_timer_t *ptPool, struct pt *pt));
  13. T_BOOL isGpsLocated(void);
  14. void onWorkChecking(T_BOOL right_now);
  15. void onWorkTimerInit(void);
  16. void motionGetOk(void);
  17. void getNearOk(void);
  18. int getNearCnt(void);
  19. int getGnssCnt(void);
  20. void gpsIntervalMaxInit(void);
  21. void gpsCntChecker(void);
  22. #endif