Re: ModemManager: [PATCH] Huawei PDU encoded commands not padded
- From: Dan Williams <dcbw redhat com>
- To: Graham Inggs <graham inggs uct ac za>
- Cc: networkmanager-list gnome org
- Subject: Re: ModemManager: [PATCH] Huawei PDU encoded commands not padded
- Date: Mon, 14 Nov 2011 17:38:36 -0600
On Thu, 2011-11-10 at 00:43 +0200, Graham Inggs wrote:
> ModemManager currently encodes the USSD command *141*0# (for MTN South
> Africa) as "AA182DA6828D00".
> While this works on some modems, for example the E1820, other modems,
> for example the E160, require USSD commands that are a multiple of 7
> characters long to be padded with 0x0d.
> Huawei Mobile Partner dashboard software for Windows encodes *141*0#
> as "AA182DA6828D1A" which works on both the E1820 and the E160.
>
> The attached patch pads the USSD command with 0x0d before encoding if
> it is a multiple of 7 characters long.
Thanks, applied to master and 0.5.
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]