port-probe: new type to define commands used during probing
The new `MMPortProbeAtCommand' type defines what command will be sent to the serial AT port, and also a response processor method to parse the string returned by the port. The response processor gets as input either the text reply string or an error, and it should give as output either a GValue (type depends on the probing kind being done) or a new error (which will force the whole probing process to be aborted.
This commit is contained in:
@@ -132,6 +132,7 @@ modem_manager_SOURCES = \
|
||||
mm-modem-simple.h \
|
||||
mm-port-probe.h \
|
||||
mm-port-probe.c \
|
||||
mm-port-probe-at-command.h \
|
||||
mm-plugin.c \
|
||||
mm-plugin.h \
|
||||
mm-plugin-base.c \
|
||||
|
||||
Reference in New Issue
Block a user