This set of patch will implement the escape sequence detection implementation:
<pause> +++ <pause>
The <pause> length is fixed by the guard timeouts.
The length to detect +++ sequence is fixed by the escape time.
Guillaume Zajac (6):
gat: add GAtSuspendFunc CB typedef
gathdlc: add g_at_hdlc_set_suspend_function() prototype
gathdlc: add mechansim to detect '+++' escape sequence
gatppp: add g_at_ppp_set_suspend_function() prototype
gatppp: add g_at_ppp_set_suspend_function() definition
emulator: add ppp_suspend() CB and register it
gatchat/gat.h | 1 +
gatchat/gathdlc.c | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++++
gatchat/gathdlc.h | 3 +
gatchat/gatppp.c | 8 ++++
gatchat/gatppp.h | 2 +
src/emulator.c | 10 +++++
6 files changed, 135 insertions(+), 0 deletions(-)
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono