Skip to content

fix for NMEAGPS.cpp and a questuin to get satellite SNR  #71

@gitgregsi

Description

@gitgregsi

Hi, thanks for great code. I discovered an error in NMEAGPS.cpp when compiler did not want to compile after I enabled lat and long error fix ... m_fix.valid.alt_err should be m_fix.valid.lat_err I guess .. at least this fixed the error :)

bool NMEAGPS::parse_lat_err( char chr )
{
  #ifdef GPS_FIX_LAT_ERR
    if (chrCount == 0)
      NMEAGPS_INVALIDATE( lat_err );
    if (parseFloat( m_fix.lat_err_cm, chr, 2 )) {
      if (validateFields() &&
          (negative || (m_fix.valid.alt_err > MAX_ERROR_CM))) **//should be .lat**
        sentenceInvalid();
      else
        m_fix.valid.lat_err = (chrCount != 0);
    }
  #endif

MY question - I enabled GSV parsing, what function do I use to parse out SNR signal strength for each satellite or at least see it? trace_all( Serial, gps, fix ) does not print it for example...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions