Add this:

<myGatewayObject>.getATHandler().setStorageLocations("SM");

before starting the Service. Check if this works any better.

On Mar 4, 3:11 pm, eliza <[email protected]> wrote:
> I'm still can not display debug mode using slf4j, so I replaced all
> slf4j with log4j as suggested from other poster, so here the log
>
> Web Site:http://smslib.org
> 0      2010-03-04 20:19:54,671 [main] INFO  org.smslib.helper.Logger
> - Version: 3.4.1
> 0      2010-03-04 20:19:54,671 [main] INFO  org.smslib.helper.Logger
> - JRE Version: 1.6.0_17
> 0      2010-03-04 20:19:54,671 [main] INFO  org.smslib.helper.Logger
> - JRE Impl Version: 14.3-b01
> 0      2010-03-04 20:19:54,671 [main] INFO  org.smslib.helper.Logger
> - O/S: Windows XP / x86 / 5.1
> 47     2010-03-04 20:19:54,718 [Thread-1] INFO
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: Starting gateway,
> using Generic AT Handler.
> 47     2010-03-04 20:19:54,718 [Thread-1] INFO
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: Opening: COM29 @9600
> 94     2010-03-04 20:19:54,765 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: ModemReader thread
> started.
> 94     2010-03-04 20:19:54,765 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: AsyncNotifier thread
> started.
> 94     2010-03-04 20:19:54,765 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: AsyncMessageProcessor
> thread started.
> 94     2010-03-04 20:19:54,765 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: clearBuffer() called.
> 1094   2010-03-04 20:19:55,765 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: SEND :(27)
> 1297   2010-03-04 20:19:55,968 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: SEND :+++
> 1500   2010-03-04 20:19:56,171 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: SEND :ATZ
> 1688   2010-03-04 20:19:56,359 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: clearBuffer() called.
> 2688   2010-03-04 20:19:57,359 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: SEND :ATZ(cr)
> 2891   2010-03-04 20:19:57,562 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: SEND :ATE0(cr)
> 3094   2010-03-04 20:19:57,765 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: clearBuffer() called.
> 4094   2010-03-04 20:19:58,765 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: SEND :AT+CPIN?(cr)
> 4172   2010-03-04 20:19:58,843 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: BUFFER: +CPIN: READY
>
> 4172   2010-03-04 20:19:58,843 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: RECV :+CPIN:
> READY(cr)
> 4172   2010-03-04 20:19:58,843 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: SEND :ATE0(cr)
> 4375   2010-03-04 20:19:59,046 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: clearBuffer() called.
> 5375   2010-03-04 20:20:00,046 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: SEND :AT+CLIP=1(cr)
> 5375   2010-03-04 20:20:00,046 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: BUFFER: OK
>
> 5375   2010-03-04 20:20:00,046 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: RECV :OK(cr)
> 5375   2010-03-04 20:20:00,046 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: SEND :AT+COPS=0(cr)
> 5422   2010-03-04 20:20:00,093 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: BUFFER: OK
>
> 5438   2010-03-04 20:20:00,109 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: RECV :OK(cr)
> 5438   2010-03-04 20:20:00,109 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: SEND :ATE0(cr)
> 5625   2010-03-04 20:20:00,296 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: clearBuffer() called.
> 6625   2010-03-04 20:20:01,296 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: SEND :AT+CREG?(cr)
> 6641   2010-03-04 20:20:01,312 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: BUFFER: +CREG: 0,1
> OK
>
> 6641   2010-03-04 20:20:01,312 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: RECV :+CREG:
> 0,1(cr)OK(cr)
> 6641   2010-03-04 20:20:01,312 [Thread-1] INFO
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: GSM: Registered to
> home network.
> 6641   2010-03-04 20:20:01,312 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: SEND :AT+CMEE=1(cr)
> 6641   2010-03-04 20:20:01,312 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: BUFFER: OK
>
> 6641   2010-03-04 20:20:01,312 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: RECV :OK(cr)
> 6641   2010-03-04 20:20:01,312 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: SEND :AT+CPMS?(cr)
> 6657   2010-03-04 20:20:01,328 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: BUFFER: +CPMS: "ME",
> 0,255,"ME",0,255,"ME",0,255
> OK
>
> 6657   2010-03-04 20:20:01,328 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: RECV :+CPMS: "ME",
> 0,255,"ME",0,255,"ME",0,255(cr)OK(cr)
> 6657   2010-03-04 20:20:01,328 [Thread-1] INFO
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: MEM: Storage
> Locations Found: ME
> 6657   2010-03-04 20:20:01,328 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: SEND :AT+CNMI=?(cr)
> 6657   2010-03-04 20:20:01,328 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: BUFFER: +CNMI:
> (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)
> OK
>
> 6672   2010-03-04 20:20:01,343 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: RECV :+CNMI: (0,1,2),
> (0,1,2,3),(0,2),(0,1,2),(0,1)(cr)OK(cr)
> 6672   2010-03-04 20:20:01,343 [Thread-1] DEBUG
> org.smslib.helper.Logger  - CNMI: Found best match: 2
> 6672   2010-03-04 20:20:01,343 [Thread-1] DEBUG
> org.smslib.helper.Logger  - CNMI: Found best match: 1
> 6672   2010-03-04 20:20:01,343 [Thread-1] DEBUG
> org.smslib.helper.Logger  - CNMI: Found best match: 0
> 6672   2010-03-04 20:20:01,343 [Thread-1] DEBUG
> org.smslib.helper.Logger  - CNMI: Found best match: 2
> 6672   2010-03-04 20:20:01,343 [Thread-1] DEBUG
> org.smslib.helper.Logger  - CNMI: Found best match: 0
> 6672   2010-03-04 20:20:01,343 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: SEND :AT
> +CNMI=2,1,0,2,0(cr)
> 6672   2010-03-04 20:20:01,343 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: BUFFER: OK
>
> 6672   2010-03-04 20:20:01,343 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: RECV :OK(cr)
> 6672   2010-03-04 20:20:01,343 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: SEND :AT+CMGF=0(cr)
> 6672   2010-03-04 20:20:01,343 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: BUFFER: OK
>
> 6672   2010-03-04 20:20:01,343 [Thread-1] DEBUG
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: RECV :OK(cr)>>> Gateway 
> Status change for BandLuxe.com29, OLD: STOPPED -> NEW: STARTING
> >>> Gateway Status change for BandLuxe.com29, OLD: STARTING -> NEW: STARTED
>
> 6688   2010-03-04 20:20:01,359 [Thread-1] INFO
> org.smslib.helper.Logger  - GTW: BandLuxe.com29: Gateway started.
>
> Modem Information:
> 7047   2010-03-04 20:20:01,718 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: SEND :AT+CGMI(cr)
> 7047   2010-03-04 20:20:01,718 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: BUFFER: QUALCOMM INCORPORATED
> OK
>
> 7047   2010-03-04 20:20:01,718 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: RECV :QUALCOMM INCORPORATED(cr)OK(cr)
>   Manufacturer: QUALCOMM INCORPORATED
> 7047   2010-03-04 20:20:01,718 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: SEND :AT+CGMM(cr)
> 7047   2010-03-04 20:20:01,718 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: BUFFER: C-170
> OK
>
> 7047   2010-03-04 20:20:01,718 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: RECV :C-170(cr)OK(cr)
>   Model: C-170
> 7063   2010-03-04 20:20:01,734 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: SEND :AT+CGSN(cr)
> 7063   2010-03-04 20:20:01,734 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: BUFFER: 358093020345404
> OK
>
> 7063   2010-03-04 20:20:01,734 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: RECV :358093020345404(cr)OK(cr)
>   Serial No: 358093020345404
>   SIM IMSI: ** MASKED **
> 7063   2010-03-04 20:20:01,734 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: SEND :AT+CSQ(cr)
> 7063   2010-03-04 20:20:01,734 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: BUFFER: +CSQ: 11,99
> OK
>
> 7063   2010-03-04 20:20:01,734 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: RECV :+CSQ: 11,99(cr)OK(cr)
>   Signal Level: 35%
> 7063   2010-03-04 20:20:01,734 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: SEND :AT+CBC(cr)
> 7079   2010-03-04 20:20:01,750 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: BUFFER: +CBC: 0,46
> OK
>
> 7079   2010-03-04 20:20:01,750 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: RECV :+CBC: 0,46(cr)OK(cr)
>   Battery Level: 46%
>
> 7079   2010-03-04 20:20:01,750 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: SEND :AT+CPMS="ME"(cr)
> 7094   2010-03-04 20:20:01,765 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: BUFFER: +CPMS: 0,255,0,255,0,255
> OK
>
> 7094   2010-03-04 20:20:01,765 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: RECV :+CPMS: 0,255,0,255,0,255(cr)OK(cr)
> 7094   2010-03-04 20:20:01,765 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: SEND :AT+CMGL=4(cr)
> 7094   2010-03-04 20:20:01,765 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: BUFFER: OK
>
> 7094   2010-03-04 20:20:01,765 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: RECV :OK(cr)
> 7110   2010-03-04 20:20:01,781 [main] DEBUG org.smslib.helper.Logger
> - GTW: BandLuxe.com29: CheckMpMsgList(): MAINLIST: 0
> msgList.size()=0
> Now Sleeping - Hit <enter> to stop service.
> 11688  2010-03-04 20:20:06,359 [pool-1-thread-3] DEBUG
> org.smslib.helper.Logger  - Running task: QueueManager
> [BandLuxe.com29]
> 15032  2010-03-04 20:20:09,703 [pool-1-thread-3] DEBUG
> org.smslib.helper.Logger  - Running task: WatchDog
> 16688  2010-03-04 20:20:11,359 [pool-1-thread-4] DEBUG
> org.smslib.helper.Logger  - Running task: QueueManager
> [BandLuxe.com29]
> 21688 ...
>
> read more »

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