This set of patch will make hdlc layer detecting "+...+...+" character to
suspend PPP server and resume AT server:
either for receiving ATH (implemented in one other future patch)
either for receiving ATO (implemented in a future 2nd set of patch)
Guillaume Zajac (6):
gat: add GAtSuspendFunc CB typedef
gathdlc: add prototype to set suspend function.
gathdlc: add mechanism to detect ppp suspension from DUN client.
gatppp: add prototype to set ppp suspend function.
gatppp: add g_at_ppp_set_suspend_function() definition.
emulator: add ppp_suspend implementation and registration.
gatchat/gat.h | 1 +
gatchat/gathdlc.c | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++
gatchat/gathdlc.h | 3 ++
gatchat/gatppp.c | 8 +++++++
gatchat/gatppp.h | 2 +
src/emulator.c | 10 +++++++++
6 files changed, 82 insertions(+), 0 deletions(-)
Show replies by thread