gpsd-users
[Top][All Lists]
Advanced

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

Configure time mode on AMY-6M u-blox


From: David L
Subject: Configure time mode on AMY-6M u-blox
Date: Tue, 8 Feb 2022 11:17:02 -0800

Hi,

I have one of these software defined radios:
https://www.ettus.com/all-products/e310/

It has a AMY-6M u-blox GPS receiver to which I'm trying to send a CFG-TMODE2 command to put it in fixed position mode. I don't have any experience with gpsd/gpsctl and my attempts to send the command have all failed...

With gpsd running:

gpsctl -x '\xB5\x62\x06\x3D\x1C\x00\x02\x00\x00\x00\xFA\xE7\x1E\xF0\xB8\xA4\xC4\x19\xB7\x21\xF0\x16\x88\x13\x00\x00\x10\x0E\x00\x00\x10\x27\x00\x00\x57\x7A'
gpsctl:ERROR: device must be specified for low-level access.


gpsctl -x '\xB5\x62\x06\x3D\x1C\x00\x02\x00\x00\x00\xFA\xE7\x1E\xF0\xB8\xA4\xC4\x19\xB7\x21\xF0\x16\x88\x13\x00\x00\x10\x0E\x00\x00\x10\x27\x00\x00\x57\x7A' /dev/ttyPS1
gpsctl:ERROR: SER: /dev/ttyPS1 already opened by another process
gpsctl:ERROR: initial GPS device /dev/ttyPS1 open failed

If I killall gpsd:
 gpsctl -x '\xB5\x62\x06\x3D\x1C\x00\x02\x00\x00\x00\xFA\xE7\x1E\xF0\xB8\xA4\xC4\x19\xB7\x21\xF0\x16\x88\x13\x00\x00\x10\x0E\x00\x00\x10\x27\x00\x00\x57\x7A' /dev/ttyPS1
/dev/ttyPS1 identified as a NMEA0183 at 9600 baud.


gpsctl -t u-blox -x '\xB5\x62\x06\x3D\x1C\x00\x02\x00\x00\x00\xFA\xE7\x1E\xF0\xB8\xA4\xC4\x19\xB7\x21\xF0\x16\x88\x13\x00\x00\x10\x0E\x00\x00\x10\x27\x00\x00\x57\x7A' /dev/ttyPS1
gpsctl:ERROR: packet recognition timed out.

gpsctl -b -t u-blox -x '\xB5\x62\x06\x3D\x1C\x00\x02\x00\x00\x00\xFA\xE7\x1E\xF0\xB8\xA4\xC4\x19\xB7\x21\xF0\x16\x88\x13\x00\x00\x10\x0E\x00\x00\x10\x27\x00\x00\x57\x7A' /dev/ttyPS1
gpsctl:ERROR: packet recognition timed out.

What's the correct process to send such a command to the u-blox?

Thanks!

David


reply via email to

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