/********************************************************************************** *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_0//0---9 #define GPS_PWREN_PORT GPIOC #define GPS_PWREN_HIGH GPS_PWREN_PORT->BSRR = GPS_PWREN_PIN #define GPS_PWREN_LOW GPS_PWREN_PORT->BRR = GPS_PWREN_PIN #endif char* GPSGetGPRMC(char *msg); #define GPS_DATA_SOCKET 1 //GPS业务使用的模块socket号 int GPSInit(void); #endif /***********************************************************************************/