[Top][All Lists]

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

Re: [gpsd-users] GPSTCL -x Change u-Blox to pedestrian mode.

From: Eric
Subject: Re: [gpsd-users] GPSTCL -x Change u-Blox to pedestrian mode.
Date: Tue, 5 Jan 2016 00:34:27 -0500
User-agent: Mutt/1.5.23 (2014-03-12)

Cuningan Re Set <address@hidden>:
> Hello all, other time, today my proposal is to switch U-blox to pedestrian
> mode, because it give more resolution.
> To do that i am trying with gpsctl, the command i issue to the gps is
> extracted from u-Control, first i stop gpsd because to issue commands it
> said that the UART is in use.
> What i am typing:
> gpsctl -D 5 -x
> '\xB5\x62\x06\x24\x24\x00\xFF\xFF\x03\x03\x00\x00\x00\x00\x10\x27\x00\x00\x05\x00\xFA\x00\xFA\x00\x64\x00\x2C\x01\x00\x00\x00\x00\x10\x27\x00\x00\x00\x00\x00\x00\x00\x00\x4A\x75'
> /dev/ttyAMA0
> This produce a huge output of gpsctl with a lot of information, but at the
> end of all the output I see this line:
> gpsctl:PROG: => GPS: UBX class: b5, id: 62, len: 42, crc: 4a0a
> gpsctl:IO: => GPS:
> b562b5622a0006242400ffff030300000000102700000500fa00fa0064002c0100000000102700000000000000004a754a0a
> It detects the sync byte 1 as class and the other sync byte 2 as ID and add
> at the end another checksum, ok i remove the first 2 bytes, and the 2 bytes
> lenght, and the last 2 bytes CRC, the new command is like this:
> gpsctl -D 5 -x
> '\x06\x24\xFF\xFF\x03\x03\x00\x00\x00\x00\x10\x27\x00\x00\x05\x00\xFA\x00\xFA\x00\x64\x00\x2C\x01\x00\x00\x00\x00\x10\x27\x00\x00\x00\x00\x00\x00\x00\x00'
> /dev/ttyAMA0
> Now at the end of the gpsctl output i see like this:
> gpsctl:PROG: => GPS: UBX class: 06, id: 24, len: 36, crc: 4a75
> gpsctl:IO: => GPS:
> b56206242400ffff030300000000102700000500fa00fa0064002c0100000000102700000000000000004a75
> That is exacly the correct sentence to put the GPS in pedestrian mode,
> but... i dont see any command ACK from the GPS or something.
> ¿Is this normal, must i suppose that the command has been issued without
> more complications?
> ¿Must i obtain any kind of report when issuing commands to the GPS via
> gpsctl?
> Thanks in advance.

Sorry, gpsctl doesn't know that an acknowledge is pending and doesn't
check for it.
                <a href="";>Eric S. Raymond</a>

reply via email to

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