Harry Keane / X_NUCLEO_GNSS1A1

Dependents:   A_TeseoLocationNEW A_TeseoLocation

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers NMEAUtils.h Source File

NMEAUtils.h

Go to the documentation of this file.
00001 /**
00002 *******************************************************************************
00003 * @file    NMEAUtils.h
00004 * @author  AST / Central Lab
00005 * @version V1.0.0
00006 * @date    19-May-2017
00007 * @brief   NMEA utilities
00008 *
00009 *******************************************************************************
00010 * @attention
00011 *
00012 * <h2><center>&copy; COPYRIGHT(c) 2017 STMicroelectronics</center></h2>
00013 *
00014 * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
00015 * You may not use this file except in compliance with the License.
00016 * You may obtain a copy of the License at:
00017 *
00018 *        http://www.st.com/software_license_agreement_liberty_v2
00019 *
00020 * Redistribution and use in source and binary forms, with or without modification,
00021 * are permitted provided that the following conditions are met:
00022 *   1. Redistributions of source code must retain the above copyright notice,
00023 *      this list of conditions and the following disclaimer.
00024 *   2. Redistributions in binary form must reproduce the above copyright notice,
00025 *      this list of conditions and the following disclaimer in the documentation
00026 *      and/or other materials provided with the distribution.
00027 *   3. Neither the name of STMicroelectronics nor the names of its contributors
00028 *      may be used to endorse or promote products derived from this software
00029 *      without specific prior written permission.
00030 *
00031 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00032 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00033 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00034 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
00035 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00036 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
00037 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00038 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00039 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00040 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00041 *
00042 ********************************************************************************
00043 */
00044 
00045 /* Define to prevent recursive inclusion -------------------------------------*/
00046 #ifndef __NMEA_UTILS_H
00047 #define __NMEA_UTILS_H
00048 
00049 #ifdef __cplusplus
00050 extern "C" {
00051 #endif
00052   
00053 #include <stdio.h>
00054 #include <stdint.h>
00055   
00056 #include "NMEAParser.h"
00057   
00058 /** @defgroup Middlewares
00059  *  @brief Contains all platform independent modules (eg. NMEA Sentence Parser, ...).
00060  *  @{
00061  */
00062 
00063 /** @defgroup ST
00064  *  @{
00065  */
00066  
00067 /** @defgroup LIB_NMEA
00068  *  @{
00069  */
00070 
00071 /** @defgroup NMEA_UTILS 
00072  * @{
00073  */  
00074 
00075 /** @addtogroup NMEA_UTILS_PUBLIC_FUNCTIONS
00076  * @{
00077  */
00078 void scan_utc (char* utc_str, UTC_Info* utc);
00079 void scan_xy  (char* xy_str, uint8_t offset,  Coords*   xyz);
00080 /**
00081  * @}
00082  */
00083 
00084 /**
00085  * @}
00086  */
00087   
00088 /**
00089  * @}
00090  */
00091   
00092 /**
00093  * @}
00094  */ 
00095 
00096 /**
00097  * @}
00098  */
00099  
00100 #ifdef __cplusplus
00101 }
00102 #endif
00103 
00104 #endif