Good afternoon!
I use the library of SMSLib in the program for the dispatch/of pick up 
messages. The program worked normally while a serious enough problem did 
not turn out in one moment. Messages do not reach on the telephones of 
Nokia (models 2710, 6220, 6700, 6300). Interests such moment: in byte-code 
of PDU procedure of writeFirstOctet from the module of PduGenerator writes 
down a value 0x51(int 81). Where such value undertakes from. Also does 
interest why is heading of User Data Header used?
I add part of ravine.
2012-11-02 04:23:00 DEBUG smslib:467 - GTW: modem1: 
=================================================
<< SmsSubmitPdu >>
Raw Pdu: 
0051000C918360689001030008FF1B0605040000000000680065006C006C006F00680065006C006C006F

SMSC Address: [Length: 0 octets]
First Octet: 51 [TP-MTI: (SMS-SUBMIT), TP-MMS: (has no messages), TP-RD: (allow 
duplicates), TP-VPF: (validity format, integer, TP-SRI: (No Status Report),TP
-SRR: (No Status Report), TP-UDHI: (has UDH)]
Message Reference: 00
Destination Address: [Length: 12 (0C), Type: 81 (10000001), Address: 
380686091030]
TP-PID: 00 (00000000)
TP-DCS: 08 (UCS2 encoding) (00001000)
TP-VPF: 10584 hours

User Data Length: 27 (1B) octets
User Data (pdu) : 0605040000000000680065006C006C006F00680065006C006C006F
User Data Header (pdu) : 06050400000000
User Data Header Length: 6 (06) octets

UDH Information Elements:
PortInformationElement[05, 04, 00000000][Dst Port: 0, Src Port: 0]

Non UDH Data (pdu)    : 00680065006C006C006F00680065006C006C006F
Non UDH Data (decoded): [hellohello]
=================================================

2012-11-02 04:23:00 DEBUG smslib:482 - GTW: modem1: Sending Pdu: 
0051000C918360689001030008FF1B0605040000000000680065006C006C006F00680065006C006C006F
2012-11-02 04:23:00 DEBUG smslib:301 - GTW: modem1: SEND :AT+CMGS=41(cr)
2012-11-02 04:23:00 DEBUG smslib:409 - GTW: modem1: clearBuffer() called.
2012-11-02 04:23:01 DEBUG smslib:301 - GTW: modem1: SEND :
0051000C918360689001030008FF1B0605040000000000680065006C006C006F00680065006C006C006F
2012-11-02 04:23:01 DEBUG smslib:104 - Running...
2012-11-02 04:23:01 DEBUG smslib:104 - Running...
2012-11-02 04:23:04 DEBUG smslib:350 - GTW: modem1: BUFFER: +CMGS: 167
OK

2012-11-02 04:23:04 DEBUG smslib:390 - GTW: modem1: RECV :+CMGS: 167(cr)OK(
cr)

Beforehand thankful, Leonov Yury

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/smslib/-/kFg82y5UtPQJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to