So when you send the binary data, the PDU that is generated correct
but when you receive the PDU at the receiver it is all wrong?

On Apr 18, 1:36 am, Thanasis <[email protected]> wrote:
> Aryo,
>
> Let me understand your problem:
>
> You are receiving a binary messages, which looks OK on the logs but
> when saved in the DB, you get all these FFs?
> Is this your actual problem?
>
> If yes, its different from what we are discussing here... If this is
> the case, please open a new thread as I would like to clean this
> thread a bit.
>
> On Apr 17, 8:27 pm, Aryo Sanjaya <[email protected]> wrote:
>
> > Hi Thanasis,
>
> > I'm sorry, the PDU I gave to you is truncated, here is the completed one
> > that I try with ParserTester.java:
>
> >         String
> > currentLine="06911111010000040D91111182688311F10004904051018253828C2670140D 
> > ­000201000111781092FF636FB80B0834100011781099FF636FBE0B08340000117810A4FF63 
> > 6­FC00B0833F000117810AAFF636FC60B0833F000117810B2FF636FC60B08340000117810B8 
> > FF­636FC60B08340000117810C4FF636FC40B08341000117810CAFF636FC90B083410001178 
> > 10D­0FF636FCC0B08342000117810D7FF636FC60B0834100000";
> >         PduParser parser = new PduParser();
> >         Pdu pdu = parser.parsePdu(currentLine);
> >         System.out.println(pdu);
>
> > The output is correct:
>
> > SMSC Address: [Length: 6 (06) octets, Type: 91 (10010001), Address:
> > 1111100000]
> > First Octet: 04 [TP-MTI: (SMS-DELIVER), TP-MMS: (Has more messages), TP-SRI:
> > (No Status Report), TP-UDHI: (no UDH)]
> > Originator Address: [Length: 13 (0D), Type: 81 (10000001), Address:
> > 1111288638111]
> > TP-PID: 00 (00000000)
> > TP-DCS: 04 (8-bit encoding) (00000100)
> > TP-SCTS: Wed Apr 15 10:28:35 WIT 2009
>
> > User Data Length: 140 (8C) octets
> > User Data (pdu) :
> > 2670140D000201000111781092FF636FB80B0834100011781099FF636FBE0B0834000011781 
> > ­0A4FF636FC00B0833F000117810AAFF636FC60B0833F000117810B2FF636FC60B083400001 
> > 1­7810B8FF636FC60B08340000117810C4FF636FC40B08341000117810CAFF636FC90B08341 
> > 00­0117810D0FF636FCC0B08342000117810D7FF636FC60B0834100000
>
> > User data (dump of binary) is correct, but when I run SMSServer, the result
> > is different on database. Here:
>
> > 267014d02101117810ffffff92ffffffff636fffffffb8b834100117810ffffff99ffffffff 
> > ­636fffffffbeb83400117810ffffffa4ffffffff636fffffffc0b833fffffff00117810fff 
> > f­ffaaffffffff636fffffffc6b833fffffff00117810ffffffb2ffffffff636fffffffc6b8 
> > 34­00117810ffffffb8ffffffff636fffffffc6b83400117810ffffffc4ffffffff636fffff 
> > ffc­4b834100117810ffffffcaffffffff636fffffffc9b834100117810ffffffd0ffffffff 
> > 636f­ffffffccb834200117810ffffffd7ffffffff636fffffffc6b8341000
>
> > Regards,
>
> > Aryo Sanjaya
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/SMSLib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to