gnokii-users
[Top][All Lists]
Advanced

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

Re: gnokii smsd not giving me a clue as to why it is not sending and rec


From: Daniele Forsi
Subject: Re: gnokii smsd not giving me a clue as to why it is not sending and receiving sms'
Date: Fri, 4 Jan 2013 21:00:34 +0100

2013/1/4 helpFractal <address@hidden>:

what happens if you connect to /dev/cu.usbmodem411 with a generic
terminal program (cu, tip, minicom or even screen if baud rate is
right) and issue the same commands as gnokii?

AT+CMGF=0
AT+CMGS=34

at this point the phone should reply with a prompt made with a
greater-than sign (AFAIR this isn't echoed by libgnokii) libgnokii
checks that at line 211 of common/links/atbus.c
        /* check if SMS prompt is found */
        if (bi->rbuf_pos > 4 && !strncmp(bi->rbuf + bi->rbuf_pos - 4,
"\r\n> ", 4))
                bi->rbuf[0] = GN_AT_PROMPT;

-- 
Daniele Forsi



reply via email to

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