From 1c3101fbaf74cbb9d8d0eb52ad6f84dc01544cf0 Mon Sep 17 00:00:00 2001 From: Nathan Williams Date: Thu, 14 Apr 2011 13:22:54 -0500 Subject: 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. --- src/mm-plugin-base.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mm-plugin-base.c') diff --git a/src/mm-plugin-base.c b/src/mm-plugin-base.c index 88dd5405..1b5fc64c 100644 --- a/src/mm-plugin-base.c +++ b/src/mm-plugin-base.c @@ -872,6 +872,7 @@ mm_plugin_base_probe_port (MMPluginBase *self, g_object_set (serial, MM_SERIAL_PORT_SEND_DELAY, send_delay_us, MM_PORT_CARRIER_DETECT, FALSE, + MM_SERIAL_PORT_SPEW_CONTROL, TRUE, NULL); mm_at_serial_port_set_response_parser (serial, -- cgit v1.2.3-70-g09d2