aboutsummaryrefslogtreecommitdiff
path: root/src/mm-base-modem.c
diff options
context:
space:
mode:
authorDan Williams <dan@ioncontrol.co>2025-05-16 11:19:59 -0500
committerDan Williams <dan@ioncontrol.co>2025-05-22 08:05:58 -0500
commit24f9309d6ecd559d24c54391fadef76cdbde1097 (patch)
treef8238a7806bb76739bc74df4aa697a6c3c231eaa /src/mm-base-modem.c
parent7f014add61da3e0411d742756ce372fc0e2aee30 (diff)
serial-parsers,port-serial-at: move echo removal into serial parser
Mainly because we need somewhere to stash the call end regex, and it's silly to have a 3rd instance of that in MMPortSerialAt when we already have one in the serial parsers that MMPortSerialAt relies on pretty heavily. Signed-off-by: Dan Williams <dan@ioncontrol.co>
Diffstat (limited to 'src/mm-base-modem.c')
-rw-r--r--src/mm-base-modem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-base-modem.c b/src/mm-base-modem.c
index eb7c04ca..3558775b 100644
--- a/src/mm-base-modem.c
+++ b/src/mm-base-modem.c
@@ -468,6 +468,7 @@ base_modem_internal_grab_port (MMBaseModem *self,
if (MM_IS_PORT_SERIAL_AT (port)) {
mm_port_serial_at_set_response_parser (MM_PORT_SERIAL_AT (port),
mm_serial_parser_v1_parse,
+ mm_serial_parser_v1_remove_echo,
mm_serial_parser_v1_new (),
mm_serial_parser_v1_destroy);
/* Prefer plugin-provided flags to the generic ones */