|
char *(* | bufReq )(uint16_t) |
|
void(* | bufFree )(char *) |
|
int(* | out )(char *) |
|
int(* | outBin )(char *, uint32_t) |
|
double | lat |
|
double | lon |
|
double | alt |
|
float | vel |
|
float | dir |
|
Description of CXD56xx GNSS NMEA converter interface.
◆ NMEA_SENTENCE_MAX_LEN
#define NMEA_SENTENCE_MAX_LEN 160 |
Maximum length of one line of NMEA sentence output from this library
◆ NMEA_GGA_ON
#define NMEA_GGA_ON 0x00000001 |
NMEA sentence mask GPGGA sentence mask
◆ NMEA_GLL_ON
#define NMEA_GLL_ON 0x00000002 |
◆ NMEA_GSA_ON
#define NMEA_GSA_ON 0x00000004 |
◆ NMEA_GSV_ON
#define NMEA_GSV_ON 0x00000008 |
◆ NMEA_GNS_ON
#define NMEA_GNS_ON 0x00000010 |
◆ NMEA_RMC_ON
#define NMEA_RMC_ON 0x00000020 |
◆ NMEA_VTG_ON
#define NMEA_VTG_ON 0x00000040 |
◆ NMEA_ZDA_ON
#define NMEA_ZDA_ON 0x00000080 |
◆ NMEA_SARRLM_ON
#define NMEA_SARRLM_ON 0x00000800 |
◆ NMEA_QZQSM_ON
#define NMEA_QZQSM_ON 0x00004000 |
◆ NMEA_GST_ON
#define NMEA_GST_ON 0x00100000 |
◆ NMEA_SPECTRUM_DATA
typedef char NMEA_SPECTRUM_DATA[112] |
◆ NMEA_InitMask()
void NMEA_InitMask |
( |
void |
| ) |
|
Initialize NMEA sentence mask
◆ NMEA_RegistOutputFunc()
Register output function
- Parameters
-
[in] | *func | : function pointer |
- Return values
-
◆ NMEA_SetMask()
void NMEA_SetMask |
( |
uint32_t |
mask | ) |
|
Set NMEA sentence mask Give this function by ORing the bits in the table below corresponding to the sentence to be output. If set 0, stopping output.
- Parameters
-
[in] | mask | : 32bit mask value |
Mask description
- Default value 0x000000ef.
- Bits not listed below are reserved.
bit | sentence |
bit0 | GGA |
bit1 | GLL |
bit2 | GSA |
bit3 | GSV |
bit4 | GNS |
bit5 | RMC |
bit6 | VTG |
bit7 | ZDA |
bit14 | QZQSM |
◆ NMEA_GetMask()
uint32_t NMEA_GetMask |
( |
void |
| ) |
|
Get NMEA sentence mask
- Return values
-
◆ NMEA_Output()
Output NMEA sentence
- Parameters
-
[in] | pposdat | : Position data output from GNSS |
- Return values
-
>0 | : success, output total sentence size |
<0 | : fail |
◆ NMEA_OutputSpectrum()
Output Spectrum data as TEXT sentence
- Parameters
-
[in] | spectrumdat | : Spectrum data output from GNSS |
- Return values
-
>0 | : success, output total sentence size |
<0 | : fail |
◆ NMEA_InitMask2()
void NMEA_InitMask2 |
( |
void |
| ) |
|
Initialize NMEA sentence mask for cxd5610 gnss
◆ NMEA_RegistOutputFunc2()
Register output function for cxd5610 gnss
- Parameters
-
[in] | *func | : function pointer |
- Return values
-
◆ NMEA_SetMask2()
void NMEA_SetMask2 |
( |
uint32_t |
mask | ) |
|
Set NMEA sentence mask for cxd5610 gnss Give this function by ORing the bits in the table below corresponding to the sentence to be output. If set 0, stopping output.
- Parameters
-
[in] | mask | : 32bit mask value |
◆ NMEA_GetMask2()
uint32_t NMEA_GetMask2 |
( |
void |
| ) |
|
Get NMEA sentence mask for cxd5610 gnss
- Return values
-
◆ NMEA_Output2()
Output NMEA sentence for cxd5610 gnss
- Parameters
-
[in] | pposdat | : Position data output from GNSS |
- Return values
-
>0 | : success, output total sentence size |
<0 | : fail |
◆ bufReq
char *(* bufReq) (uint16_t) |
◆ bufFree
◆ out
◆ outBin
int(* outBin) (char *, uint32_t) |
Output callback func for binary