please help me to solved the my problem

1) why shown  InboundMessage instead StatusReportMessage when I
sending sms from Wavecom modem to another phone?
OR why this line never show in my log? ">>> New Inbound Status Report
message detected from Gateway"

2) why my log not shown the PDU - Status Report ==> the pdu is empty
+CDSI : ... PDU or +CDS: ... PDU
Modem1.COM2t: Event: INBOUNDSTATUSREPORTMESSAGE / Response: +CDSI:
"SR",2    << PDU - EMPTY or PDU IS WHERE>>

3) how can giving this pdu , becuse i writing a class that decode the
status report if  can giving this pdu

thanks.
-------------------------------------------------------------------------------------------------------
public class InboundNotification implements IInboundMessageNotification {

        public void process(String gatewayId, MessageTypes msgType,
InboundMessage msg) {
            if (msgType == MessageTypes.INBOUND)
        {
           System.out.println(">>> New Inbound message detected from Gateway:
" + gatewayId);
//  when sending sms to another phone this line shown instead shown
message follow line
        }
            else if (msgType == MessageTypes.STATUSREPORT)
        {
// why never reach here
                     System.out.println(">>> New Inbound Status Report
message detected from Gateway: " + gatewayId);
        }
            System.out.println(msg);
            try
            {
                    // Uncomment following line if you wish to delete
the message upon arrival.
                    // ReadMessages.this.srv.deleteMessage(msg);
            }
            catch (Exception e)
            {
                    System.out.println("Oops!!! Something gone bad...");

            }
        }



On 10/8/09, Thanasis <[email protected]> wrote:
>
> I cannot reproduce this - indications work fine with my modems.
> Do you have any other modem or phone to test with?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to