From 343f27a5e7b0226e10aec025c502703d0be9d1ac Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 9 Feb 2022 15:39:44 +0100 Subject: api: allow tagging AT ports as GPS control There are devices with multiple AT ports where only one of them is supposed to be used for GNSS control (and data). --- include/ModemManager-tags.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'include') diff --git a/include/ModemManager-tags.h b/include/ModemManager-tags.h index ec781426..ad813b15 100644 --- a/include/ModemManager-tags.h +++ b/include/ModemManager-tags.h @@ -129,6 +129,19 @@ */ #define ID_MM_PORT_TYPE_AT_SECONDARY "ID_MM_PORT_TYPE_AT_SECONDARY" +/** + * ID_MM_PORT_TYPE_AT_GPS_CONTROL: + * + * This is a port-specific tag applied to TTYs that we know in advance + * are AT ports to be used for GPS control. Depending on the device, + * this may or may not mean the same port is also used fo GPS data. + * + * This tag will also proevent QCDM probing on the port. + * + * Since: 1.20 + */ +#define ID_MM_PORT_TYPE_AT_GPS_CONTROL "ID_MM_PORT_TYPE_AT_GPS_CONTROL" + /** * ID_MM_PORT_TYPE_AT_PPP: * -- cgit v1.2.3-70-g09d2