Changes between Version 10 and Version 11 of Servicos/Funambol/pushMailSMSSender


Ignore:
Timestamp:
08/25/09 09:52:02 (15 years ago)
Author:
emersonfaria
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Servicos/Funambol/pushMailSMSSender

    v10 v11  
    15155- O celular do usuário X recebe o SMS binário e abre seu cliente Funambol.[[BR]] 
    16166- O SMS binário também faz o cliente Funambol iniciar uma sincronização para receber o novo e-mail.[[BR]] 
     17---- 
     18== Formato da Mensagem SMS: == 
     19 
     20=== Pilha do protocolo WAP Push SMS: === 
     21 
     22Corpo 
     23 | 
     24WSP+Corpo 
     25 | 
     26WDP+WSP+Corpo 
     27 | 
     28SMS_HEADER+WDP+WSP+Corpo 
     29 
     30 
     31 
     32=== SMS_HEADER- O gateway SMS deve anexar esse cabeçalho à mensagem === 
     33 
     3400 =Length of SMSC - 00 means Use the SMSC stored in phone.[[BR]] 
     3551 = binary 01010001,[[BR]] 
     36 bit 7=0 means replay path don't exists,[[BR]] 
     37 bit 6=1 means User Data field starts with a header,[[BR]] 
     38 bit 5=0 means status report is NOT requested,[[BR]] 
     39 bits 4,3=10 means Validity Period Format is 1 octet,[[BR]] 
     40 bit 2=0 means Don't Reject duplicates[[BR]] 
     41 bits 1,0=01 means PDU is an SMS-SUBMIT[[BR]] 
     4200 = phone set the message reference number itself.[[BR]] 
     430A = Address-Length. Length of phone number (10)[[BR]] 
     4481 = Type-of-number + Numbering Plan[[BR]] 
     451429129520 = Destination Phone number 4192215902[[BR]] 
     460004A737 = Trail[[BR]] 
     47 
     48 
     49=== Udh(WDP-Wireless Datagram Protocol) === 
     50 
     5106         =Length[[BR]] 
     5205         =Identifier port number[[BR]] 
     5304         =Port number length[[BR]] 
     540B84       =Destination port. This value is for Windows Mobile. If the client is JavaME, replace by C351.[[BR]] 
     55C002       =Origination port[[BR]] 
     56 
     57***************************************************** 
     58****Message Header(WSP-Wireless Session Protocol)**** 
     59***************************************************** 
     6001         =Push ID 
     6106         =PDU type(Push) 
     6203         =Headers length (content type + headers) 
     63CE         =Content type code is the constant CONTENT_TYPE_CODE_NOTIFICATION 
     64AF         =X-WAP-Application-ID 
     6585         =Id for urn: x-wap-application:push.syncml 
     66 
     67******************** 
     68****Message body**** 
     69******************** 
     7070F45FF17B5ABD16CE29FA27D2F870C2 =MD5 Digest 
     71031        =Binary 000000110001, bits 0000001100 means "version 1.2", bits 01 means "Uimode background" 
     728          =Binary 1000, bit 1 means "server initiator", bits 000 means "future use" 
     73000000     =Future use 
     740000       =Session ID 
     7508         =Server identifier length 
     7666756E616D626F6C=The server identifier string "funambol" 
     771          =Num syncs 
     780          =Future use 
     796          =Sync type means "two-way" 
     800          =Future use 
     81000306     =Content-type - application/vnd.omads-email+xml - OMA Data Sync Email Data Obj(XML) 
     8204         =Server uri length 
     836D61696C   =The server uri string "mail" 
    1784---- 
    1885== Instalação: ==