KubOS
|
KubOS-Core 0.1.2
Main Page
Modules
Files
File List
Globals
kubos-core
modules
nmea.h
Go to the documentation of this file.
1
/*
2
* KubOS Core Flight Services
3
* Copyright (C) 2015 Kubos Corporation
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*/
17
33
#ifndef NMEA_H
34
#define NMEA_H
35
36
#define NMEA_OK 0
37
#define NMEA_ERR_CHECKSUM -1
38
#define NMEA_ERR_INVALID_FIX -2
39
#define NMEA_ERR_INVALID_DIR -3
40
#define NMEA_ERR_UNKNOWN -4
41
42
#define NMEA_UNKNOWN 0
43
#define NMEA_GPRMC 1
44
#define NMEA_GPGGA 2
45
46
#include "
kubos-core/modules/gps.h
"
47
48
int
nmea_parse
(
char
*nmea,
int
length,
gps_fix_t
*fix);
49
50
#endif // NMEA_H
51
52
/* @} */
nmea_parse
int nmea_parse(char *nmea, int length, gps_fix_t *fix)
gps_fix_t
Definition:
gps.h:61
gps.h
GPS interface module.
Generated by
1.8.11