**>Message-ID: <[EMAIL PROTECTED]>
**>Date: Mon, 2 Jun 2008 13:26:50 +0300 (EAT)
**>Subject: forcing PDU mode after every at command
**>From: "Eric Beda" <[EMAIL PROTECTED]>
**>To: [email protected]
**>
**>As a quest to solve pdu_extract fail error on wavecom devices in kannel, i
**>came accross a post of someone saying he/she fixed it by 'forcing PDU mode
**>after every at command' i was wondering how do i achieve that ?
My suggestion about "forcing PDU mode after every (AT) command" will
only work if the modem is reverting back to TEXT mode. I provided
steps in the posting on how to test for that situation.
If the problem is because it is switching back to TEXT mode, then
you will need to edit the source code to gateway/gw/smsc/smsc_at.c:
- Before any issuance of
"AT+CMGR=..." (Read Messages),
"AT+CMGD=..." (Delete Message),
"AT+CMGS=..." (Send Message),
put a
(void) at2_send_modem_command(privdata, "AT+CMGF=0", 3, 0);
Once again, this solutions only works if your modem is popping
back into TEXT modem. I hope I've stressed that fact enough.
See ya...
d.c.