gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SMS Sierra AirCard 881U


From: Pawel Kot
Subject: Re: SMS Sierra AirCard 881U
Date: Thu, 23 Apr 2009 19:47:56 +0200

Hi,

On Thu, Apr 23, 2009 at 19:19, Todd Johnson <address@hidden> wrote:
> 41 54 2b 43 4d 47 53 3d 31 36 0d                | AT+CMGS=16
> write: [AT+CMGS=16<cr>]
> read : [OK<cr><lf>]
> Message received: 0x64 / 0x0004
> 02 4f 4b 0d                                     |  OK
> Received message type 64
> Got response 4

Do you have some AT manual for your device?
The problem is that in PDU mode after AT+CMGS request the phone should
reply with propmt (">") and after that we send PDU SMS. And it returns
OK instead. That's confusing for gnokii.

You may try to return the error code and see what happens. That is in
common/phones/atgen.c::AT_WriteSMS() comment out error exit path:
        error = sm_block_no_retry(GN_OP_AT_Prompt, data, state);
        dprintf("Got response %d\n", error);
//        if (error)
//                return error;

        bin2hex(req, req2, length);

take care,
-- 
Pawel Kot




reply via email to

[Prev in Thread] Current Thread [Next in Thread]