Re: Modem emulator and DUN server side for oFono and BlueZ

2010-04-30 Thread Gustavo F. Padovan
Hi Zhenhua, * Zhang, Zhenhua zhenhua.zh...@intel.com [2010-04-27 15:53:54 +0800]: Hi, I am now working on modem emulator and one usage is for DUN server role. Since Padovan is working on client role, it's good to share my rough thinking for server side implementation. Here are the simple

[PATCH v2 0/6] Huawei GPRS support

2010-04-30 Thread Kalle Valo
Hello all, here's my current patch set of adding Huawei GPRS support to ofono. I have tested it with Huawei E1552 USB dongle and finnish Saunalahti prepaid sim. Because I had to somehow provide the second GAtChat to atmodem's gprs and netreg modules, I decided to add two new structs. There's

[PATCH v2 4/6] atmodem: follow separate event chat with huawei

2010-04-30 Thread Kalle Valo
CGREG notifications are received in this channel. --- drivers/atmodem/gprs.c | 16 +--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/drivers/atmodem/gprs.c b/drivers/atmodem/gprs.c index d12d9eb..36f5ce3 100644 --- a/drivers/atmodem/gprs.c +++

[PATCH v2 3/6] huawei: detect SecondaryDevice which is used for events

2010-04-30 Thread Kalle Valo
--- plugins/huawei.c | 39 ++- plugins/udev.c | 61 +++--- 2 files changed, 91 insertions(+), 9 deletions(-) diff --git a/plugins/huawei.c b/plugins/huawei.c index 94cbb68..e895d16 100644 ---

[PATCH v2 6/6] huawei: add gprs context

2010-04-30 Thread Kalle Valo
Tested with Huawei E1552 HSDPA USB stick using a finnish Saunalahti prepaid SIM. --- plugins/huawei.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/plugins/huawei.c b/plugins/huawei.c index 30e98f9..e188394 100644 --- a/plugins/huawei.c +++

[PATCH] add vid/pid for Dell 5541 and 5542

2010-04-30 Thread Torgny Johansson
Hi! The following patch adds two new devices in the ofono.rules file: Regards Torgny Johansson diff --git a/plugins/ofono.rules b/plugins/ofono.rules index e6da49d..0575362 100644 --- a/plugins/ofono.rules +++ b/plugins/ofono.rules @@ -42,6 +42,10 @@ ATTRS{idVendor}==413c,

Re: [PATCH 3/4] gatchat: Emit notification when command is sent to modem.

2010-04-30 Thread Denis Kenzior
Hi Marcel, Hi Denis, +/*! + * Same as g_at_chat_send but with an ability to return a notification the + * moment the command finally leaves the queue and is submitted to lower + * layer. + * + * This is useful for cases where the modem's response time needs to be + *

Re: [PATCH v2 1/6] atmodem: create struct atmodem_gprs

2010-04-30 Thread Marcel Holtmann
Hi Kalle, This is need to to provide more chat channels to atmodem gprs module. --- drivers/atmodem/gprs.c |7 --- drivers/atmodem/gprs.h | 29 + plugins/hso.c |8 +++- plugins/mbm.c |7 ++- plugins/palmpre.c |

Re: [PATCH v2 5/6] atmodem: add signal strength support for huawei

2010-04-30 Thread Marcel Holtmann
Hi Kalle, Huawei doesn't support CIND indications, instead it uses some non-standard RSSI messages: ofonod[6401]: \r\n^RSSI:23\r\n Add support for this to atmodem. please use ofono_netreg_strength_notify for this. The Huawei specific details with this stupid extra channel need to be

Re: [PATCH 3/4] gatchat: Emit notification when command is sent to modem.

2010-04-30 Thread Marcel Holtmann
Hi Denis, +/*! + * Same as g_at_chat_send but with an ability to return a notification the + * moment the command finally leaves the queue and is submitted to lower + * layer. + * + * This is useful for cases where the modem's response time needs to be + * measured,

Re: [PATCH] Add send_method_call to g_dbus

2010-04-30 Thread Gustavo F. Padovan
* Marcel Holtmann mar...@holtmann.org [2010-04-27 04:33:36 +0200]: Hi Gustavo, Puting send_method_call and send_method_call_with_reply on g_dbus will avoid some code duplication and will make things easier mainly for the Bluetooth plugins (HFP, DUN, SAP) inside oFono. ---