GPS GMS-6 Module
Diff: GPSGms6.cpp
- Revision:
- 2:3064a132bc39
- Parent:
- 1:dceb4eaf697e
- Child:
- 3:910f54a89372
diff -r dceb4eaf697e -r 3064a132bc39 GPSGms6.cpp --- a/GPSGms6.cpp Sun May 15 09:56:11 2016 +0000 +++ b/GPSGms6.cpp Sun May 15 10:10:53 2016 +0000 @@ -55,7 +55,7 @@ * @param section size : size of the processing section * @retval pointer of return value */ -static GPS_ProcessStatus GPS_ProcessGprmcSection(GPS_ProcessState state,char * buf , unsigned int buf_index,unsigned int buf_size, unsigned int section_size, char * ret_value) +static GPS_ProcessStatus GPSGms6_ProcessGprmcSection(GPS_ProcessState state,char * buf , unsigned int buf_index,unsigned int buf_size, unsigned int section_size, char * ret_value) { /* Initialize status */ GPS_ProcessStatus status = GPS_Status_Valid; @@ -91,7 +91,7 @@ * @param buf size : size of the buffer * @retval variable that define in the table will be populated the data */ -static void GPS_ProcessGpsData(char * buf, unsigned int size) +static void GPSGms6_ProcessGpsData(char * buf, unsigned int size) { unsigned int index; unsigned int adv_index = 0; @@ -152,7 +152,7 @@ else { /* Process GRPMC section */ - status = GPS_ProcessGprmcSection(state, buf ,index, size, GET_GPRMC_SECTION_SIZE(state), GET_GPRMC_VARIABLE_ADDR(state)); + status = GPSGms6_ProcessGprmcSection(state, buf ,index, size, GET_GPRMC_SECTION_SIZE(state), GET_GPRMC_VARIABLE_ADDR(state)); /* Move to the next section */ adv_index = GET_GPRMC_SECTION_SIZE(state); @@ -192,7 +192,7 @@ void complete_callback() { /* Process GPS Data once message is completed read */ - GPS_ProcessGpsData(m_RxBuf, RX_BUF_SIZE); + GPSGms6_ProcessGpsData(m_RxBuf, RX_BUF_SIZE); } /** * @brief Callback function that process when a charector is transfered