Re: [PATCH] [MM 0.7] Derive PDP type from the ip-type bearer property

2012-04-13 Thread Aleksander Morgado
Hi Tore, This patch makes it possible to use MM to set up PDP contexts with PDP types other than 'IP', which is particularly useful when trying to use the 'IPV6' or 'IPV4V6' PDP types defined in recent 3GPP specs. If ip-type isn't specified, 'IP' will be used by default, due to the fact that

[MM] [PATCH] Adjust parsing of +CNUM response to permit spaces in the alphanumeric descriptor.

2012-04-13 Thread Nathan Williams
As described. This replaces a regexp of ?\S*? , which doesn't match the string Line 1 because of the embedded whitespace, with a somewhat more elaborate regular expression that does. It also accommodates escaped quotes inside the quoted string. (A more general tokenize v.250 comma-separated

[MM] [PATCH] mm_modem_{get,dup}_own_numbers(): Fix inverted logic.

2012-04-13 Thread Nathan Williams
Pretty much what it says. With this and the prior patch mmcli -m 0 now shows me the modem's number. - Nathan 0001-mm_modem_-get-dup-_own_numbers-Fix-inverted-logic.patch Description: Binary data ___ networkmanager-list mailing list

Re: [PATCH] [MM 0.7] Derive PDP type from the ip-type bearer property

2012-04-13 Thread Tore Anderson
Hi, * Aleksander Morgado I'm guessing that you removed the g_free() before because it was crashing afterwards when you tried to g_free() this IP string that you're setting here. In order to avoid that, g_free() should receive always a string allocated in heap: self-priv-ip_type = g_strdup

[PATCH v2] [MM 0.7] Derive PDP type from the ip-type bearer property

2012-04-13 Thread Tore Anderson
This patch makes it possible to use MM to set up PDP contexts with PDP types other than 'IP', which is particularly useful when trying to use the 'IPV6' or 'IPV4V6' PDP types defined in recent 3GPP specs. If ip-type isn't specified, 'IP' will be used by default, due to the fact that modem

Re: [MM] [PATCH] Adjust parsing of +CNUM response to permit spaces in the alphanumeric descriptor.

2012-04-13 Thread Aleksander Morgado
On 04/13/2012 04:57 PM, Nathan Williams wrote: As described. This replaces a regexp of ?\S*? , which doesn't match the string Line 1 because of the embedded whitespace, with a somewhat more elaborate regular expression that does. It also accommodates escaped quotes inside the quoted string.

Re: [MM] [PATCH] mm_modem_{get, dup}_own_numbers(): Fix inverted logic.

2012-04-13 Thread Aleksander Morgado
On 04/13/2012 05:22 PM, Nathan Williams wrote: Pretty much what it says. With this and the prior patch mmcli -m 0 now shows me the modem's number. - Nathan Pushed, thanks. -- Aleksander ___ networkmanager-list mailing list

Re: [PATCH v2] [MM 0.7] Derive PDP type from the ip-type bearer property

2012-04-13 Thread Aleksander Morgado
On 04/13/2012 07:58 PM, Tore Anderson wrote: This patch makes it possible to use MM to set up PDP contexts with PDP types other than 'IP', which is particularly useful when trying to use the 'IPV6' or 'IPV4V6' PDP types defined in recent 3GPP specs. If ip-type isn't specified, 'IP' will be