[RFC] ATH0 issue with qc modem on HTC Universal

Philipp Zabel philipp.zabel at gmail.com
Sun Jun 3 11:37:30 CEST 2007


Hi,

according to goxboxlive the HTC Universal's modem doesn't hang up when
ATH0 is sent (ATH works). I only read TS07.07, but according to that,
while <value> in ATH[<value>] is optional, support for a value equal
zero is mandatory. --> bug in Qualcomm modem. How to handle this?

regards
Philipp



Index: src/gsmd/usock.c

===================================================================

--- src/gsmd/usock.c    (revisjon 1721)

+++ src/gsmd/usock.c    (arbeidskopi)

@@ -133,7 +133,7 @@

                /* FIXME: number type! */

                break;

        case GSMD_VOICECALL_HANGUP:

-               cmd = atcmd_fill("ATH0", 5, &usock_cmd_cb, gu, gph->id);

+               cmd = atcmd_fill("ATH", 5, &usock_cmd_cb, gu, gph->id);

                break;

        case GSMD_VOICECALL_ANSWER:

                cmd = atcmd_fill("ATA", 4, &usock_cmd_cb, gu, gph->id);




More information about the gsmd-devel mailing list