Does this mean that it's encoded in WBXML? ----- Original Message ----- From: "Navjot Singh" <[EMAIL PROTECTED]> To: "Zohar" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, March 25, 2004 7:27 AM Subject: RE: WAP Push format
> Hi Zohar, > > there are no such guidelines. may be someone else can help from his past > experience who has done much work into this. > > But here is what i will do. > > Xml tags have corresponding octet value. So 1 XML tag may consume 10 > chars/bytes(in plaintext) BUT it will be replaced with 1 octet/byte. > Similarly, if you have url in your xml content, then http:// or http://www > also have corresponding octet value. So, size is reduced drastically. > > So, the rough guess could be > > a. count your 1 tag as 1 octet. > b. values can be considered as 1 octet but from/to numbers consume half as 2 > digits constitute 1 octet. > c. every string value is suffixed with 1 extra octet (NULL) and sometimes 1 > octet as prefix also. > d. add some octets for HEADER. > > Adding all 4 above will be MAX size your PDU should take. > > NOTE - Standard values also have their octet counterparts. like GPRS has > value 49(right ??) > > Hope i didn't add much to the confusion you already have :-) > > Navjot Singh > > >-----Original Message----- > >From: Zohar [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, March 24, 2004 6:51 PM > >To: Navjot Singh > >Cc: [EMAIL PROTECTED] > >Subject: Re: WAP Push format > > > > > >Any _estimation_ as to XML size -> SMS size(s) conversion ratio? > > > >----- Original Message ----- > >From: "Navjot Singh" <[EMAIL PROTECTED]> > >To: "Zohar" <[EMAIL PROTECTED]> > >Cc: <[EMAIL PROTECTED]> > >Sent: Wednesday, March 24, 2004 2:53 PM > >Subject: RE: WAP Push format > > > > > >> take it this way. what you send to kannel is XML. Kannel converts XML to > >> octets as per specs on WAP Forum. > >> If the resultant octets are long enough to exceed a single message, it > >will > >> sent as segmented messages and then reassembled at MS. > >> > >> HTH > >> Navjot Singh > >> > >> -----Original Message----- > >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > >Of > >> Zohar > >> Sent: Wednesday, March 24, 2004 4:41 PM > >> To: Aarno Syv�nen > >> Cc: [EMAIL PROTECTED] > >> Subject: Re: WAP Push format > >> > >> > >> Is it possible that my push message is received as 3 separate messages on > >> the receiving end? > >> ----- Original Message ----- > >> From: Aarno Syv�nen > >> To: Zohar > >> Cc: [EMAIL PROTECTED] > >> Sent: Wednesday, March 24, 2004 10:55 AM > >> Subject: Re: WAP Push format > >> > >> > >> It is binary > >> > >> On 24.3.2004, at 08:39, Zohar wrote: > >> > >> > >> Hi, > >> I use kannel as a PPG (amongst other things), but my knowledge of the > >> internal workings of WAP Push is almost nothing, so please forgive me if > >I'm > >> asking a stupid question: > >> When I ask kannel to send a WAP Push message (over SMS) - what format is > >the > >> SMS message in? I understand that it may be in 8bit/7bit/ucs2 format - > >which > >> one is it? > >> Thanks. > >> > >> > >> > > > >
