Re: syncML

2002-08-22 Thread Steve Ludovicy
It's used for sending syncML configuration settings to your mobile. > > Does anyone know why syncML is in the OTA specs.. is it being used for > OTA...

Re: [PATCH] SMPP validity

2002-08-22 Thread Vibhu Mohindra
On Thu, Aug 22, 2002 at 04:04:23PM +0300, Oded Arbel wrote: > > > -Original Message- > > From: Vibhu Mohindra [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, August 22, 2002 2:03 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [PATCH] SMPP validity > > > > > > If the issue is solely with l

Re: [PATCH] SMPP validity

2002-08-22 Thread Vibhu Mohindra
> > In that case the calculation to get the difference in minutes may be > > more like > > > > (local_tm.tm_year - gmt_tm.tm_year) * 365*24*60 + > > (local_tm.tm_yday - gmt_tm.tm_yday) * 24*60 + > > (local_tm.tm_hour - gmt_tm.tm_hour) * 60 + > > (local_tm.tm_min - gmt_tm.tm_min ); > > Why would

RE: Kannel resending old unsuccessful messges after a box restart. BUG?

2002-08-22 Thread Oded Arbel
> -Original Message- > From: Mauricio Ramos [mailto:[EMAIL PROTECTED]] > but I > got a little bit confused how Kannel DOES behave CURRENTLY. > Please confirm > these statements: > > 1) Current Kannel CVS ALLWAYS removes message from store when > he got ANY > NACK from a SMPP SMSC, ei

RE: Kannel resending old unsuccessful messges after a box restart. BUG?

2002-08-22 Thread Mauricio Ramos
> > Hang on! :-) The message wasn't mal-formed, was it? I've just > > intentionally sent a sms with and invalid number whose prefix is not > > configured to be accepted by Logica's SMSC, so I got the > > 0x000b. The > > same problem seems to happen when I got errors like > > 0x0001,

RE: [PATCH] SMPP validity

2002-08-22 Thread Oded Arbel
> -Original Message- > From: Angel Fradejas [mailto:[EMAIL PROTECTED]] > > > > >Why would I want to handle years and days when I only need the hour > >difference ? > > Think of 31/12/2002 22:00 GMT, it is 01/01/2003 03:00 GMT+5 > for example. So ? all I'm interested to know is that it

Re: [PATCH] SMPP validity

2002-08-22 Thread Vibhu Mohindra
> gmtime = gw_gmtime(time(NULL)); > localtime = gw_localtime(time(NULL)); > gwqdiff = ((localtime.tm_hour - gmtime.tm_hour) * 4) >+ ((localtime.tm_min - gmtime.tm_min) / 15); > +gwqdiff = gwqdiff>12?gwqdiff-24:gwqdiff; > +gwqdiff = gwqdiff<12?gwqdiff+24:gwqdiff; Oops I

RE: [PATCH] SMPP validity

2002-08-22 Thread Angel Fradejas
>> In that case the calculation to get the difference in minutes may be >> more like >> >> (local_tm.tm_year - gmt_tm.tm_year) * 365*24*60 + >> (local_tm.tm_yday - gmt_tm.tm_yday) * 24*60 + >> (local_tm.tm_hour - gmt_tm.tm_hour) * 60 + >> (local_tm.tm_min - gmt_tm.tm_min ); > >Why would I want t

RE: [PATCH] SMPP validity

2002-08-22 Thread Oded Arbel
> -Original Message- > From: Vibhu Mohindra [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 22, 2002 2:03 PM > To: [EMAIL PROTECTED] > Subject: Re: [PATCH] SMPP validity > > > If the issue is solely with locatime_r(), but using localtime() and > the returned struct's tm_gmtoff is al

syncML

2002-08-22 Thread Maria Turk
Does anyone know why syncML is in the OTA specs.. is it being used for OTA...

Re: [PATCH] SMPP validity

2002-08-22 Thread Vibhu Mohindra
If the issue is solely with locatime_r(), but using localtime() and the returned struct's tm_gmtoff is alright then let's do that rather than re-implementing a (non-trivial?) algorithm. The struct returned by localtime() is in a global area, but if that's alright then let's go for it. > gmtime =

Re: [PATCH] SMPP validity

2002-08-22 Thread Vibhu Mohindra
Thanks for the feedback. If using localtime() is OK and so is using the tm_gmtoff member of struct tm, then the modification becomes much simpler and needs no changes to protected.[ch]. It's attached to this post. I wasn't sure about the portability of the tm_gmtoff field because its definition

RE: OTA MMSC settings

2002-08-22 Thread Paul Keogh
> > > Does anyone know if you can OTA MMSC settings to a nokia 7650 > and if not > why?? > Check the current (0.7?) Nokia OTA spec. on http://forum.nokia.com

OTA MMSC settings

2002-08-22 Thread Maria Turk
Does anyone know if you can OTA MMSC settings to a nokia 7650 and if not why?? Maria

Re: Possible race condition in gwlib/protected.c [version 1.1]

2002-08-22 Thread Stipe Tolj
has anyone of the core developers checked the patch? Is someone willing to vote for this to commit? Stipe [EMAIL PROTECTED] --- Wapme Systems AG Vogelsanger Weg 80 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Ma

Re: Possible race condition in gwlib/protected.c [version 1.1]

2002-08-22 Thread Stipe Tolj
> > I'm happy to submit a patch if people are interested. > > My system supports getaddrinfo, but I don't know about others - especially >cygwin-Win32. if this is portable across OS and libc versions, then I'd say -go for >it :-) I'm not quite sure, but Cygwin seems to lack it. Please correct

Re: sim-buffering

2002-08-22 Thread Stipe Tolj
> Does the 1.2.0 stable release contain sim-buffering? have you checked the NEWS file for that release?! > I've been trying out the latest cvs snapshot but got the following error > when I request the status from kannel via the http interface:- > > [0] DEBUG: Kannel bearerbox version `cvs-20020

RE: [PATCH] SMPP validity

2002-08-22 Thread Oded Arbel
Comes to think about it, how about this for a simple solution (not tested at all) to SMPP validity calculation problem ? gmtime = gw_gmtime(time(NULL)); localtime = gw_localtime(time(NULL)); gwqdiff = ((localtime.tm_hour - gmtime.tm_hour) * 4) + ((localtime.tm_min - gmtime.