Re: [PATCH 3/7] time: Add Modem.Time introspection XML

2012-01-21 Thread Aleksander Morgado
+ +property name=NetworkTimezone type=a{sv} access=read + tp:docstring +The timezone data provided by the network. It may include one of more +of the following fields: + +'offset': offset of the timezone from UTC, in minutes (including DST, +

Re: [PATCH 5/7] time: implement ModemTime in ModemBase

2012-01-21 Thread Aleksander Morgado
+static GValue * +int_to_gvalue (gint i) +{ +GValue *v = g_slice_new0 (GValue); +g_value_init (v, G_TYPE_INT); +g_value_set_int (v, i); +return v; +} + +static void +value_destroy (gpointer data) +{ +GValue *v = (GValue *) data; +g_value_unset (v); +

Dummy Q: How's the NetworkManager knows link is down ?

2012-01-21 Thread ning ji
Say i unplug the ethernet cable,ifconfig eth0 still says up without NetworkManager. But with NetworkManager, it can show you the link is disconnected. How does it detect the link lost ? Thanks ! ___

Re: [PATCH] ModemManager: Add GetMsIsdn method to return the phone number

2012-01-21 Thread Aleksander Morgado
On 07/31/2011 12:52 AM, Dan Williams wrote: On Thu, 2011-06-30 at 18:18 -0400, Eric Shienbrood wrote: I can look at doing that. What should we call it? I think MSISDN is a GSM term. How does GetPhoneNumber() sound? Hm, old message. Yes, that method sounds fine. Where did this end up?

Re: [PATCH] ModemManager: Add GetMsIsdn method to return the phone number

2012-01-21 Thread Andrew Bird (Sphere Systems)
On Saturday 21 January 2012, Aleksander Morgado wrote: On 07/31/2011 12:52 AM, Dan Williams wrote: On Thu, 2011-06-30 at 18:18 -0400, Eric Shienbrood wrote: I can look at doing that. What should we call it? I think MSISDN is a GSM term. How does GetPhoneNumber() sound? Hm, old message.

Re: [PATCH] ModemManager: Add GetMsIsdn method to return the phone number

2012-01-21 Thread Aleksander Morgado
On Thu, 2011-06-30 at 18:18 -0400, Eric Shienbrood wrote: I can look at doing that. What should we call it? I think MSISDN is a GSM term. How does GetPhoneNumber() sound? Hm, old message. Yes, that method sounds fine. Where did this end up? Also, AT+CNUM may report a list of numbers,