you might need to test other values for CNMI...

I passed the PDU to http://twit88.com/home/utility/sms-pdu-encode-decode

and it decoded Ok

Can you post your kannel conf?

Also, note that the doc from sony regarding AT commands is generic and
not all phones support the same commads/parameters. See my examples
for CNMI for diferent sony phones



|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
              Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



On Thu, Feb 12, 2009 at 12:03 PM, kriko <[email protected]> wrote:
> I've attached shots from ericsson document, without init-string it doesn't
> detect incoming message at all.
> Modem log also attached.
>
> With CNMI=2,3,2,0,0 I get this:
>
> 2009-02-12 18:02:15 [7581] [6] DEBUG: AT2[/dev/rfcomm2]: <--
> 07918346011033F3040B918346413493F600009020218120014004D6F29C0E
> 2009-02-12 18:02:15 [7581] [6] ERROR: AT2[/dev/rfcomm2]: got +CMT but
> pdu_extract failed
>
> Following this mail:
> http://osdir.com/ml/mobile.kannel.user/2003-08/msg00135.html
>
> seems I get PDU message as intended....
>
>
> On Thu, 12 Feb 2009 17:50:29 +0100, Alvaro Cornejo
> <[email protected]> wrote:
>
>> Try init string with only cnmi commad, kannel tests if the modem support
>> pdu format if so, set it that way.
>>
>> Attach log of modem init to see what kannel detects on your modem
>>
>> add:
>>
>> log-file = "/var/log/kannel/modem.log"
>> log-level = 0
>>
>> to your smsc=at config so you have a separate log for the modem
>> connection
>>
>>
>>
>> On Thu, 2009-02-12 at 17:33 +0100, kriko wrote:
>>>
>>> obal/docstools/mi
>>
>
>
>
> --
> kriko
>
>

Reply via email to