| 1234567891011121314151617181920212223242526 |
- /**********************************************************************************
- *Modem.h
- *
- ***********************************************************************************/
- #ifndef __GPS_H
- #define __GPS_H
- /***********************************************************************************/
- //Modem Reset
- #define GPS_PWR_PIN GPIO_Pin_14
- #define GPS_PWR_PORT GPIOB
- #define GPS_PWR_ON GPS_PWR_PORT->BRR = GPS_PWR_PIN
- #define GPS_PWR_OFF GPS_PWR_PORT->BSRR = GPS_PWR_PIN
- char* GPSGetGPRMC(char *msg);
- #define GPS_DATA_SOCKET 1 //GPSÒµÎñʹÓõÄÄ£¿ésocketºÅ
- void GPSInit(void);
- void GPSRestart(void);
- void GPS_RFPwrCtrl(char on_off);
- #endif
- /***********************************************************************************/
|