Harry Keane / X_NUCLEO_GNSS1A1

Dependents:   A_TeseoLocationNEW A_TeseoLocation

Embed: (wiki syntax)

« Back to documentation index

NMEA_UTILS_PUBLIC_FUNCTIONS

NMEA_UTILS_PUBLIC_FUNCTIONS
[NMEA_UTILS]

Functions

void scan_utc (char *utc_str, UTC_Info *utc)
 Scans a string with UTC info and fills all fields of a UTC_Info struct.
void scan_xy (char *xy_str, uint8_t str_offset, Coords *xy)
 Scans a bidimensional array with longitude and latitude infos and fills the relative fields of a Coords struct.

Function Documentation

void scan_utc ( char *  utc_str,
UTC_Info utc 
)

Scans a string with UTC info and fills all fields of a UTC_Info struct.

Parameters:
utc_strNMEA UTC string
utcThe UTC_Info struct to fill
Return values:
None

Definition at line 75 of file NMEAUtils.c.

void scan_xy ( char *  xy_str,
uint8_t  str_offset,
Coords xy 
)

Scans a bidimensional array with longitude and latitude infos and fills the relative fields of a Coords struct.

Parameters:
xy_strNMEA string with latitude and longitude infos
str_offsetNMEA string with latitude and longitude infos
utcThe Coords struct to fill
Return values:
None

Definition at line 94 of file NMEAUtils.c.