diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-01-12 04:01:07 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-01-12 04:01:07 +0100 |
commit | f654d751829932a7a102bcd7e7489c266818f814 (patch) | |
tree | f0e02f0336f329a6e70c047dec17bf902894f5bd | |
parent | 7f431e714f41e084317c8d35847bf6457331d2e0 (diff) | |
download | ofono-f654d751829932a7a102bcd7e7489c266818f814.tar.bz2 |
atmodem: Add more debug for USSD response parsing
-rw-r--r-- | drivers/atmodem/ussd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/atmodem/ussd.c b/drivers/atmodem/ussd.c index 4747f111..443251aa 100644 --- a/drivers/atmodem/ussd.c +++ b/drivers/atmodem/ussd.c @@ -130,6 +130,8 @@ static void cusd_parse(GAtResult *result, struct ofono_ussd *ussd) goto out; } + DBG("response charset %d modem charset %d", charset, data->charset); + switch (charset) { case SMS_CHARSET_7BIT: switch (data->charset) { @@ -160,6 +162,8 @@ static void cusd_parse(GAtResult *result, struct ofono_ussd *ussd) break; } + DBG("msg ptr %p msg len %ld", msg_ptr, msg_len); + out: ofono_ussd_notify(ussd, status, dcs, msg_ptr, msg_ptr ? msg_len : 0); } |