The fundamental problem with the AT code is there is no queuing system
implemented either to process messages taken off of the SIM or to send
messages out through the SIM, and the current 'try for a while then die'
mechanism is far from perfect.
We (Skywire) will be rewriting the AT module next week to a. adhere to the
new smscconn.c format (rather than the existing smsc.c format) and to b.
implement a stack mechanism for sending and recieving messages, so even in
the case of catastrophic hardware failure, the messages will be queued up
rather than just lost into the vapour.
This work is part of a project for www.unwire.dk so they get fixed code for
Kannel and we all get an improved module if all goes well. Suggestions for
other changes to add at the same time are more than welcome.
Alex
|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Stipe Tolj
|Sent: Thursday, July 19, 2001 8:00 AM
|Cc: [EMAIL PROTECTED]
|Subject: Re: At problem
|
|
|> As you can see, the first sms was ok, after the second there was a
|> connection closed.
|> So when a third one arrived, 2 threads terminated. Only the
|first one called
|> the url.
|> Any ideas?
|
|We made similiar detections on the smsc_at module for the Siemens M20.
|
|If you send messages to the GSM device from two handsets (more or less)
|simultaniously, only one (obviosly the first one that arrives)
|gets processed
|and the other is somehow discarded.
|
|I suppose it is due to the fact that Kannels bearerbox seems not
|to queue up the
|second message until the first one hasn't been handled, or at
|least while the
|reply for the first one is transmitted via AT command?!?!
|
|Stipe
|
|[EMAIL PROTECTED]
|-------------------------------------------------------------------
|Wapme Systems AG
|
|M�nsterstr. 248
|40470 D�sseldorf
|
|Tel: +49-211-74845-0
|Fax: +49-211-74845-299
|
|E-Mail: [EMAIL PROTECTED]
|Internet: http://www.wapme-systems.de
|-------------------------------------------------------------------
|wapme.net - wherever you are
|
|
|
|