at-serial-port: implement built-in echo/garbage removal
We expect the responses to start always with <CR><LF>. We just remove anything that comes before that.
This commit is contained in:
+14
-1
@@ -3,6 +3,7 @@ noinst_PROGRAMS = \
|
||||
test-modem-helpers \
|
||||
test-charsets \
|
||||
test-qcdm-serial-port \
|
||||
test-at-serial-port \
|
||||
test-sms
|
||||
|
||||
test_modem_helpers_SOURCES = \
|
||||
@@ -47,6 +48,19 @@ test_qcdm_serial_port_LDADD = \
|
||||
$(top_builddir)/libqcdm/src/libqcdm.la \
|
||||
-lutil
|
||||
|
||||
test_at_serial_port_SOURCES = \
|
||||
test-at-serial-port.c
|
||||
|
||||
test_at_serial_port_CPPFLAGS = \
|
||||
$(MM_CFLAGS) \
|
||||
-I$(top_srcdir)
|
||||
|
||||
test_at_serial_port_LDADD = \
|
||||
$(MM_LIBS) \
|
||||
$(top_builddir)/src/libserial.la \
|
||||
$(top_builddir)/src/libmodem-helpers.la \
|
||||
-lutil
|
||||
|
||||
test_sms_SOURCES = \
|
||||
test-sms.c
|
||||
|
||||
@@ -69,4 +83,3 @@ check-local: test-modem-helpers
|
||||
$(abs_builddir)/test-sms
|
||||
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user