gemalto: gprs: cgev gprs context deactivation

Gemalto ELS81x modems use 'ME PDN DEACT' message to notify about gprs
context deactivation. Process this 'deactivate' event in CGEV handler.
This commit is contained in:
Sergey Matyukevich 2020-12-21 23:01:30 +03:00 committed by Denis Kenzior
parent 97aea7414c
commit 3551cc89ec
1 changed files with 2 additions and 0 deletions

View File

@ -216,6 +216,8 @@ static void cgev_notify(GAtResult *result, gpointer user_data)
if (g_str_has_prefix(event, "NW PDN DEACT"))
sscanf(event, "%*s %*s %*s %u", &cid);
else if (g_str_has_prefix(event, "ME PDN DEACT"))
sscanf(event, "%*s %*s %*s %u", &cid);
else if (g_str_has_prefix(event, "NW DEACT"))
sscanf(event, "%*s %*s %u", &cid);