WNMEA
1.0.0
Warcomeb NMEA 0183 Parsing Library based on libohiboard
|
Go to the documentation of this file.
32 #ifndef __WARCOMEB_WNMEA_TYPES_H
33 #define __WARCOMEB_WNMEA_TYPES_H
36 #define WARCOMEB_WNMEA_LIBRARY_VERSION_MAJOR (0x1ul)
37 #define WARCOMEB_WNMEA_LIBRARY_VERSION_MINOR (0x0ul)
38 #define WARCOMEB_WNMEA_LIBRARY_VERSION_BUG (0x0ul)
39 #define WARCOMEB_WNMEA_LIBRARY_TIME 0
52 #define WNMEA_PROJECT_NAME "WNMEA"
62 #if !defined(WNMEA_MESSAGE_TYPE_LENGTH)
63 #define WNMEA_MESSAGE_TYPE_LENGTH 10
66 #if !defined(WNMEA_MESSAGE_BODY_LENGTH)
67 #define WNMEA_MESSAGE_BODY_LENGTH 100
70 #if !defined(WNMEA_MESSAGE_CRC_LENGTH)
71 #define WNMEA_MESSAGE_CRC_LENGTH 2
74 #if !defined (WNMEA_BUFFER_DIMENSION)
75 #define WNMEA_BUFFER_DIMENSION 0x03FFu
250 #endif // __WARCOMEB_WCDLI_TYPES_H
Definition: wnmea-types.h:207
WNMEA_MessageZDA_t zda
Definition: wnmea-types.h:226
@ WNMEA_MESSAGETYPE_UNKNOW
Definition: wnmea-types.h:125
#define WNMEA_MESSAGE_BODY_LENGTH
Definition: wnmea-types.h:67
enum _WNMEA_MessageType_t WNMEA_MessageType_t
struct _WNMEA_Message_t WNMEA_Message_t
static const Utility_Version_t WNMEA_FIRMWARE_VERSION
Definition: wnmea-types.h:54
WNMEA_pFunctionCallback gga
Definition: wnmea-types.h:243
Definition: wnmea-types.h:178
uint8_t satellites
Number of satellites in use (not in view!)
Definition: wnmea-types.h:200
Time_TimeType time
UTC of Position.
Definition: wnmea-types.h:194
int8_t hourDiff
Local zone description, 00 to +/- 13 hours.
Definition: wnmea-types.h:210
_WNMEA_CardinalSide_t
Definition: wnmea-types.h:133
@ WNMEA_CONSTELLATION_MULTIPLE
Definition: wnmea-types.h:107
#define WARCOMEB_WNMEA_LIBRARY_VERSION_MINOR
Definition: wnmea-types.h:37
@ WNMEA_CONSTELLATION_GPS
Definition: wnmea-types.h:102
@ WNMEA_POSITIONTYPE_VALID
Definition: wnmea-types.h:148
@ WNMEA_CONSTELLATION_GLONASS
Definition: wnmea-types.h:103
WNMEA_CardinalSide_t latitudeSide
Definition: wnmea-types.h:196
_WNMEA_Constellation_t
Definition: wnmea-types.h:101
@ WNMEA_CARDINALSIDE_WEST
Definition: wnmea-types.h:137
struct _WNMEA_MessageRMC_t WNMEA_MessageRMC_t
float WNMEA_Coordinate_t
Definition: wnmea-types.h:82
struct _WNMEA_MessageZDA_t WNMEA_MessageZDA_t
@ WNMEA_FIXQUALITY_INVALID
Definition: wnmea-types.h:158
Definition: wnmea-types.h:167
struct _WNMEA_MessageGGA_t WNMEA_MessageGGA_t
char checksum[WNMEA_MESSAGE_CRC_LENGTH]
Definition: wnmea-types.h:170
WNMEA_CardinalSide_t longitudeSide
Definition: wnmea-types.h:198
int8_t minuteDiff
Local zone minutes description (same sign as hours)
Definition: wnmea-types.h:211
enum _WNMEA_PositionType_t WNMEA_PositionType_t
WNMEA_Coordinate_t longitude
Longitude of fix.
Definition: wnmea-types.h:182
Time_TimeType time
UTC of position fix.
Definition: wnmea-types.h:180
Time_DateType date
Definition: wnmea-types.h:181
@ WNMEA_ERROR_SUCCESS
Definition: wnmea-types.h:89
WNMEA_PositionType_t status
Data status (V=navigation receiver warning)
Definition: wnmea-types.h:179
@ WNMEA_MESSAGETYPE_GSV
Definition: wnmea-types.h:121
struct _WNMEA_MessageParsed_t WNMEA_MessageParsed_t
enum _WNMEA_Errors_t WNMEA_Error_t
WNMEA_Coordinate_t longitude
Longitude of fix.
Definition: wnmea-types.h:197
@ WNMEA_CONSTELLATION_UNKNOW
Definition: wnmea-types.h:109
#define WNMEA_MESSAGE_TYPE_LENGTH
Definition: wnmea-types.h:63
@ WNMEA_FIXQUALITY_FIX
Definition: wnmea-types.h:159
char body[WNMEA_MESSAGE_BODY_LENGTH]
Definition: wnmea-types.h:169
@ WNMEA_CARDINALSIDE_EAST
Definition: wnmea-types.h:136
enum _WNMEA_CardinalSide_t WNMEA_CardinalSide_t
@ WNMEA_MESSAGETYPE_GGA
Definition: wnmea-types.h:119
WNMEA_CardinalSide_t latitudeSide
Definition: wnmea-types.h:185
float speed
Speed over ground in knots.
Definition: wnmea-types.h:186
WNMEA_MessageType_t type
Definition: wnmea-types.h:220
@ WNMEA_ERROR_MESSAGE_PARSING
Definition: wnmea-types.h:91
@ WNMEA_CONSTELLATION_GALILEO
Definition: wnmea-types.h:104
WNMEA_MessageGGA_t gga
Definition: wnmea-types.h:225
_WNMEA_Errors_t
Definition: wnmea-types.h:88
union _WNMEA_MessageParsed_t::@0 message
@ WNMEA_ERROR_WRONG_MESSAGE
Definition: wnmea-types.h:90
struct _WNMEA_MessageParsed_t * WNMEA_MessageParsedHandle_t
#define WARCOMEB_WNMEA_LIBRARY_TIME
Definition: wnmea-types.h:39
@ WNMEA_MESSAGETYPE_GLL
Definition: wnmea-types.h:120
@ WNMEA_ERROR_MESSAGE_READY
Definition: wnmea-types.h:93
WNMEA_FixQuality_t quality
GPS quality indicator.
Definition: wnmea-types.h:199
WNMEA_CardinalSide_t longitudeSide
Definition: wnmea-types.h:183
@ WNMEA_CONSTELLATION_BEIDOU
Definition: wnmea-types.h:105
WNMEA_Coordinate_t latitude
Latitude of fix.
Definition: wnmea-types.h:195
char type[WNMEA_MESSAGE_TYPE_LENGTH]
Definition: wnmea-types.h:168
WNMEA_Coordinate_t latitude
Latitude of fix.
Definition: wnmea-types.h:184
_WNMEA_MessageType_t
Definition: wnmea-types.h:117
@ WNMEA_CONSTELLATION_NAVIC
Definition: wnmea-types.h:106
@ WNMEA_FIXQUALITY_DIFFERENTIAL_FIX
Definition: wnmea-types.h:160
void(* WNMEA_pFunctionCallback)(WNMEA_MessageParsed_t msg, WNMEA_MessageType_t type)
Definition: wnmea-types.h:234
WNMEA_Constellation_t constellation
Definition: wnmea-types.h:219
Definition: wnmea-types.h:193
#define WNMEA_MESSAGE_CRC_LENGTH
Definition: wnmea-types.h:71
@ WNMEA_MESSAGETYPE_ZDA
Definition: wnmea-types.h:123
Time_DateType date
UT date of position fix.
Definition: wnmea-types.h:209
struct _WNMEA_MessageCallback_t WNMEA_MessageCallback_t
WNMEA_MessageRMC_t rmc
Definition: wnmea-types.h:224
enum _WNMEA_FixQuality_t WNMEA_FixQuality_t
@ WNMEA_CARDINALSIDE_UNKNOW
Definition: wnmea-types.h:139
@ WNMEA_MESSAGETYPE_GSA
Definition: wnmea-types.h:122
Definition: wnmea-types.h:241
Definition: wnmea-types.h:218
WNMEA_pFunctionCallback rmc
Definition: wnmea-types.h:242
_WNMEA_FixQuality_t
Definition: wnmea-types.h:157
@ WNMEA_MESSAGETYPE_RMC
Definition: wnmea-types.h:118
#define WARCOMEB_WNMEA_LIBRARY_VERSION_MAJOR
Definition: wnmea-types.h:36
#define WARCOMEB_WNMEA_LIBRARY_VERSION_BUG
Definition: wnmea-types.h:38
@ WNMEA_CARDINALSIDE_SOUTH
Definition: wnmea-types.h:135
Time_TimeType time
UTC of position fix.
Definition: wnmea-types.h:208
enum _WNMEA_Constellation_t WNMEA_Constellation_t
@ WNMEA_CARDINALSIDE_NORTH
Definition: wnmea-types.h:134
@ WNMEA_POSITIONTYPE_INVALID
Definition: wnmea-types.h:149
_WNMEA_PositionType_t
Definition: wnmea-types.h:147