Hi List,
This is a more detailed description of the problem we have with at2
smsc.
> I have a problem with at2 driver when receiving mobile originated
> messages. If there is lot of mobile originated messages coming in to at2
> driver, then somehow the receiving of those mobile originated SM will
> stuck the handling of SM messages. After all the at2 driver doesn't
> detect any more the new mobile originated messages (no trace at all) but
> however those will be saved into SIM memory. Outgoing SM works fine all
> the time. When I restart the bearerbox and then I send a new mobile
> originated SM to terminal, then it will get all the messages (old and
> new ones) from the SIM memory. Following is a log file, which shows what
> is happening:
> 2001-12-20 07:53:01 [5] INFO: AT2[/dev/ttyS0]: Phase 2+ is supported
> 2001-12-20 07:53:01 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=1^M
> 2001-12-20 07:53:01 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: 1,1,1
> 2001-12-20 07:53:01 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
> 2001-12-20 07:53:01 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMI=1,2,0,0,1^M
> 2001-12-20 07:53:01 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
> 2001-12-20 07:53:01 [5] INFO: AT SMSC successfully opened.
> 2001-12-20 07:53:40 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMT: ,26
> 2001-12-20 07:53:40 [5] DEBUG: AT2[/dev/ttyS0]: <--
> 0791534850020200000C9153487072665100001021816165818008D7301C7486CBE7
> 2001-12-20 07:53:40 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
> 2001-12-20 07:53:40 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
> 2001-12-20 07:53:41 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMT: ,22
> 2001-12-20 07:53:41 [5] DEBUG: AT2[/dev/ttyS0]: <--
> 0791534850020200000C9153487072665100001021817120308003CF2508
> 2001-12-20 07:53:41 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
> 2001-12-20 07:53:41 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
> 2001-12-20 07:53:42 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMT: ,20
> 2001-12-20 07:53:42 [5] DEBUG: AT2[/dev/ttyS0]: <--
> 0791534850020200000C915348707266510000102181712360800148
> 2001-12-20 07:53:42 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
> 2001-12-20 07:53:42 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
> 2001-12-20 07:53:43 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMT: ,26
> 2001-12-20 07:53:43 [5] DEBUG: AT2[/dev/ttyS0]: <--
> 0791534850020200000C9153485060466900001021810262928008D7301C7486CBE7
> 2001-12-20 07:53:43 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
> 2001-12-20 07:53:43 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
> 2001-12-20 07:53:44 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMT: ,20
> 2001-12-20 07:53:44 [5] DEBUG: AT2[/dev/ttyS0]: <--
> 0791534850020200000C915348707266510000102191512213800147
> 2001-12-20 07:53:44 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
> 2001-12-20 07:53:44 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
> 2001-12-20 07:53:45 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMT: ,21
> 2001-12-20 07:53:45 [5] DEBUG: AT2[/dev/ttyS0]: <--
> 0791534850020200000C9153487072665100001021915132728002533A
> 2001-12-20 07:53:45 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
> 2001-12-20 07:53:45 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
> 2001-12-20 07:53:46 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMT: ,23
> 2001-12-20 07:53:46 [5] DEBUG: AT2[/dev/ttyS0]: <--
> 0791534850020200000C9153487072665100001021915132758004CC77980C
> 2001-12-20 07:53:46 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
> 2001-12-20 07:53:46 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
> 2001-12-20 07:53:47 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMT: ,30
> 2001-12-20 07:53:47 [5] DEBUG: AT2[/dev/ttyS0]: <--
> 0791534850020200000C915348707266510000102191514272800CCC34483D9783D4F5F93C0D
> 2001-12-20 07:53:47 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
> 2001-12-20 07:53:47 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
> 2001-12-20 07:53:48 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMT: ,22
> 2001-12-20 07:53:48 [5] DEBUG: AT2[/dev/ttyS0]: <--
> 0791535880770101040C9153585027594200001021812123810803D7301C
> 2001-12-20 07:53:48 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
> 2001-12-20 07:53:48 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
>
> The kannel version I'm using is the three weeks old snapshot from the
> 3glab site and the driver is 'at2'. This error is also happening with
> the sourceforge version of the 'at' driver. Mobile terminal is siemens-tc35.
>
> Current config for terminal is:
> group = smsc
> smsc =at2
> modemtype = siemens-tc35
> device = /dev/ttyS0
> pin = 0000
> smsc-id=SIEMENS
--- Begin Message ---
I have a problem with at2 driver when receiving mobile originated
messages. If there is lot of mobile originated messages coming in to at2
driver, then somehow the receiving of those mobile originated SM will
stuck the handling of SM messages. After all the at2 driver doesn't
detect any more the new mobile originated messages (no trace at all) but
however those will be saved into SIM memory. Outgoing SM works fine all
the time. When I restart the bearerbox and then I send a new mobile
originated SM to terminal, then it will get all the messages (old and
new ones) from the SIM memory. Following is a log file, which shows what
is happening:
2001-12-20 07:53:01 [5] INFO: AT2[/dev/ttyS0]: Phase 2+ is supported
2001-12-20 07:53:01 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=1^M
2001-12-20 07:53:01 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: 1,1,1
2001-12-20 07:53:01 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2001-12-20 07:53:01 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMI=1,2,0,0,1^M
2001-12-20 07:53:01 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2001-12-20 07:53:01 [5] INFO: AT SMSC successfully opened.
2001-12-20 07:53:40 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMT: ,26
2001-12-20 07:53:40 [5] DEBUG: AT2[/dev/ttyS0]: <--
0791534850020200000C9153487072665100001021816165818008D7301C7486CBE7
2001-12-20 07:53:40 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
2001-12-20 07:53:40 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2001-12-20 07:53:41 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMT: ,22
2001-12-20 07:53:41 [5] DEBUG: AT2[/dev/ttyS0]: <--
0791534850020200000C9153487072665100001021817120308003CF2508
2001-12-20 07:53:41 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
2001-12-20 07:53:41 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2001-12-20 07:53:42 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMT: ,20
2001-12-20 07:53:42 [5] DEBUG: AT2[/dev/ttyS0]: <--
0791534850020200000C915348707266510000102181712360800148
2001-12-20 07:53:42 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
2001-12-20 07:53:42 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2001-12-20 07:53:43 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMT: ,26
2001-12-20 07:53:43 [5] DEBUG: AT2[/dev/ttyS0]: <--
0791534850020200000C9153485060466900001021810262928008D7301C7486CBE7
2001-12-20 07:53:43 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
2001-12-20 07:53:43 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2001-12-20 07:53:44 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMT: ,20
2001-12-20 07:53:44 [5] DEBUG: AT2[/dev/ttyS0]: <--
0791534850020200000C915348707266510000102191512213800147
2001-12-20 07:53:44 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
2001-12-20 07:53:44 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2001-12-20 07:53:45 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMT: ,21
2001-12-20 07:53:45 [5] DEBUG: AT2[/dev/ttyS0]: <--
0791534850020200000C9153487072665100001021915132728002533A
2001-12-20 07:53:45 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
2001-12-20 07:53:45 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2001-12-20 07:53:46 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMT: ,23
2001-12-20 07:53:46 [5] DEBUG: AT2[/dev/ttyS0]: <--
0791534850020200000C9153487072665100001021915132758004CC77980C
2001-12-20 07:53:46 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
2001-12-20 07:53:46 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2001-12-20 07:53:47 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMT: ,30
2001-12-20 07:53:47 [5] DEBUG: AT2[/dev/ttyS0]: <--
0791534850020200000C915348707266510000102191514272800CCC34483D9783D4F5F93C0D
2001-12-20 07:53:47 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
2001-12-20 07:53:47 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2001-12-20 07:53:48 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMT: ,22
2001-12-20 07:53:48 [5] DEBUG: AT2[/dev/ttyS0]: <--
0791535880770101040C9153585027594200001021812123810803D7301C
2001-12-20 07:53:48 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
2001-12-20 07:53:48 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
The kannel version I'm using is the three weeks old snapshot from the
3glab site and the driver is 'at2'. This error is also happening with
the sourceforge version of the 'at' driver. Mobile terminal is siemens-tc35.
Current config for terminal is:
group = smsc
smsc =at2
modemtype = siemens-tc35
device = /dev/ttyS0
pin = 0000
smsc-id=SIEMENS
--- End Message ---