Hi,

The PDU seems OK, but try to make the destination number
internatational (prefix with +)
and set the SMSC number

/ DIgiloo

On 2 Maj, 17:04, Thanasis <[email protected]> wrote:
> Well, the PDU encoding is fine, you have 30 zeroes in your message.
>
> Unless there is something really wrong with your comm/usb link, I
> can't image anything other than a modem fault...
>
> On May 2, 5:53 pm, Sri <[email protected]> wrote:
>
>
>
> > I had already posted it. I am just re-posting only that portion of it.
>
> > 8458   2009-05-02 05:49:02,744 [main] DEBUG org.smslib.helper.Logger
> > - GTW: modem.ttyacm0:
> > =================================================
> > << SmsSubmitPdu >>
> > Raw Pdu:
> > 0011000A8112848895030000FF1E30180C0683C16030180C0683C16030180C0683C16030180 
> > C068301
>
> > SMSC Address: [Length: 0 octets]
> > First Octet: 11 [TP-MTI: (SMS-SUBMIT), TP-RD: (allow duplicates), TP-
> > VPF: (validity format, integer, TP-SRR: (No Status Report), TP-UDHI:
> > (no UDH)]
> > Message Reference: 00
> > Destination Address: [Length: 10 (0A), Type: 81 (10000001), Address:
> > 2148885930]
> > TP-PID: 00 (00000000)
> > TP-DCS: 00 (7-bit GSM Alphabet) (00000000)
> > TP-VPF: 10584 hours
>
> > User Data Length: 30 (1E) septets
> > User Data (pdu) :
> > 30180C0683C16030180C0683C16030180C0683C16030180C068301
> > User Data (decoded): [000000000000000000000000000000]
> > =================================================
>
> > 8460   2009-05-02 05:49:02,746 [main] DEBUG org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: Sending Pdu:
> > 0011000A8112848895030000FF1E30180C0683C16030180C0683C16030180C0683C16030180 
> > C068301
> > 8462   2009-05-02 05:49:02,748 [main] DEBUG org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: SEND :AT+CMGS=40(cr)
> > 8672   2009-05-02 05:49:02,958 [main] DEBUG org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: clearBuffer() called.
> > 9675   2009-05-02 05:49:03,961 [main] DEBUG org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: SEND :
> > 0011000A8112848895030000FF1E30180C0683C16030180C0683C16030180C0683C16030180 
> > C068301
> > 9710   2009-05-02 05:49:03,996 [main] DEBUG org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: BUFFER: +CMS ERROR: 549
> > 9712   2009-05-02 05:49:03,998 [main] DEBUG org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: RECV :+CMS ERROR: 549(cr)
> > 9713   2009-05-02 05:49:03,999 [main] WARN  org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: CMS Error 549: Retrying...
> > 12252  2009-05-02 05:49:06,538 [pool-1-thread-4] DEBUG
> > org.smslib.helper.Logger  - Running task: QueueManager [modem.ttyacm0]
> > 12715  2009-05-02 05:49:07,001 [main] DEBUG org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: SEND :AT+CMGS=40(cr)
> > 12922  2009-05-02 05:49:07,208 [main] DEBUG org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: clearBuffer() called.
> > 13925  2009-05-02 05:49:08,211 [main] DEBUG org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: SEND :
> > 0011000A8112848895030000FF1E30180C0683C16030180C0683C16030180C0683C16030180 
> > C068301
> > 13967  2009-05-02 05:49:08,253 [main] DEBUG org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: BUFFER: +CMS ERROR: 549
> > 13969  2009-05-02 05:49:08,255 [main] DEBUG org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: RECV :+CMS ERROR: 549(cr)
> > 13970  2009-05-02 05:49:08,256 [main] WARN  org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: CMS Error 549: Retrying...
> > 15141  2009-05-02 05:49:09,427 [pool-1-thread-1] DEBUG
> > org.smslib.helper.Logger  - Running task: WatchDog
> > 16972  2009-05-02 05:49:11,258 [main] DEBUG org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: SEND :AT+CMGS=40(cr)
> > 17178  2009-05-02 05:49:11,464 [main] DEBUG org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: clearBuffer() called.
> > 17257  2009-05-02 05:49:11,543 [pool-1-thread-3] DEBUG
> > org.smslib.helper.Logger  - Running task: QueueManager [modem.ttyacm0]
> > 18180  2009-05-02 05:49:12,466 [main] DEBUG org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: SEND :
> > 0011000A8112848895030000FF1E30180C0683C16030180C0683C16030180C0683C16030180 
> > C068301
> > 18218  2009-05-02 05:49:12,504 [main] DEBUG org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: BUFFER: +CMS ERROR: 549
> > 18219  2009-05-02 05:49:12,505 [main] DEBUG org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: RECV :+CMS ERROR: 549(cr)
> > 18220  2009-05-02 05:49:12,506 [main] ERROR org.smslib.helper.Logger
> > - GTW: modem.ttyacm0: CMS Error 549: Quit retrying, message lost...
> > =========================================================================== 
> > ====
> > << OutboundMessage >>
> > --------------------------------------------------------------------------- 
> > ----
> >  Gateway Id: *
> >  Encoding: 7-bit
> >  Date: Sat May 02 05:49:02 CDT 2009
> >  SMSC Ref No: null
> >  Recipient: 2148885930
> >  Dispatch Date: null
> >  Message Status: FAILED
> >  Validity Period (Hours): -1
> >  Status Report: false
> >  Source / Destination Ports: -1 / -1
> >  Flash SMS: false
> >  Text: 000000000000000000000000000000
> >  PDU data: 30180C0683C16030180C0683C16030180C0683C16030180C068301
>
> > On May 2, 9:37 am, blueboy <[email protected]> wrote:
>
> > > Hi,
>
> > > What I tried to say, is that I miss the trace from the actual sending
> > > error.
>
> > > / Hakan
>
> > > On 2 Maj, 15:25, Sri <[email protected]> wrote:
>
> > > > One more note that I am able to receive messages upto 160 characters.
> > > > It is sending where I am having problems.
>
> > > > On May 2, 7:53 am, blueboy <[email protected]> wrote:
>
> > > > > Hi,
>
> > > > > I use Samba 75 without problems both in Windows and Linux.
>
> > > > > I can see in your log that geting the batter level gets an error
> > > > > response
>
> > > > > > 8350   2009-05-02 05:49:02,636 [main] DEBUG org.smslib.helper.Logger
> > > > > > - GTW: modem.ttyacm0: SEND :AT+CBC(cr)
> > > > > > 8387   2009-05-02 05:49:02,673 [main] DEBUG org.smslib.helper.Logger
> > > > > > - GTW: modem.ttyacm0: BUFFER: ERROR
> > > > > > 8391   2009-05-02 05:49:02,677 [main] DEBUG org.smslib.helper.Logger
> > > > > > - GTW: modem.ttyacm0: RECV :ERROR(cr)
> > > > > >  Battery Level: 0%
>
> > > > > / Digiloo
>
> > > > > On 2 Maj, 12:59, Sri <[email protected]> wrote:
>
> > > > > > Here is the log with the text of only 0's. I do not have an exact
> > > > > > count on 0's. But it is more than 20 so that the sending fails.
>
> > > > > > Example: Send message from a serial gsm modem.
> > > > > > SMSLib: A Java API library for sending and receiving SMS via a GSM
> > > > > > modem or other supported gateways.
> > > > > > This software is distributed under the terms of the Apache v2.0
> > > > > > License.
> > > > > > Web Site:http://smslib.org
> > > > > > Version: 3.4.0
> > > > > > 0      2009-05-02 05:48:54,286 [main] INFO  org.smslib.helper.Logger
> > > > > > - SMSLib: A Java API library for sending and receiving SMS via a GSM
> > > > > > modem or other supported gateways.
> > > > > > This software is distributed under the terms of the Apache v2.0
> > > > > > License.
> > > > > > Web Site:http://smslib.org
> > > > > > 14     2009-05-02 05:48:54,300 [main] INFO  org.smslib.helper.Logger
> > > > > > - Version: 3.4.0
> > > > > > 15     2009-05-02 05:48:54,301 [main] INFO  org.smslib.helper.Logger
> > > > > > - JRE Version: 1.6.0_13
> > > > > > 32     2009-05-02 05:48:54,318 [main] INFO  org.smslib.helper.Logger
> > > > > > - JRE Impl Version: 11.3-b02
> > > > > > 33     2009-05-02 05:48:54,319 [main] INFO  org.smslib.helper.Logger
> > > > > > - O/S: Linux / i386 / 2.6.18-92.el5
> > > > > > New queue manager set
> > > > > > 152    2009-05-02 05:48:54,438 [SMSLib-MasterQueueManager] DEBUG
> > > > > > org.smslib.helper.Logger  - MasterQueueManager thread started.
> > > > > > 154    2009-05-02 05:48:54,440 [Thread-1] INFO
> > > > > > org.smslib.helper.Logger  - GTW: modem.ttyacm0: Starting gateway,
> > > > > > using Generic AT Handler.
> > > > > > 155    2009-05-02 05:48:54,441 [Thread-1] INFO
> > > > > > org.smslib.helper.Logger  - GTW: modem.ttyacm0: Opening: 
> > > > > > /dev/ttyACM0
> > > > > > @115200
> > > > > > 312    2009-05-02 05:48:54,598 [Thread-1] DEBUG
> > > > > > org.smslib.helper.Logger  - GTW: modem.ttyacm0: ModemReader thread
> > > > > > started.
> > > > > > 319    2009-05-02 05:48:54,605 [Thread-1] DEBUG
> > > > > > org.smslib.helper.Logger  - GTW: modem.ttyacm0: AsyncNotifier thread
> > > > > > started.
> > > > > > 324    2009-05-02 05:48:54,610 [Thread-1] DEBUG
> > > > > > org.smslib.helper.Logger  - GTW: modem.ttyacm0: 
> > > > > > AsyncMessageProcessor
> > > > > > thread started.
> > > > > > 325    2009-05-02 05:48:54,611 [Thread-1] DEBUG
> > > > > > org.smslib.helper.Logger  - GTW: modem.ttyacm0: clearBuffer() 
> > > > > > called.
> > > > > > 1328   2009-05-02 05:48:55,614 [Thread-1] DEBUG
> > > > > > org.smslib.helper.Logger  - GTW: modem.ttyacm0: SEND :(27)
> > > > > > 1535   2009-05-02 05:48:55,821 [Thread-1] DEBUG
> > > > > > org.smslib.helper.Logger  - GTW: modem.ttyacm0: SEND :+++
> > > > > > 1742   2009-05-02 05:48:56,028 [Thread-1] DEBUG
> > > > > > org.smslib.helper.Logger  - GTW: modem.ttyacm0: SEND :ATZ
> > > > > > 1950   2009-05-02 05:48:56,236 [Thread-1] DEBUG
> > > > > > org.smslib.helper.Logger  - GTW: modem.ttyacm0: clearBuffer() 
> > > > > > called.
> > > > > > 2953   2009-05-02 05:48:57,239 [Thread-1] DEBUG
> > > > > > org.smslib.helper.Logger  - GTW: modem.ttyacm0: SEND :ATZ(cr)
> > > > > > 3160   2009-05-02 05:48:57,446 [Thread-1] DEBUG
> > > > > > org.smslib.helper.Logger  - GTW: modem.ttyacm0: SEND :ATE0(cr)
> > > > > > 3364   2009-05-02 05:48:57,650 [Thread-1] DEBUG
> > > > > > org.smslib.helper.Logger  - GTW: modem.ttyacm0: clearBuffer() 
> > > > > > called.
> > > > > > 4367   2009-05-02 05:48:58,653 [Thread-1] DEBUG
> > > > > > org.smslib.helper.Logger  - GTW: modem.ttyacm0: SEND :AT+CPIN?(cr)
> > > > > > 4415   2009-05-02 05:48:58,701 [Thread-1] DEBUG
> > > > > > org.smslib.helper.Logger  - GTW: modem.ttyacm0: BUFFER: +CPIN: READY
> > > > > > 4417   2009-05-02 05:48:58,703 [Thread-1] DEBUG
> > > > > > org.smslib.helper.Logger  - GTW: modem.ttyacm0: RECV :+CPIN: 
> > > > > > READY(cr)
> > > > > > 4418   2009-05-02 05:48:58,704 [Thread-1] DEBUG
> > > > > > org.smslib.helper.Logger  - GTW: modem.ttyacm0: SEND :ATE0(cr)
> > > > > > 4622  
>
> ...
>
> läs mer »- Dölj citerad text -
>
> - Visa citerad text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib 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