[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] atgen.c to parse SMS-SUBMIT PDUs
From: |
Clemens Fruhwirth |
Subject: |
[PATCH] atgen.c to parse SMS-SUBMIT PDUs |
Date: |
Mon, 02 Jul 2007 23:33:18 +0200 |
User-agent: |
Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.7 Emacs/23.0.0 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Here is a patch that allows atgen.c/ReplyGetSMS to parse SMS-SUBMIT
PDUs and correctly parse most first octet bit fields, that were not
parsed at all/or wrongly by the old code.
Also rewrite the function to use a sliding pointer over the parsed
input. I dislike [tmp + offset] idiom.
This is useful if you want to read sms from your outbox.
--
Fruhwirth Clemens - http://clemens.endorphin.org
atgen.patch
Description: Binary data
- [PATCH] atgen.c to parse SMS-SUBMIT PDUs,
Clemens Fruhwirth <=