----- Original Message -----
From: "francesco emmi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, March 26, 2002 5:52 PM
Subject: Bug in smsc_emi2.c?


> Hi Mr. Rodrigues,
>
> As you ask, I put to your attention, two different UCP dumps obteined,
when
> we try to send a nokia ring tone. The  first one is obteined by original
> kannel code smsc_emi2.c while the second with code modifcated as you know.
>
> With smsc_emi2.c untouched:
> 2002-03-19 15:51:03 [6] DEBUG: EMI2[tim]: emi2 sending packet:
> <^B34/00307/O/51/3293190627/14E5F61CFD6E975DEE321D/////////////////4/0768/
024A3A59B1BDB1B1E58804007D1EA22C49C61A61A4288A1259069065866069
8720698A20C22C49C61A61A4288A09A4830AB09C09B08C12698A20C22C26C
2AC2082C82AC26820C26D22D2A822C49C61A61A4288A125906906586606987
2069800////1////5039//010706050415810000020104///7F^C>
>
> With smsc_emi2.c modificated as you know:
> 2002-03-26 15:29:45 [6] DEBUG: EMI2[tim]: emi2 sending packet:
>
<^B02/00311/O/51/3287597573/14C5E614FD6E975DEE321D////////////0000/////4/076
8/
024A3A59B1BDB1B1E58804007D1EA22C49C61A61A4288A12590690658660698720
698A20C22C49C61A61A4288A09A4830AB09C09B08C12698A20C22C26C2AC2082
C82AC26820C26D22D2A822C49C61A61A4288A12590690658660698720698
00////1////5039//0107060504158100000201F5///48^C>
>
> The two UCP dumps are very similar, except two bytes (0000 representing
> PID and DCS respectively) present only in the second one. I underline that
in
> the first case we don't receive the ring tone, while in the second we do.

Nope, the 0000 is the PID at 0 (UCP uses PID at decimal, not hexadecimal),
and
0 is the default, therefor there's no need to set it.

DCS is set at the end of the string, inside XSER field: [0201]04 and
[0201]F5

I've already replyed to this one, that if your mobile doesn't like the 04
kind of DCS,
just add &alt-dcs=1 to your get (as you seems to be doing, if the second
string have
F5)

This have nothing to do with PID!


> About PID=39. Affectively it seems not to be a kannel problem. But it is a
> fact that without modifing smsc_emi2.c  we can't send any ring tone, and
that
> in the UCP dump there is no trace of PID and DCS.

It has nothing to do with the patch ! are you using &alt-dcs or not ??????
pid doesn't change dcs value nor the reverse.

Are you sure the two http get are exactly equal ?


> Thank You for your attention
>
> Francesco Emmi
>


Reply via email to