RE: [PATCH ]Validity and Scheduled support in SMPP
Dedy Sutanto <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Here further explanation for relation-time paramater:
Background: SMPP 3.4 Specification for Time format:
Time format "YYMMDDhhmmsstnnp"
"YY" last two digits of the year (00-99) (get from tm.tm_year % 100)
"MM" month (01-12) (get from tm.tm_mon + 1)
"DD" day (01-31) (get from tm.tm_mday)
"hh" hour(00-23) (get from tm.tm_hour)
"mm" minute(00-59) (get from tm.tm_min)
"ss" second(00-59) (get from tm.tm_sec
"t" tenths od second(0-9) (always set to 0)
"p" (valid values are "+","-" or "R") (get from paramater relation-time
in config/default "+")
"+" localtime is nn quarter hours advanced in relation to UTC
time
"-" localtime is nn quarter hours retarted in relation to UTC
time
"R" localtime is relative to current SMSC time
Fink, thank for suggestion
Regard
-dedy-
-----Original Message-----
From: Dedy Sutanto [mailto:[email protected]]
Sent: Wednesday, March 13, 2002 3:50 PM
To: Kannel Developers (E-mail)
Cc: Andreas Fink (E-mail)
Subject: [PATCH ]Validity and Scheduled support in SMPP
Sorry, I resubmit with [PATCH] subject.
Here I attach patch for validty and scheduled SM support in SMPP. (actually
I grab and modify code from smsc_emi2.c =) )
This patch working for CVS per Mar 13 14:44 2002.
This patch will add one parameter in config file named "relation-time".
Valid values for this "relation-time" are "+", "-" and "R" (for SMPP 3.4
suppor).
If this relation-time is not given, value "+" will be used as default.
This patch compatible with parameter validity and deferred (minute) in
kannel http interface.
Regard
-dedy-