hi,
please help me.

1) this problem not solved yet

2) solved



On 10/7/09, Peogrammer Base <[email protected]> wrote:
> Hi
>
> Case 1)
> not appear status report in the class <<InboundNotification>> when reach.
> ">>> New Inbound Status Report message detected from Gateway: Modem.Com3".
> why never shown this Message ?
>
> 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);
>             }
>             else if (msgType == MessageTypes.STATUSREPORT)
>             {
> //not shown this message
>                 System.out.println("----> MessageTypes.STATUSREPORT
> <----");
>                 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...");
>                     e.printStackTrace();
>             }
>         }
>
> Case 2) not access to this modem now , Checking tell to afterwards
>
> very thanks Mr Thanasis
>
>
> On 10/6/09, Thanasis <[email protected]> wrote:
>>
>> Answers follow:
>>
>> On Oct 6, 9:22 pm, Peogrammer Base <[email protected]> wrote:
>>> Hi,
>>> thanks,
>>>
>>> this problem is where?
>>>
>>> 1) cannot  giving status report from Gsm modem ,my CNMI is set bad ?
>>>     set ---> msg.setStatusReport(true);
>>
>> I see status report indications in your log - near the bottom of it.
>> What exactly is the problem you are facing?
>>
>>> 2)can't sending and receiving unicode sms , i want sending Unicode SMS
>>> and setting sms encoding via
>>> msg.setEncoding(MessageEncodings.ENCUCS2);
>>> appear sms bad when reach sms .
>>
>> This does not seem logical. Check that you call the "setEncoding()"
>> before you send out the message.
>> >>
>>
>

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