gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] ✘Change FIXED_PORT_SPEED and FIXED_STOP_BITS


From: Michael J. Tubby B.Sc. MIET
Subject: Re: [gpsd-dev] ✘Change FIXED_PORT_SPEED and FIXED_STOP_BITS
Date: Thu, 24 Oct 2019 20:27:57 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0



On 24/10/2019 20:12, Gary E. Miller wrote:
Yo All!

The time has come to change FIXED_PORT_SPEED and FIXED_STOP_BITS from
build options and make them runtime options.

Build options for common configurations are not useable by those that
use gpsd binaries built by someone else.  Some GNSS receivers, like
the RES SMT 360 behave strangly unless you talk to them with odd
settings, like 8O1, that are hard to auto configure.

Is there an obvious option to use for these?

How about adding options:
	-t [speed]
        -T [char]

Where [speed] is the port speed, and [char] is bits/parity/stop (default 8N1).

Gary, not sure how '-t' and '-T' relate to port baudrate and framing?

I cannot remember which opts gpsd already has, but:


    -b | --baudrate <300|600|1200|2400|9600|19200|38400|57600|115200>or
or:
    -s | --speed <300|600|1200|2400|9600|19200|38400|57600|115200>

and:
    -f | --framing <7E1|7O1|8N1|8N2...>

would by my natural 'goto's

While you have the hood up any chance we can add a switch:

    -a | --ant-fault <1|0>

to set a global for enabling antenna fault monitoring?  We'll contribute some code for Ublox 7/8/9 receivers just as soon as we have it debugged.

You might also consider a:

    -j | --jamming <1|0>

boolean to turn on/off the jamming and spoof detection features that several GNSS receivers now support, too?



Mike




Ideas?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	address@hidden  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

--

Michael J Tubby B.Sc. (Hons) MIET / Technical Director
Email: address@hidden
Direct: +44 (0)1905 752892
Mobile: +44 (0)7973 225144

Thorcom Systems Limited
Office: +44 (0)1905 756 700
Unit 4, 96B Blackpole Trading Estate West, Worcester, WR3 8TJ, England, UK
Registered in England & Wales 02704696 / VAT Number GB487925681

This email and any attachments to it may be confidential or legally privileged and are intended solely the individual to whom it is addressed.
If you are not the intended recipient of this email, you must not take any action based upon its contents or disclose its contents to any third-party.
This email footer is intended to identify the sender and does not constitute a signature or agreement to enter into any form of legally binding contract.
While the author has taken reasonable care in the preparation of this email Errors and Omissions Excepted (E&OE).
Any views or opinions expressed are those of the author and do not necessarily represent those of Thorcom Systems Limited.
Please contact the sender if you believe you have received this email in error.


reply via email to

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