RE: About AT modules and buffering through SIM memory again

"Oded Arbel" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
> -----Original Message-----
> From: Stipe Tolj [mailto:[email protected]]
> Subject: Re: About AT modules and buffering through SIM memory again
> 
> >From my side, as long as basic functionality is not harmed and
> stability is improved, please submit and we will review it.

Ok, here's the m-Wise version of Matthew Flex's SIM buffering - it's a
patch against smsc_at2.c and I tried to stay away from touching anything
not inside an #ifdef. there are a few places where I couldn't help
myself ( ;-> ), but most is pretty self explanatory, except in one case
: I had to change at2_wait_modem_command to return the number of
messages received and processed during the call, and I found no other
easy way to do it, w/o rewriting major functionality or submitting to
ugly non-procedural programming style.

Oh, also the timestamp patches are applied with a bit of a change - I
used a swap_nibbles helper function as suggested by Richard Braakman.

Cheers

Oded Arbel
m-Wise Inc.
[email protected]

--
A low level language is one whose programs require attention to the
irrelevant.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.