gpsd-dev
[Top][All Lists]
Advanced

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

ubxtool -- setting DYNMODEL


From: John Ackermann N8UR
Subject: ubxtool -- setting DYNMODEL
Date: Fri, 8 May 2020 13:30:44 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

I've discovered another problem using ubxtool to set the F9 receivers
(using head as of 2 days ago):

jra@lintty:~$ ubxtool -P 27.30 -w 1 -z CFG-NAVSPG-DYNMODEL,2 \
    -f /dev/ttyACM0
Traceback (most recent call last):
  File "/usr/local/bin/ubxtool", line 7853, in <module>
    gps_model.send_cfg_valset(nvs)
  File "/usr/local/bin/ubxtool", line 6712, in send_cfg_valset
    m_data[1] = int(nv_split[2])
IndexError: list index out of range

This occurs talking to either the F9T or the F9P (using appropriate
protocol versions).  Same failure occurs no matter what value is
specified after the comma.

====

Probing for the value with the -g command on the F9P returns a result:

jra@lintty:~$ ubxtool -P 27.30 -w 1 -g CFG-NAVSPG-DYNMODEL \
    -f /dev/ttyACM0
sent:
UBX-CFG-VALGET:
 version 0 layer 0 position 0
  layers (ram)
    item CFG-NAVSPG-DYNMODEL/0x20110021


UBX-CFG-VALGET:
 version 1 layer 7 position 0
  layers (default)
    item CFG-NAVSPG-DYNMODEL/0x20110021 val 0
jra@lintty:~$

But probing on the F9T does not return anything:

jra@lintty:~$ ubxtool -P 29.00 -w 1 -g CFG-NAVSPG-DYNMODEL -f /dev/ttyUSB0
sent:
UBX-CFG-VALGET:
 version 0 layer 0 position 0
  layers (ram)
    item CFG-NAVSPG-DYNMODEL/0x20110021

sent:
UBX-CFG-VALGET:
 version 0 layer 1 position 0
  layers (bbr)
    item CFG-NAVSPG-DYNMODEL/0x20110021

sent:
UBX-CFG-VALGET:
 version 0 layer 2 position 0
  layers (flash)
    item CFG-NAVSPG-DYNMODEL/0x20110021

sent:
UBX-CFG-VALGET:
 version 0 layer 7 position 0
  layers (default)
    item CFG-NAVSPG-DYNMODEL/0x20110021
jra@lintty:~$

[ Note that ubxtool seems to send these commands 4 times very quickly...
not sure if that's intended behavior or not. ]

Thanks,
John




reply via email to

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