diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-26 16:37:03 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-28 15:50:51 +0200 |
commit | be633fd66bbbdf962a8883d445926b9d1ee3c9ff (patch) | |
tree | 97012c577f2ee8d9a93ffdd417fdc85a0871a0a0 /src/mm-port.h | |
parent | b19f97ae7dbbe38f1613c978a5760ac05e0bd72f (diff) |
base-modem: handle GPS control and data ports
Plugin may specify GPS-specific port tyeps when requesting to grab the port.
These could either be an AT-based GPS control port, or the raw GPS serial port
which emits the NMEA traces.
Diffstat (limited to 'src/mm-port.h')
-rw-r--r-- | src/mm-port.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mm-port.h b/src/mm-port.h index 2edd7094..539f1a11 100644 --- a/src/mm-port.h +++ b/src/mm-port.h @@ -33,8 +33,9 @@ typedef enum { /*< underscore_name=mm_port_type >*/ MM_PORT_TYPE_NET, MM_PORT_TYPE_AT, MM_PORT_TYPE_QCDM, + MM_PORT_TYPE_GPS, - MM_PORT_TYPE_LAST = MM_PORT_TYPE_QCDM /*< skip >*/ + MM_PORT_TYPE_LAST = MM_PORT_TYPE_GPS /*< skip >*/ } MMPortType; #define MM_TYPE_PORT (mm_port_get_type ()) |