diff options
author | Nathan Williams <njw@google.com> | 2011-04-14 13:22:54 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2011-04-14 13:22:54 -0500 |
commit | 1c3101fbaf74cbb9d8d0eb52ad6f84dc01544cf0 (patch) | |
tree | dfaed6f4d060a88a178d32e8f18b5f3e3875544c /src/mm-serial-port.h | |
parent | f4a26ec2b6053c44f34f1ac5ee2a8645c4622cb7 (diff) |
serial: allow spew control to be turned off
It's only used during probing where some port types (Sierra CnS
and some Icera devices) may send streams of data that we can't
understand until we close the port. It interferes with some SMS
operations, so turn it off for ports opened after probing.
Diffstat (limited to 'src/mm-serial-port.h')
-rw-r--r-- | src/mm-serial-port.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mm-serial-port.h b/src/mm-serial-port.h index 5fee1b4f..57ef94be 100644 --- a/src/mm-serial-port.h +++ b/src/mm-serial-port.h @@ -30,12 +30,13 @@ #define MM_IS_SERIAL_PORT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MM_TYPE_SERIAL_PORT)) #define MM_SERIAL_PORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MM_TYPE_SERIAL_PORT, MMSerialPortClass)) -#define MM_SERIAL_PORT_BAUD "baud" -#define MM_SERIAL_PORT_BITS "bits" -#define MM_SERIAL_PORT_PARITY "parity" -#define MM_SERIAL_PORT_STOPBITS "stopbits" -#define MM_SERIAL_PORT_SEND_DELAY "send-delay" -#define MM_SERIAL_PORT_FD "fd" /* Construct-only */ +#define MM_SERIAL_PORT_BAUD "baud" +#define MM_SERIAL_PORT_BITS "bits" +#define MM_SERIAL_PORT_PARITY "parity" +#define MM_SERIAL_PORT_STOPBITS "stopbits" +#define MM_SERIAL_PORT_SEND_DELAY "send-delay" +#define MM_SERIAL_PORT_FD "fd" /* Construct-only */ +#define MM_SERIAL_PORT_SPEW_CONTROL "spew-control" /* Construct-only */ typedef struct _MMSerialPort MMSerialPort; typedef struct _MMSerialPortClass MMSerialPortClass; |