>There's something wrong in AT2 code :(
>I haven't yet checked the code, but changing config file to AT solved my
>problem.
>
>I'm receiving sms through M20 and AT2 and receive and send through EMI
>(emi2).
>
>EVERYTHING is working correctly but AT2 thread is eating 99% of my cpu.
>(even
>receiving sms's with no delay whatsovever)
>
>
>(99% of my cpu to bearerbox? no way. It's already reserved to dnetc
>:))))))))


The AT2 code doesnt ever sleep currently. At idle times it is stuck 
in a loop waiting for charaxcters to arrive. The read might return 
with 0 chars. I guess we could change that somehow and tell the 
operating system to return only if characters are available to be 
read  or when the sender wants to send something.

I have it running together with 8 EMI connections on a Linux box and 
I dont see high CPU loads due to the AT 2driver.

I might look into this when I'm back from vacation. Andrea also 
pointed out a problem with the Wavecoms and there's still a bug while 
sending lots of sms.
-- 

Andreas Fink
Fink-Consulting

------------------------------------------------------------------
Tel: +41-61-6932730 Fax: +41-61-6932729  Mobile: +41-79-2457333
Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland
E-Mail:  [EMAIL PROTECTED]  Homepage: http://www.finkconsulting.com
------------------------------------------------------------------
Something urgent? Try http://www.smsrelay.com/  Nickname afink

Reply via email to