Hi,
why different <<Message Reference>> in the << OutboundMessage >> and
<< SmsSubmitPdu >> and <<output program>>
my phone doesnt supply message refrence.must be set message reference
so setting a number thus(msg.setRefNo("20");) and then send message.======================================Log========================== << OutboundMessage >> ------------------------------------------------------------------------------- Gateway Id: * Encoding: UCS2 (Unicode) Date: Mon Sep 14 12:54:39 IRDT 2009 SMSC Ref No: 1 Recipient: 09xxxx03227 Dispatch Date: null Message Status: UNSENT Validity Period (Hours): -1 Status Report: true Source / Destination Ports: -1 / -1 Flash SMS: false Text: salam ba delivery v time PDU data: 00730061006C0061006D002000620061002000640065006C00690076006500720079000A0076002000740069006D0065 =================================================================== ================================================= << SmsSubmitPdu >> Raw Pdu: 0031000B8190xxxx3022F70008FF3000730061006C0061006D002000620061002000640065006C00690076006500720079000A0076002000740069006D0065 SMSC Address: [Length: 0 octets] First Octet: 31 [TP-MTI: (SMS-SUBMIT), TP-RD: (allow duplicates), TP-VPF: (validity format, integer, TP-SRR: (Requests Status Report), TP-UDHI: (no UDH)] Message Reference: 00 Destination Address: [Length: 11 (0B), Type: 81 (10000001), Address: 09xxx03227] TP-PID: 00 (00000000) TP-DCS: 08 (UCS2 encoding) (00001000) TP-VPF: 10584 hours User Data Length: 48 (30) octets User Data (pdu) : 00730061006C0061006D002000620061002000640065006C00690076006500720079000A0076002000740069006D0065 User Data (decoded): [salam ba delivery v time] ================================================= modem.com1 Sending Pdu: 0031000B8190xxx3022F70008FF3000730061006C0061006D002000620061002000640065006C00690076006500720079000A0076002000740069006D0065modem.com1 SEND :AT+CMGS=62(cr)modem.com1 clearBuffer() called.modem.com1 SEND :0031000B8190xxxx3022F70008FF3000730061006C0061006D002000620061002000640065006C00690076006500720079000A0076002000740069006D0065modem.com1 Running... BUFFER: +CMGS: 0 OK modem.com1 RECV :+CMGS: 0(cr)OK(cr)modem.com1 Running... Running... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib for Java 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 -~----------~----~----~----~------~----~------~--~---
