diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-05-11 16:40:45 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2011-06-06 17:20:17 +0200 |
commit | 22f15b87b53b60e627b00a51781234a27a677594 (patch) | |
tree | aaa4ae687ede6f81cee3fe8529f2eb40b509ce8f /src/mm-serial-port.h | |
parent | f2ba435446a48407f4a491d0fa0eda6b7d4c22d9 (diff) |
base: disable the modem if up to N consecutive commands get timed out
This feature is initially disabled for all modems, but plugins can enable it by
setting a value greater than 0 for the "max-timeouts" property when creating the
modem object.
Diffstat (limited to 'src/mm-serial-port.h')
-rw-r--r-- | src/mm-serial-port.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-serial-port.h b/src/mm-serial-port.h index 57ef94be..e9997a58 100644 --- a/src/mm-serial-port.h +++ b/src/mm-serial-port.h @@ -97,6 +97,7 @@ struct _MMSerialPortClass { /* Signals */ void (*buffer_full) (MMSerialPort *port, const GByteArray *buffer); + void (*timed_out) (MMSerialPort *port, guint n_consecutive_replies); }; GType mm_serial_port_get_type (void); |