Hi,

About the CNMI:

CMS 515 is device busy.

Although there are some lines missing from the top of the log, try to
increase the value of AT_WAIT_SIMPIN (see
http://smslib.org/doc/smslib/parameters/) and check if it will fix things.

About the delivery report:

I don't really know what this message is... Can't even parse it with
external tools.
Do delivery reports work in your country?

On 2 June 2010 17:55, Bastien <[email protected]> wrote:

> Hi All,
>
> I've recently replaced my pcmcia data card with a Wavecom M1206B. I've
> changed the manufacturer in SerialModemGateway to Wavecom but
> initialization seems to fail when trying AT+CNMI. After some retries
> due to timeouts the system proceeds with the defaults parameters and
> gives some warnings about the callback indications (cf log below).
>
> Outbound messages are working ok, inbound too but I'm not getting
> delivery receipts (I ask for status report in outbound messages). If I
> restart the system then I can see some inbound binary messages (cf log
> below), are they delivery receipts?
>
> What should I do to fix the CNMI issue?
>
> Thanks a lot for all your help,
>
> Bastien
>
> =============== init log =======================
> 24035  2010-06-02 16:35:40,764 [Thread-4] DEBUG
> org.smslib.helper.Logger  - GTW: modem.ttyS0: SEND :AT+CNMI=?(cr)
> 24091  2010-06-02 16:35:40,820 [Thread-4] DEBUG
> org.smslib.helper.Logger  - GTW: modem.ttyS0: BUFFER: +CMS ERROR: 515
> 24092  2010-06-02 16:35:40,821 [Thread-4] DEBUG
> org.smslib.helper.Logger  - GTW: modem.ttyS0: RECV :+CMS ERROR:
> 515(cr)
> 24092  2010-06-02 16:35:40,821 [Thread-4] WARN
> org.smslib.helper.Logger  - GTW: modem.ttyS0: Retrying the detection
> of CNMI, modem busy?
> 27092  2010-06-02 16:35:43,821 [Thread-4] DEBUG
> org.smslib.helper.Logger  - GTW: modem.ttyS0: SEND :AT+CNMI=?(cr)
> 27148  2010-06-02 16:35:43,877 [Thread-4] DEBUG
> org.smslib.helper.Logger  - GTW: modem.ttyS0: BUFFER: +CMS ERROR: 515
> 27148  2010-06-02 16:35:43,877 [Thread-4] DEBUG
> org.smslib.helper.Logger  - GTW: modem.ttyS0: RECV :+CMS ERROR:
> 515(cr)
> 27148  2010-06-02 16:35:43,877 [Thread-4] WARN
> org.smslib.helper.Logger  - GTW: modem.ttyS0: Retrying the detection
> of CNMI, modem busy?
> 30034  2010-06-02 16:35:46,763 [WatchDog] DEBUG
> org.smslib.helper.Logger  - Running...
> 30084  2010-06-02 16:35:46,813 [CNMIEmulatorProcessor [modem.ttyS0]]
> DEBUG org.smslib.helper.Logger  - ** disabled **
> 30149  2010-06-02 16:35:46,878 [Thread-4] DEBUG
> org.smslib.helper.Logger  - GTW: modem.ttyS0: SEND :AT+CNMI=?(cr)
> 30203  2010-06-02 16:35:46,932 [Thread-4] DEBUG
> org.smslib.helper.Logger  - GTW: modem.ttyS0: BUFFER: +CMS ERROR: 515
> 30203  2010-06-02 16:35:46,932 [Thread-4] DEBUG
> org.smslib.helper.Logger  - GTW: modem.ttyS0: RECV :+CMS ERROR:
> 515(cr)
> 30204  2010-06-02 16:35:46,933 [Thread-4] WARN
> org.smslib.helper.Logger  - GTW: modem.ttyS0: Retrying the detection
> of CNMI, modem busy?
> 33205  2010-06-02 16:35:49,934 [Thread-4] WARN
> org.smslib.helper.Logger  - GTW: modem.ttyS0: CNMI detection failed,
> proceeding with defaults.
> 33205  2010-06-02 16:35:49,934 [Thread-4] WARN
> org.smslib.helper.Logger  - GTW: modem.ttyS0: Callback indications
> were *not* set succesfully!
> 33205  2010-06-02 16:35:49,934 [Thread-4] DEBUG
> org.smslib.helper.Logger  - GTW: modem.ttyS0: SEND :AT+CMGF=0(cr)
> 33243  2010-06-02 16:35:49,972 [Thread-4] DEBUG
> org.smslib.helper.Logger  - GTW: modem.ttyS0: BUFFER: OK
> 33244  2010-06-02 16:35:49,973 [Thread-4] DEBUG
> org.smslib.helper.Logger  - GTW: modem.ttyS0: RECV :OK(cr)
> >>> Gateway Status change for modem.ttyS0, OLD: STOPPED -> NEW: STARTING
> 33245  2010-06-02 16:35:49,974 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - NotifyQueueManager end...
> 33245  2010-06-02 16:35:49,974 [Thread-4] DEBUG
> org.smslib.helper.Logger  - Initialized.
> 33246  2010-06-02 16:35:49,975 [Thread-4] INFO
> org.smslib.helper.Logger  - GTW: modem.ttyS0: Gateway started.
> 33246  2010-06-02 16:35:49,975 [QueueManager [modem.ttyS0]] DEBUG
> org.smslib.helper.Logger  - Running...
> 33346  2010-06-02 16:35:50,075 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - Running...
> 33346  2010-06-02 16:35:50,075 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - NotifyQueueManager running...
> >>> Gateway Status change for modem.ttyS0, OLD: STARTING -> NEW: STARTED
> 33346  2010-06-02 16:35:50,075 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - NotifyQueueManager end...
> 33447  2010-06-02 16:35:50,176 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - Running...
> 33447  2010-06-02 16:35:50,176 [NotifyQueueManager] DEBUG
> org.smslib.helper.Logger  - NotifyQueueManager running...
>
> Modem Information:
> 34057  2010-06-02 16:35:50,786 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: SEND :AT+CGMI(cr)
> INFO()Socket ready : listening on port()4444
> INFO()Waiting for incoming connection
> 34108  2010-06-02 16:35:50,837 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: BUFFER:  WAVECOM MODEM
> OK
> 34108  2010-06-02 16:35:50,837 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: RECV : WAVECOM MODEM(cr)OK(cr)
>  Manufacturer:  WAVECOM MODEM
> 34108  2010-06-02 16:35:50,837 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: SEND :AT+CGMM(cr)
> 34183  2010-06-02 16:35:50,912 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: BUFFER:  MULTIBAND  900E  1800
> OK
> 34184  2010-06-02 16:35:50,913 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: RECV : MULTIBAND  900E  1800 (cr)OK(cr)
>  Model:  MULTIBAND  900E  1800
> 34184  2010-06-02 16:35:50,913 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: SEND :AT+CGSN(cr)
> 34244  2010-06-02 16:35:50,973 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: BUFFER: 352129002308964
> OK
> 34244  2010-06-02 16:35:50,973 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: RECV :352129002308964(cr)OK(cr)
>  Serial No: 352129002308964
> 34244  2010-06-02 16:35:50,973 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: SEND :AT+CIMI(cr)
> 34302  2010-06-02 16:35:51,031 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: BUFFER: 208016701941498
> OK
> 34303  2010-06-02 16:35:51,032 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: RECV :208016701941498(cr)OK(cr)
>  SIM IMSI: 208016701941498
> 34303  2010-06-02 16:35:51,032 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: SEND :AT+CNUM(cr)
> 34351  2010-06-02 16:35:51,080 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: BUFFER: +CME ERROR: 515
> 34352  2010-06-02 16:35:51,081 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: RECV :+CME ERROR: 515(cr)
>  SIM MSISDN: N/A
> 34352  2010-06-02 16:35:51,081 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: SEND :AT+CSQ(cr)
> 34403  2010-06-02 16:35:51,132 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: BUFFER: +CSQ: 17,0
> OK
> 34403  2010-06-02 16:35:51,132 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: RECV :+CSQ: 17,0(cr)OK(cr)
>  Signal Level: 54%
> 34403  2010-06-02 16:35:51,132 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: SEND :AT+CBC(cr)
> 34455  2010-06-02 16:35:51,184 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: BUFFER: +CBC: 0,0
> OK
> 34455  2010-06-02 16:35:51,184 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: RECV :+CBC: 0,0(cr)OK(cr)
>  Battery Level: 0%
>
> 34456  2010-06-02 16:35:51,185 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: SEND :AT+CPMS="SM"(cr)
> 34523  2010-06-02 16:35:51,252 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: BUFFER: +CPMS: 0,50,0,50
> OK
> 34524  2010-06-02 16:35:51,253 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: RECV :+CPMS: 0,50,0,50(cr)OK(cr)
> 34524  2010-06-02 16:35:51,253 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: SEND :AT+CMGL=4(cr)
> 34566  2010-06-02 16:35:51,295 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: BUFFER: OK
> 34567  2010-06-02 16:35:51,296 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: RECV :OK(cr)
> 34571  2010-06-02 16:35:51,300 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: SEND :AT+CPMS="SR"(cr)
> 34635  2010-06-02 16:35:51,364 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: BUFFER: +CPMS: 1,5,0,50
> OK
> 34635  2010-06-02 16:35:51,364 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: RECV :+CPMS: 1,5,0,50(cr)OK(cr)
> 34635  2010-06-02 16:35:51,364 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: SEND :AT+CMGL=4(cr)
> 34908  2010-06-02 16:35:51,637 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: BUFFER: +CMGL: 1,1,,25
> 000000FF0006150B913386214835F20160108133348001601081
> OK
> 34908  2010-06-02 16:35:51,637 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: RECV :+CMGL:
> 1,1,,25(cr)000000FF0006150B913386214835F20160108133348001601081(cr)OK(cr)
> 34908  2010-06-02 16:35:51,637 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: READ PDU:
> 000000FF0006150B913386214835F20160108133348001601081
> 34922  2010-06-02 16:35:51,651 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: =================================================
> << SmsDeliveryPdu >>
> Raw Pdu: 000000FF0006150B913386214835F20160108133348001601081
>
> SMSC Address: [Length: 0 octets]
> First Octet: 00 [TP-MTI: (SMS-DELIVER), TP-MMS: (has no messages), TP-
> SRI: (No Status Report), TP-UDHI: (no UDH)]
> Originator Address: [Length: 0, Type: FF (11111111)]
> TP-PID: 00 (00000000)
> TP-DCS: 06 (8-bit encoding) (00000110)
> TP-SCTS: Fri 20-Feb-2060 10:08:12 GMT-01:00
>
> User Data Length: 53 (35) octets
> User Data (pdu) : F20160108133348001601081
> =================================================
>
> 34923  2010-06-02 16:35:51,652 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: IN-DTLS: MI:1 REF:0 MAX:0 SEQ:0
> 34923  2010-06-02 16:35:51,652 [main] DEBUG org.smslib.helper.Logger
> - GTW: modem.ttyS0: CheckMpMsgList(): MAINLIST: 0
>
>
> ===============================================================================
> << InboundBinaryMessage >>
>
> -------------------------------------------------------------------------------
>  Gateway Id: modem.ttyS0
>  Encoding: 8-bit
>  Date: Fri Feb 20 12:08:12 CET 2060
>  Dispatched via SMSC: null
>  Binary: F20160108133348001601081
>  Originator: null
>  Memory Index: 1
>  Multi-part Memory Index:
>  Memory Location: SR
>  Source / Destination Ports: -1 / -1
>
> ===============================================================================
>
> --
> 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]<smslib%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/smslib?hl=en.
>
>

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