12345678910111213141516171819202122232425 |
- #ifndef __LOCATION_H_
- #define __LOCATION_H_
- #include "main.h"
- //所有采样及上传间隔最小值
- #define ALL_MIN_SAMPLE_TIME 5
- void locationWorkCtl(T_BOOL status);
- T_INT32 getLocationCnt(void);
- void locationCntUpdate(T_INT32);
- void ActiveTgMode(void);
- PT_THREAD (ptLocationTask(pt_timer_t *ptPool, struct pt *pt));
- PT_THREAD (ptLbsMotionTask(pt_timer_t *ptPool, struct pt *pt));
- PT_THREAD (ptNearTask(pt_timer_t *ptPool, struct pt *pt));
- T_BOOL isGpsLocated(void);
- void onWorkChecking(T_BOOL right_now);
- void onWorkTimerInit(void);
- void motionGetOk(void);
- void getNearOk(void);
- int getNearCnt(void);
- int getGnssCnt(void);
- void gpsIntervalMaxInit(void);
- void gpsCntChecker(void);
- #endif
|