Yo Gary,
many thanks for your feedback.
On 12.01.26 00:32, Gary E. Miller wrote:
compiled with: scons --config=force
You should let config do its things.
so I compiled it now just only with "scons"
/usr/local/sbin/gpsd -N -D 5 -s 460800 /dev/serial0
'ntrip://my.user:[email protected]:2101/TRF200AUT0' /dev/pps0
Why the single quotes??
You are right. It makes no sense.
gpsd is trying to apply the -s to the ntripL//. Try without the -s.
You never need ti, just a convenience.
I tried without speed argument but there is no difference.
But I always get "failed, errno No such file or directory"
I tried also tcp://localhost:5000 as argument to pass ntrip streams from
str2str but also this results in an error:
gpsd:INFO: stashing device /dev/serial0 at slot 0
gpsd:INFO: stashing device tcp://localhost:5000 at slot 1
gpsd:INFO: stashing device /dev/pps0 at slot 2
gpsd:ERROR: CORE: stat(tcp://localhost:5000) failed, errno No such file
or directory(2)
It seems that gpsd is rejecting the URL format
Is there maybe a compile switch which I forget to set so that the URL
format is accepted ?
I looked a little bit into the source code. It seems to be "gpsd/gpsd.c"
line 2705
if (0 != stat(argv[i], &stb)) {
GPSD_LOG(LOG_ERROR, &context.errout,
"CORE: stat(%s) failed, errno %s(%d)\n",
argv[i], strerror(errno), errno);
If I remember correctly the stat() interacts only with files and not
with network protocols.
So this rises a general question for me, is it possible to pass ntrip
streams via gpsd to the u-blox receiver as I tried to do ?
Kind regards
Hans
--