| 1234567891011121314151617181920212223242526272829 |
- /**********************************************************************************
- *Modem.h
- *
- ***********************************************************************************/
- #ifndef __GPS_H
- #define __GPS_H
- /***********************************************************************************/
- #if 0
- #define GPS_PWREN_PIN GPIO_Pin_12
- #define GPS_PWREN_PORT GPIOB
- #define GPS_PWREN_HIGH GPS_PWREN_PORT->BSRR = GPS_PWREN_PIN
- #define GPS_PWREN_LOW GPS_PWREN_PORT->BRR = GPS_PWREN_PIN
- #else
- #define GPS_PWREN_PIN GPIO_Pin_9
- #define GPS_PWREN_PORT GPIOC
- #define GPS_PWREN_HIGH GPS_PWREN_PORT->BRR = GPS_PWREN_PIN
- #define GPS_PWREN_LOW GPS_PWREN_PORT->BSRR = GPS_PWREN_PIN
- #endif
- char* GPSGetGPRMC(char *msg);
- #define GPS_DATA_SOCKET 1 //GPSÒµÎñʹÓõÄÄ£¿ésocketºÅ
- int GPSInit(void);
- #endif
- /***********************************************************************************/
|