i don't know how work please why smslib not shown status report pdu and only shown (+CDSI: "SR",2) , the pdu is where? this modem is a IPModem ,and convert to serial modem with using a software(my modem information is end page).
please review this 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. -------------------------------------- Modem Information: SEND :AT+CGMI(cr)Modem1.COM2 Modem1.COM2MODEM RECV : WAVECOM MODEM(cr)OK(cr)Modem1.COM2 Manufacturer: WAVECOM MODEM SEND :AT+CGMM(cr)Modem1.COM2 Modem1.COM2D 900E 1800 RECV : MULTIBAND 900E 1800 (cr)OK(cr)Modem1.COM2 Model: MULTIBAND 900E 1800 SEND :AT+CGSN(cr)Modem1.COM2 Modem1.COM2901234 RECV :012345678901234(cr)OK(cr)Modem1.COM2 Serial No: 012345678901234 SIM IMSI: ** MASKED ** SEND :AT+CSQ(cr)Modem1.COM2 Modem1.COM299 RECV :+CSQ: 13,99(cr)OK(cr)Modem1.COM2 Signal Level: 41% SEND :AT+CBC(cr)Modem1.COM2 Modem1.COM2 RECV :+CBC: 0,0(cr)OK(cr)Modem1.COM2 Battery Level: 0% On 10/11/09, Peogrammer Base <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
