• Johan Hovold's avatar
    gnss: add receiver type support · 10f14663
    Johan Hovold authored
    Add a "type" device attribute and a "GNSS_TYPE" uevent variable which
    can be used to determine the type of a GNSS receiver. The currently
    identified types reflect the protocol(s) supported by a receiver:
    
    	"NMEA"	NMEA 0183
    	"SiRF"	SiRF Binary
    	"UBX"	UBX
    
    Note that both SiRF and UBX type receivers typically support a subset of
    NMEA 0183 with vendor extensions (e.g. to allow switching to the vendor
    protocol).
    Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    10f14663
core.c 8.26 KB