1234567891011121314151617181920212223242526272829303132 |
- #ifndef __GPS_CTL_H__
- #define __GPS_CTL_H__
- #include "message.h"
- #define GPS_TABLE_NUM 7
- #pragma pack(push)
- #pragma pack(1)
- typedef struct{
- unsigned char Update;
- unsigned char forcePullGroupOn;
- unsigned char startCntFlag;
- unsigned char skipCnt;
- unsigned char GBKMess1[SMS_SIGNAL_LEN+1];
- unsigned short len;
- unsigned char codeType;
- }SUT_MESS;
- #pragma pack(pop)
- extern SUT_MESS sutMess;
- extern unsigned char gpsCheckCnt;
- extern const unsigned short GPS_TimeTable[GPS_TABLE_NUM];
- void gpsDataInit(void);
- unsigned short getGPSTimeValue(unsigned char index);
- void gpsProCtl(int dly);
- void gpsCheckInfo(void);
- #endif
|