/********************************************************************************** *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 /***********************************************************************************/