|
From: | Anthony Stirk |
Subject: | Re: [gpsd-users] Using gpsctl to put a U-blox chip in low power mode |
Date: | Wed, 21 May 2014 11:07:45 +0100 |
Smith, Ashley M - Exelis <address@hidden>:
> I am trying to use the gpsctl command to put the U-blox MAX7 chip in low power mode.
>
> According to the documentation for the chip. The CFG-RXM message is what I need to use:
> Header: 0xB5 0X62
> ID: 0x06 0x11
> Length (Bytes): 2
> Payload: Byte offset 0, U1 format, reserved, always set to 8
> Byte offset 1, U1 format, 1pMode, Low power mode 0:Continuous, 1:Power Save, 2-3: reserved 4: Continuous Mode, 5-255: reserved.
>
>
> Using
>
> gpsctl -D5 -t "uBlox UBX binary" -e /dev/ttymxc2 -x '\x06\x11\x08\x01'
>
> Output:
> gpsctl -f -D5 -t "uBlox UBX binary" -e /dev/ttymxc2 -x '\x06\x11\x08\x01'
> gpsctl:PROG: uBlox UBX binary driver selected.
> gpsctl:PROG: switch_driver(uBlox UBX binary) called...
> gpsctl:PROG: selecting uBlox UBX binary driver...
> gpsctl:IO: => GPS: UBX class: 06, id: 11, len: 2, crc: 2292
> µ"'gpsctl:IO: => GPS: b5620611020008012292
>
>
> I am not noticing any difference.
>
> Is there any way to tell if the chip is receiving the command? Any other suggestions?
Check the command description to see if it generates an ACK. If it does, watch
for that under -D 5.
--
<a href="" href="http://www.catb.org/~esr/" target="_blank">http://www.catb.org/~esr/">Eric S. Raymond</a>
[Prev in Thread] | Current Thread | [Next in Thread] |