Huawei E176 - not online

2010-07-18 Thread Florian Steinel
Hi, I can't get my Huawei E176 USB Stick into the online state. Maybe commit cc6a43c477c1310643279139ba6808799a8c637e removed to much code? (rssi_notify) OFONO_AT_DEBUG=1 ofonod -n -d '*' 2atlog ./enable_modem ./list-modem output: [ /huawei0 ] Features = sim Powered = 1 Interfaces

Re: Huawei E176 - not online

2010-07-18 Thread Florian Steinel
Hi Denis, I can't get my Huawei E176 USB Stick into the online state. You won't be able to get into Online state unless your SIM is present. snip atlog output: oFono huawei driver determines sim presense in two ways: ^SIMST:1 unsolicited notification, and by querying the ^SYSINFO.

[PATCH 1/1] (RFC) Huawei: Modify ^SYSINFO logic

2010-07-18 Thread Florian Steinel
--- plugins/huawei.c | 114 + 1 files changed, 105 insertions(+), 9 deletions(-) diff --git a/plugins/huawei.c b/plugins/huawei.c index cfc693d..c14b076 100644 --- a/plugins/huawei.c +++ b/plugins/huawei.c @@ -57,12 +57,22 @@ static const

[PATCH 2/4] bluetooth: move uuid to struct bluetooth_profile

2010-07-18 Thread Gustavo F. Padovan
--- plugins/bluetooth.c |4 ++-- plugins/bluetooth.h |4 ++-- plugins/hfp.c |3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index 1079838..f74c9c5 100644 --- a/plugins/bluetooth.c +++ b/plugins/bluetooth.c @@

[PATCH 3/4] bluetooth: do not use ofono_dbus_get_connection

2010-07-18 Thread Gustavo F. Padovan
We can't rely on that function anymore, since bluetooth.c will be used outside of ofonod now. --- plugins/bluetooth.c |5 +++-- plugins/bluetooth.h |3 ++- plugins/hfp.c |2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/plugins/bluetooth.c

[PATCH 4/4] make bluetooth.{c,h} a static library

2010-07-18 Thread Gustavo F. Padovan
--- Makefile.am |7 +++ plugins/bluetooth.c |3 --- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Makefile.am b/Makefile.am index e256841..3c69b4e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -71,6 +71,8 @@ gatchat_sources = gatchat/gatchat.h

Re: [PATCH 4/4] make bluetooth.{c,h} a static library

2010-07-18 Thread Marcel Holtmann
Hi Gustavo, Makefile.am |7 +++ plugins/bluetooth.c |3 --- 2 files changed, 3 insertions(+), 7 deletions(-) why are we doing this exactly? If I missed it, please explain it again since I am not sure that I agree. Regards Marcel

Re: [PATCH 4/4] make bluetooth.{c,h} a static library

2010-07-18 Thread Gustavo F. Padovan
Hi Marcel, * Marcel Holtmann mar...@holtmann.org [2010-07-18 16:01:12 -0700]: Hi Gustavo, Makefile.am |7 +++ plugins/bluetooth.c |3 --- 2 files changed, 3 insertions(+), 7 deletions(-) why are we doing this exactly? If I missed it, please explain it again

Re: [PATCH 4/4] make bluetooth.{c,h} a static library

2010-07-18 Thread Marcel Holtmann
Hi Gustavo, Makefile.am |7 +++ plugins/bluetooth.c |3 --- 2 files changed, 3 insertions(+), 7 deletions(-) why are we doing this exactly? If I missed it, please explain it again since I am not sure that I agree. We are doing this for the DUN daemon. As

Re: [PATCH 4/4] make bluetooth.{c,h} a static library

2010-07-18 Thread Gustavo F. Padovan
Hi Marcel, * Marcel Holtmann mar...@holtmann.org [2010-07-18 16:10:21 -0700]: Hi Gustavo, Makefile.am |7 +++ plugins/bluetooth.c |3 --- 2 files changed, 3 insertions(+), 7 deletions(-) why are we doing this exactly? If I missed it, please explain it

Re: [PATCH 4/4] make bluetooth.{c,h} a static library

2010-07-18 Thread Marcel Holtmann
Hi Gustavo, Makefile.am |7 +++ plugins/bluetooth.c |3 --- 2 files changed, 3 insertions(+), 7 deletions(-) why are we doing this exactly? If I missed it, please explain it again since I am not sure that I agree. We are doing this for the

Re: Huawei E176 - not online

2010-07-18 Thread Denis Kenzior
Hi Florian, snip The SIM is present, but still PIN code blocked. The notify_sim_state function needs be changed. pseudo code: If sim_state == 0 then if 'AT+CPIN?' returns 'CPIN: SIM PIN' then sim_state = 'present but sim locked' else sim_state = 'invalid SIM'