[PATCH 05/12] Modify ussd parser
Denis Kenzior
denkenz at gmail.com
Wed Jun 16 15:48:13 PDT 2010
Hi Yang,
> * Original code doesn't call unpack_7bit(), which seems not correct.
> * An utility function is used to handle it, which supports 8-bit
> and ucs2 besides 7-bit character.
> * Status is assigned with correct value when error occurs
Please drop this patch for now, the problem is that all AT modems do not
actually report USSD data as a PDU, instead they actually decode this into the
current character set of the modem (as set by +CSCS.) The spec really screwed
up on this one.
This is one of the weirder parts of the spec, I don't think USSDs that are not
GSM 7 bit are even possible. At least not on the AT modems I've encountered.
Feel free to investigate this further.
Regards,
-Denis
More information about the ofono
mailing list