[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: adding/removing ntrip devices via gpsdctl?
From: |
Michael Haberler |
Subject: |
Re: adding/removing ntrip devices via gpsdctl? |
Date: |
Thu, 20 Oct 2022 22:02:38 +0200 |
here we go:
> Am 20.10.2022 um 20:51 schrieb Gary E. Miller <gem@rellim.com>:
>
> Yo Michael!
>
> On Thu, 20 Oct 2022 17:17:52 +0200
> Michael Haberler <haberlerm@gmail.com> wrote:
>
>> I can use the built-in ntrip client when passing the ntrip URI to
>> gpsd at startup - after a few seconds gpspip -r shows
>>
>> {"class":"DEVICE","path":"ntrip://rtk2go.com:2101/stiwoll","driver":"RTCM104V3","activated":"2022-10-20T15:12:47.397Z","flags":4}
>
> Cool.
>
>> I had less luck with trying to add/remove ntrip client URI's with
>> gpsdctl
>
> AFAIK, you are the first to try.
>
>> like starting just with a GPS device, and later adding
>>
>> gpsdctl add ntrip://rtk2go.com:2101/stiwoll
>> <ntrip://rtk2go.com:2101/Gutsche>
>>
>> in this case gpspipe -r shows the device was activated, but no driver
>> was selected:
>>
>> {"class":"DEVICE","path":"ntrip://rtk2go.com:2101/stiwoll","activated":"2022-10-20T15:14:57.435Z"}
>
> Can you provide a -D4 log from gpsd when you try the add? Then we can
> see what is going on.
>
>> is that a scenario which is supposed to work?
>
> Never been tested, so without evidence that is ever worked, I'd say: No.
>
>> I'd like to get out of the network dependency for gpsd startup, and
>> possibly add/remove ntrip clients through UI interaction
>
> I'd like a pony. Maybe we can get this to work, dunno how hard that
> might be without the -D4 log.
I attach 2 logs
the first is from a 'gpsdctl add ntrip://rtk2go.com:2101/stiwoll' attempt
the second one is from starting gpsd with this ntrip URI from the command line
gpspipe says this about the two runs:
added via gpsdctl:
{
"class": "VERSION",
"release": "3.24.1~dev",
"rev": "release-3.24-277-g0dbbb9b5c",
"proto_major": 3,
"proto_minor": 15
}
{
"class": "DEVICES",
"devices": [
{
"class": "DEVICE",
"path": "/dev/ublox-zed-f9p",
"driver": "u-blox",
"subtype": "SW EXT CORE 1.00 (0fa0ae),HW 00190000",
"subtype1": "ROM BASE 0x118B2060,FWVER=HPG
1.32,PROTVER=27.31,MOD=ZED-F9P,GPS;GLO;GAL;BDS,SBAS;QZSS",
"activated": "2022-10-20T19:47:22.072Z",
"flags": 1,
"native": 1,
"bps": 9600,
"parity": "N",
"stopbits": 1,
"cycle": 1,
"mincycle": 0.02
},
{
"class": "DEVICE",
"path": "ntrip://rtk2go.com:2101/stiwoll",
"activated": "2022-10-20T19:46:50.204Z"
}
]
}
passed on cmd line:
{
"class": "DEVICES",
"devices": [
{
"class": "DEVICE",
"path": "/dev/ublox-zed-f9p",
"driver": "u-blox",
"subtype": "SW EXT CORE 1.00 (0fa0ae),HW 00190000",
"subtype1": "ROM BASE 0x118B2060,FWVER=HPG
1.32,PROTVER=27.31,MOD=ZED-F9P,GPS;GLO;GAL;BDS,SBAS;QZSS",
"activated": "2022-10-20T19:51:57.086Z",
"flags": 1,
"native": 1,
"bps": 9600,
"parity": "N",
"stopbits": 1,
"cycle": 1,
"mincycle": 0.02
},
{
"class": "DEVICE",
"path": "ntrip://rtk2go.com:2101/stiwoll",
"driver": "RTCM104V3",
"activated": "2022-10-20T19:51:57.306Z",
"flags": 4
}
]
}
gpsd-D4-dynadd.txt
Description: Text document
gpsd-D4-cmdline.txt
Description: Text document
thanks for looking into this!
- Michael
>
> RGDS
> GARY
> ---------------------------------------------------------------------------
> Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
> gem@rellim.com Tel:+1 541 382 8588
>
> Veritas liberabit vos. -- Quid est veritas?
> "If you can't measure it, you can't improve it." - Lord Kelvin