mirror of git://git.sysmocom.de/ofono
atmodem: Add more debug for USSD response parsing
This commit is contained in:
parent
7f431e714f
commit
f654d75182
|
@ -130,6 +130,8 @@ static void cusd_parse(GAtResult *result, struct ofono_ussd *ussd)
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DBG("response charset %d modem charset %d", charset, data->charset);
|
||||||
|
|
||||||
switch (charset) {
|
switch (charset) {
|
||||||
case SMS_CHARSET_7BIT:
|
case SMS_CHARSET_7BIT:
|
||||||
switch (data->charset) {
|
switch (data->charset) {
|
||||||
|
@ -160,6 +162,8 @@ static void cusd_parse(GAtResult *result, struct ofono_ussd *ussd)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DBG("msg ptr %p msg len %ld", msg_ptr, msg_len);
|
||||||
|
|
||||||
out:
|
out:
|
||||||
ofono_ussd_notify(ussd, status, dcs, msg_ptr, msg_ptr ? msg_len : 0);
|
ofono_ussd_notify(ussd, status, dcs, msg_ptr, msg_ptr ? msg_len : 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue