Changes between Version 13 and Version 14 of Servicos/Funambol/pushMailSMSSender


Ignore:
Timestamp:
08/25/09 10:17:05 (15 years ago)
Author:
emersonfaria
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Servicos/Funambol/pushMailSMSSender

    v13 v14  
    17176- O SMS binário também faz o cliente Funambol iniciar uma sincronização para receber o novo e-mail.[[BR]] 
    1818---- 
    19 == Formato de uma Mensagem SMS: == 
     19== Formato de uma mensagem SMS: == 
    2020 
    2121=== Pilha do protocolo WAP Push SMS: === 
    2222 
    23  Corpo 
     23Corpo 
    2424 | 
    2525WSP+Corpo 
     
    3131=== SMS_HEADER- O gateway SMS deve anexar esse cabeçalho à mensagem: === 
    3232 
    33 00 =Length of SMSC - 00 means Use the SMSC stored in phone.[[BR]] 
    34 51 = binary 01010001,[[BR]] 
    35  bit 7=0 means replay path don't exists,[[BR]] 
    36  bit 6=1 means User Data field starts with a header,[[BR]] 
    37  bit 5=0 means status report is NOT requested,[[BR]] 
    38  bits 4,3=10 means Validity Period Format is 1 octet,[[BR]] 
    39  bit 2=0 means Don't Reject duplicates[[BR]] 
    40  bits 1,0=01 means PDU is an SMS-SUBMIT[[BR]] 
    41 00 = phone set the message reference number itself.[[BR]] 
    42 0A = Address-Length. Length of phone number (10)[[BR]] 
    43 81 = Type-of-number + Numbering Plan[[BR]] 
    44 1429129520 = Destination Phone number 4192215902[[BR]] 
    45 0004A737 = Trail[[BR]] 
     3300         = Length of SMSC - 00 means Use the SMSC stored in phone.[[BR]] 
     3451         = binary 01010001,[[BR]] 
     35* bit 7=0 means replay path don't exists,[[BR]] 
     36* bit 6=1 means User Data field starts with a header,[[BR]] 
     37* bit 5=0 means status report is NOT requested,[[BR]] 
     38* bits 4,3=10 means Validity Period Format is 1 octet,[[BR]] 
     39* bit 2=0 means Don't Reject duplicates,[[BR]] 
     40* bits 1,0=01 means PDU is an SMS-SUBMIT,[[BR]] 
     4100         = phone set the message reference number itself,[[BR]] 
     420A         = Address-Length. Length of phone number (10),[[BR]] 
     4381         = Type-of-number + Numbering Plan,[[BR]] 
     441429129520 = Destination Phone number 4192215902,[[BR]] 
     450004A737   = Trail,[[BR]] 
    4646[[BR]] 
    4747 
    4848=== Udh(WDP-Wireless Datagram Protocol): === 
    4949 
    50 06         =Length[[BR]] 
    51 05         =Identifier port number[[BR]] 
    52 04         =Port number length[[BR]] 
    53 0B84       =Destination port. This value is for Windows Mobile. If the client is JavaME, replace by C351.[[BR]] 
    54 C002       =Origination port[[BR]][[BR]] 
     5006         = Length,[[BR]] 
     5105         = Identifier port number,[[BR]] 
     5204         = Port number length,[[BR]] 
     530B84       = Destination port. This value is for Windows Mobile. If the client is JavaME, replace by C351,[[BR]] 
     54C002       = Origination port,[[BR]][[BR]] 
    5555 
    5656=== Message Header(WSP-Wireless Session Protocol): === 
    5757 
    58 01         =Push ID[[BR]] 
     5801         =Push ID,[[BR]] 
    595906         =PDU type(Push)[[BR]] 
    606003         =Headers length (content type + headers)[[BR]]