serial: refactor MMSerialPort into a base class and an AT-capable serial port
For QCDM devices we want most of what MMSerialPort does, but not the AT command handling stuff since the commands and responses aren't AT commands nor are they even strings. So convert everything that MMSerialPort does into a GByteArray, and let MMAtSerialPort handle the conversion to strings when necessary.
This commit is contained in:
+4
-2
@@ -35,12 +35,14 @@ modem_manager_SOURCES = \
|
||||
mm-modem.h \
|
||||
mm-port.c \
|
||||
mm-port.h \
|
||||
mm-modem-base.c \
|
||||
mm-modem-base.h \
|
||||
mm-serial-port.c \
|
||||
mm-serial-port.h \
|
||||
mm-at-serial-port.c \
|
||||
mm-at-serial-port.h \
|
||||
mm-serial-parsers.c \
|
||||
mm-serial-parsers.h \
|
||||
mm-modem-base.c \
|
||||
mm-modem-base.h \
|
||||
mm-generic-cdma.c \
|
||||
mm-generic-cdma.h \
|
||||
mm-generic-gsm.c \
|
||||
|
||||
Reference in New Issue
Block a user