On Jeudi, juin 19, 2003, at 03:49 Uhr, Stipe Tolj wrote:
Bruno Rodrigues wrote:
You need to "sleep" right after sending the message for it to work.
We can have configuration code in smsccon abstraction and only that
"usleep" inside smsc_* modules.
why not having the whole throttling mechanism inside the abstracted
layer?
This would also help in AT2 module, because most GSM modems don't like
be hit by 100 msg/sec. ;)
AT2 module sleeps anyway and waits for ACK from modem before proceeding.
So adding sleeps there is not making any sense unless you wana limit it to have only 1 message every minute or such.
Andreas Fink
Global Networks Switzerland AG
------------------------------------------------------------------
Tel: +41-61-6666333 Fax: +41-61-6666334 Mobile: +41-79-2457333
Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/ [EMAIL PROTECTED]
------------------------------------------------------------------