gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ubxtool set GLONASS L1/L2


From: John Ackermann N8UR
Subject: ubxtool set GLONASS L1/L2
Date: Wed, 6 May 2020 16:10:16 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

Looking in the ubxtool source I found this, at line 6553:

       elif 6 == gnssId:
            # GLONASS
            if '2' == opts['parm1'] and enable:
                # The NEO-M9N ACKS, then ignores if 0x11 is sent
                m_data[10] = 0x11   # flags L1, L2
            else:
                m_data[10] = 0x01   # flags L1
        else:
            # what else?
            m_data[10] = 1      # flags L1

could it be that either this elif or the else in this test are catching
more than just the M9N and forcing the flag to L1 instead of L1,L2?

(This is a SWAG, as I don't know the guts of the ubxtool code at all and
was just searching "GLONASS" for interesting things.)

John







reply via email to

[Prev in Thread] Current Thread [Next in Thread]