* [PATCH 7/8] netreg: adapt CMER and CIEV for telit
@ 2012-08-13 13:23 Christopher Vogl
2012-08-13 16:25 ` Denis Kenzior
0 siblings, 1 reply; 16+ messages in thread
From: Christopher Vogl @ 2012-08-13 13:23 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 3888 bytes --]
Telit uses a 2 to enable indicator event reporting and
indicators in a +CIEV URC are identified by strings, not numbers.
---
drivers/atmodem/network-registration.c | 46 +++++++++++++++++++++++++-------
1 files changed, 36 insertions(+), 10 deletions(-)
diff --git a/drivers/atmodem/network-registration.c b/drivers/atmodem/network-registration.c
index 3d09913..7083efe 100644
--- a/drivers/atmodem/network-registration.c
+++ b/drivers/atmodem/network-registration.c
@@ -54,6 +54,7 @@ struct netreg_data {
GAtChat *chat;
char mcc[OFONO_MAX_MCC_LENGTH + 1];
char mnc[OFONO_MAX_MNC_LENGTH + 1];
+ const char *signal_identifier;
int signal_index; /* If strength is reported via CIND */
int signal_min; /* min strength reported via CIND */
int signal_max; /* max strength reported via CIND */
@@ -734,6 +735,7 @@ static void ciev_notify(GAtResult *result, gpointer user_data)
struct ofono_netreg *netreg = user_data;
struct netreg_data *nd = ofono_netreg_get_data(netreg);
int strength, ind;
+ const char *ind_str;
GAtResultIter iter;
g_at_result_iter_init(&iter, result);
@@ -741,11 +743,23 @@ static void ciev_notify(GAtResult *result, gpointer user_data)
if (!g_at_result_iter_next(&iter, "+CIEV:"))
return;
- if (!g_at_result_iter_next_number(&iter, &ind))
- return;
+ /*
+ * Telit uses strings to identify indicators.
+ */
+ if (nd->vendor == OFONO_VENDOR_TELIT) {
+ if (!g_at_result_iter_next_unquoted_string(&iter, &ind_str))
+ return;
- if (ind != nd->signal_index)
- return;
+ if (!g_str_equal(nd->signal_identifier, ind_str))
+ return;
+ }
+ else {
+ if (!g_at_result_iter_next_number(&iter, &ind))
+ return;
+
+ if (ind != nd->signal_index)
+ return;
+ }
if (!g_at_result_iter_next_number(&iter, &strength))
return;
@@ -754,6 +768,8 @@ static void ciev_notify(GAtResult *result, gpointer user_data)
strength = -1;
else
strength = (strength * 100) / (nd->signal_max - nd->signal_min);
+
+ DBG("Strength: %d", strength);
ofono_netreg_strength_notify(netreg, strength);
}
@@ -1401,12 +1417,12 @@ static void cind_support_cb(gboolean ok, GAtResult *result, gpointer user_data)
struct netreg_data *nd = ofono_netreg_get_data(netreg);
GAtResultIter iter;
const char *str;
- char *signal_identifier = "signal";
+ const char *cmd;
int index;
int min = 0;
int max = 0;
int tmp_min, tmp_max, invalid;
-
+
if (!ok)
goto error;
@@ -1422,8 +1438,10 @@ static void cind_support_cb(gboolean ok, GAtResult *result, gpointer user_data)
*/
if (nd->vendor == OFONO_VENDOR_TELIT) {
g_at_result_iter_open_list(&iter);
- signal_identifier = "rssi";
+ nd->signal_identifier = "rssi";
}
+ else
+ nd->signal_identifier = "signal";
while (g_at_result_iter_open_list(&iter)) {
/* Reset invalid default value for every token */
@@ -1449,7 +1467,7 @@ static void cind_support_cb(gboolean ok, GAtResult *result, gpointer user_data)
if (!g_at_result_iter_close_list(&iter))
goto error;
- if (g_str_equal(signal_identifier, str) == TRUE) {
+ if (g_str_equal(nd->signal_identifier, str) == TRUE) {
nd->signal_index = index;
nd->signal_min = min;
nd->signal_max = max;
@@ -1464,8 +1482,16 @@ static void cind_support_cb(gboolean ok, GAtResult *result, gpointer user_data)
if (nd->signal_index == 0)
goto error;
-
- g_at_chat_send(nd->chat, "AT+CMER=3,0,0,1", NULL,
+
+ /*
+ * Telit uses a 2 to enable indicator event reporting, 1 is undefined.
+ */
+ if (nd->vendor == OFONO_VENDOR_TELIT)
+ cmd = "AT+CMER=3,0,0,2";
+ else
+ cmd = "AT+CMER=3,0,0,1";
+
+ g_at_chat_send(nd->chat, cmd, NULL,
NULL, NULL, NULL);
g_at_chat_register(nd->chat, "+CIEV:",
ciev_notify, FALSE, netreg, NULL);
--
1.7.7.6
--
Scanned by MailScanner.
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH 7/8] netreg: adapt CMER and CIEV for telit
2012-08-13 13:23 [PATCH 7/8] netreg: adapt CMER and CIEV for telit Christopher Vogl
@ 2012-08-13 16:25 ` Denis Kenzior
2012-08-14 14:16 ` Christopher Vogl
` (3 more replies)
0 siblings, 4 replies; 16+ messages in thread
From: Denis Kenzior @ 2012-08-13 16:25 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 4778 bytes --]
Hi Christopher,
On 08/13/2012 08:23 AM, Christopher Vogl wrote:
> Telit uses a 2 to enable indicator event reporting and
> indicators in a +CIEV URC are identified by strings, not numbers.
Yikes, can you include a sample AT trace? It sounds like something is
going terribly wrong with CIEVs.
> ---
> drivers/atmodem/network-registration.c | 46 +++++++++++++++++++++++++-------
> 1 files changed, 36 insertions(+), 10 deletions(-)
>
> diff --git a/drivers/atmodem/network-registration.c b/drivers/atmodem/network-registration.c
> index 3d09913..7083efe 100644
> --- a/drivers/atmodem/network-registration.c
> +++ b/drivers/atmodem/network-registration.c
> @@ -54,6 +54,7 @@ struct netreg_data {
> GAtChat *chat;
> char mcc[OFONO_MAX_MCC_LENGTH + 1];
> char mnc[OFONO_MAX_MNC_LENGTH + 1];
> + const char *signal_identifier;
> int signal_index; /* If strength is reported via CIND */
> int signal_min; /* min strength reported via CIND */
> int signal_max; /* max strength reported via CIND */
> @@ -734,6 +735,7 @@ static void ciev_notify(GAtResult *result, gpointer user_data)
> struct ofono_netreg *netreg = user_data;
> struct netreg_data *nd = ofono_netreg_get_data(netreg);
> int strength, ind;
> + const char *ind_str;
> GAtResultIter iter;
>
> g_at_result_iter_init(&iter, result);
> @@ -741,11 +743,23 @@ static void ciev_notify(GAtResult *result, gpointer user_data)
> if (!g_at_result_iter_next(&iter, "+CIEV:"))
> return;
>
> - if (!g_at_result_iter_next_number(&iter,&ind))
> - return;
> + /*
> + * Telit uses strings to identify indicators.
> + */
> + if (nd->vendor == OFONO_VENDOR_TELIT) {
> + if (!g_at_result_iter_next_unquoted_string(&iter,&ind_str))
> + return;
>
> - if (ind != nd->signal_index)
> - return;
> + if (!g_str_equal(nd->signal_identifier, ind_str))
> + return;
> + }
> + else {
> + if (!g_at_result_iter_next_number(&iter,&ind))
> + return;
> +
> + if (ind != nd->signal_index)
> + return;
> + }
If Telit is indeed this broken, then likely you can simply create a
telit version of this function. Then you can skip storing
nd->signal_identifier and the like. It would also make things much more
readable.
>
> if (!g_at_result_iter_next_number(&iter,&strength))
> return;
> @@ -754,6 +768,8 @@ static void ciev_notify(GAtResult *result, gpointer user_data)
> strength = -1;
> else
> strength = (strength * 100) / (nd->signal_max - nd->signal_min);
> +
> + DBG("Strength: %d", strength);
This might belong in a separate patch.
>
> ofono_netreg_strength_notify(netreg, strength);
> }
> @@ -1401,12 +1417,12 @@ static void cind_support_cb(gboolean ok, GAtResult *result, gpointer user_data)
> struct netreg_data *nd = ofono_netreg_get_data(netreg);
> GAtResultIter iter;
> const char *str;
> - char *signal_identifier = "signal";
> + const char *cmd;
> int index;
> int min = 0;
> int max = 0;
> int tmp_min, tmp_max, invalid;
> -
> +
> if (!ok)
> goto error;
>
> @@ -1422,8 +1438,10 @@ static void cind_support_cb(gboolean ok, GAtResult *result, gpointer user_data)
> */
> if (nd->vendor == OFONO_VENDOR_TELIT) {
> g_at_result_iter_open_list(&iter);
> - signal_identifier = "rssi";
> + nd->signal_identifier = "rssi";
> }
> + else
> + nd->signal_identifier = "signal";
>
> while (g_at_result_iter_open_list(&iter)) {
> /* Reset invalid default value for every token */
> @@ -1449,7 +1467,7 @@ static void cind_support_cb(gboolean ok, GAtResult *result, gpointer user_data)
> if (!g_at_result_iter_close_list(&iter))
> goto error;
>
> - if (g_str_equal(signal_identifier, str) == TRUE) {
> + if (g_str_equal(nd->signal_identifier, str) == TRUE) {
> nd->signal_index = index;
> nd->signal_min = min;
> nd->signal_max = max;
> @@ -1464,8 +1482,16 @@ static void cind_support_cb(gboolean ok, GAtResult *result, gpointer user_data)
>
> if (nd->signal_index == 0)
> goto error;
> -
> - g_at_chat_send(nd->chat, "AT+CMER=3,0,0,1", NULL,
> +
> + /*
> + * Telit uses a 2 to enable indicator event reporting, 1 is undefined.
> + */
> + if (nd->vendor == OFONO_VENDOR_TELIT)
> + cmd = "AT+CMER=3,0,0,2";
> + else
> + cmd = "AT+CMER=3,0,0,1";
> +
> + g_at_chat_send(nd->chat, cmd, NULL,
This looks fine, but we might be better off with something similar to
how the CNMI string is being built in drivers/atmodem/sms.c. E.g. query
which CMER modes are supported and select these intelligently.
> NULL, NULL, NULL);
> g_at_chat_register(nd->chat, "+CIEV:",
> ciev_notify, FALSE, netreg, NULL);
Regards,
-Denis
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 7/8] netreg: adapt CMER and CIEV for telit
2012-08-14 14:16 ` Christopher Vogl
@ 2012-08-14 6:46 ` Denis Kenzior
2012-08-16 6:57 ` Christopher Vogl
0 siblings, 1 reply; 16+ messages in thread
From: Denis Kenzior @ 2012-08-14 6:46 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1114 bytes --]
Hi Christopher,
On 08/14/2012 09:16 AM, Christopher Vogl wrote:
> Hi Denis,
>
> On 13/08/12 18:25, Denis Kenzior wrote:
>> Hi Christopher,
>>
>> On 08/13/2012 08:23 AM, Christopher Vogl wrote:
>>> Telit uses a 2 to enable indicator event reporting and
>>> indicators in a +CIEV URC are identified by strings, not numbers.
>>
>> Yikes, can you include a sample AT trace? It sounds like something is
>> going terribly wrong with CIEVs.
> I included a debug output from the start of ofono until a valid ppp
> connection.
> I attached it at the end as it is quite long and would make this
> unreadable.
>
Okay, it looks like the Telit firmware does indeed get this wrong. So
feel free to add a Telit specific CIEV parser.
Also, I'm seeing:
Aug 8 11:36:04 mx31tt01 daemon.debug ofonod[496]:
src/simfs.c:sim_fs_op_read_block() bufoff: 0, seekoff: 39, toread: 17
Aug 8 11:36:04 mx31tt01 daemon.err ofonod[496]: EFspn read
successfully, but couldn't parse
That looks a bit strange. Can you rm -rf /var/lib/ofono, rerun oFono
and see if that message persists?
Regards,
-Denis
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 7/8] netreg: adapt CMER and CIEV for telit
2012-08-13 16:25 ` Denis Kenzior
@ 2012-08-14 14:16 ` Christopher Vogl
2012-08-14 6:46 ` Denis Kenzior
2012-09-06 9:25 ` [PATCH 2/2] netreg: Add telit version for ciev notification christopher.vogl
` (2 subsequent siblings)
3 siblings, 1 reply; 16+ messages in thread
From: Christopher Vogl @ 2012-08-14 14:16 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 75644 bytes --]
Hi Denis,
On 13/08/12 18:25, Denis Kenzior wrote:
> Hi Christopher,
>
> On 08/13/2012 08:23 AM, Christopher Vogl wrote:
>> Telit uses a 2 to enable indicator event reporting and
>> indicators in a +CIEV URC are identified by strings, not numbers.
>
> Yikes, can you include a sample AT trace? It sounds like something is
> going terribly wrong with CIEVs.
I included a debug output from the start of ofono until a valid ppp
connection.
I attached it at the end as it is quite long and would make this unreadable.
>
>> ---
>> drivers/atmodem/network-registration.c | 46
>> +++++++++++++++++++++++++-------
>> 1 files changed, 36 insertions(+), 10 deletions(-)
>>
>> diff --git a/drivers/atmodem/network-registration.c
>> b/drivers/atmodem/network-registration.c
>> index 3d09913..7083efe 100644
>> --- a/drivers/atmodem/network-registration.c
>> +++ b/drivers/atmodem/network-registration.c
>> @@ -54,6 +54,7 @@ struct netreg_data {
>> GAtChat *chat;
>> char mcc[OFONO_MAX_MCC_LENGTH + 1];
>> char mnc[OFONO_MAX_MNC_LENGTH + 1];
>> + const char *signal_identifier;
>> int signal_index; /* If strength is reported via CIND */
>> int signal_min; /* min strength reported via CIND */
>> int signal_max; /* max strength reported via CIND */
>> @@ -734,6 +735,7 @@ static void ciev_notify(GAtResult *result,
>> gpointer user_data)
>> struct ofono_netreg *netreg = user_data;
>> struct netreg_data *nd = ofono_netreg_get_data(netreg);
>> int strength, ind;
>> + const char *ind_str;
>> GAtResultIter iter;
>>
>> g_at_result_iter_init(&iter, result);
>> @@ -741,11 +743,23 @@ static void ciev_notify(GAtResult *result,
>> gpointer user_data)
>> if (!g_at_result_iter_next(&iter, "+CIEV:"))
>> return;
>>
>> - if (!g_at_result_iter_next_number(&iter,&ind))
>> - return;
>> + /*
>> + * Telit uses strings to identify indicators.
>> + */
>> + if (nd->vendor == OFONO_VENDOR_TELIT) {
>> + if (!g_at_result_iter_next_unquoted_string(&iter,&ind_str))
>> + return;
>>
>> - if (ind != nd->signal_index)
>> - return;
>> + if (!g_str_equal(nd->signal_identifier, ind_str))
>> + return;
>> + }
>> + else {
>> + if (!g_at_result_iter_next_number(&iter,&ind))
>> + return;
>> +
>> + if (ind != nd->signal_index)
>> + return;
>> + }
>
> If Telit is indeed this broken, then likely you can simply create a
> telit version of this function. Then you can skip storing
> nd->signal_identifier and the like. It would also make things much
> more readable.
This sounds reasonable - there are too many OFONO_TELIT_VENDORs now anyway.
>
>>
>> if (!g_at_result_iter_next_number(&iter,&strength))
>> return;
>> @@ -754,6 +768,8 @@ static void ciev_notify(GAtResult *result,
>> gpointer user_data)
>> strength = -1;
>> else
>> strength = (strength * 100) / (nd->signal_max -
>> nd->signal_min);
>> +
>> + DBG("Strength: %d", strength);
>
> This might belong in a separate patch.
That was just a debug output that I forgot to remove again.
>
>>
>> ofono_netreg_strength_notify(netreg, strength);
>> }
>> @@ -1401,12 +1417,12 @@ static void cind_support_cb(gboolean ok,
>> GAtResult *result, gpointer user_data)
>> struct netreg_data *nd = ofono_netreg_get_data(netreg);
>> GAtResultIter iter;
>> const char *str;
>> - char *signal_identifier = "signal";
>> + const char *cmd;
>> int index;
>> int min = 0;
>> int max = 0;
>> int tmp_min, tmp_max, invalid;
>> -
>> +
>> if (!ok)
>> goto error;
>>
>> @@ -1422,8 +1438,10 @@ static void cind_support_cb(gboolean ok,
>> GAtResult *result, gpointer user_data)
>> */
>> if (nd->vendor == OFONO_VENDOR_TELIT) {
>> g_at_result_iter_open_list(&iter);
>> - signal_identifier = "rssi";
>> + nd->signal_identifier = "rssi";
>> }
>> + else
>> + nd->signal_identifier = "signal";
>>
>> while (g_at_result_iter_open_list(&iter)) {
>> /* Reset invalid default value for every token */
>> @@ -1449,7 +1467,7 @@ static void cind_support_cb(gboolean ok,
>> GAtResult *result, gpointer user_data)
>> if (!g_at_result_iter_close_list(&iter))
>> goto error;
>>
>> - if (g_str_equal(signal_identifier, str) == TRUE) {
>> + if (g_str_equal(nd->signal_identifier, str) == TRUE) {
>> nd->signal_index = index;
>> nd->signal_min = min;
>> nd->signal_max = max;
>> @@ -1464,8 +1482,16 @@ static void cind_support_cb(gboolean ok,
>> GAtResult *result, gpointer user_data)
>>
>> if (nd->signal_index == 0)
>> goto error;
>> -
>> - g_at_chat_send(nd->chat, "AT+CMER=3,0,0,1", NULL,
>> +
>> + /*
>> + * Telit uses a 2 to enable indicator event reporting, 1 is
>> undefined.
>> + */
>> + if (nd->vendor == OFONO_VENDOR_TELIT)
>> + cmd = "AT+CMER=3,0,0,2";
>> + else
>> + cmd = "AT+CMER=3,0,0,1";
>> +
>> + g_at_chat_send(nd->chat, cmd, NULL,
>
> This looks fine, but we might be better off with something similar to
> how the CNMI string is being built in drivers/atmodem/sms.c. E.g.
> query which CMER modes are supported and select these intelligently.
Ok thanks, I have had a look at it and I will try to implement it this way.
>
>> NULL, NULL, NULL);
>> g_at_chat_register(nd->chat, "+CIEV:",
>> ciev_notify, FALSE, netreg, NULL);
>
AT trace with (uncorrected) patches from 1 - 8:
Aug 8 11:35:09 mx31tt01 daemon.info ofonod[496]: oFono version 1.10
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/plugin.c:__ofono_plugin_init()
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/push-notification.c:push_notification_init()
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/smart-messaging.c:smart_messaging_init()
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/cdma-provision.c:ofono_cdma_provision_driver_register() driver:
0xfb520 name: CDMA provisioning
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/gprs-provision.c:ofono_gprs_provision_driver_register() driver:
0xfb4f4 name: Provisioning
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/connman.c:connman_init()
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/private-network.c:ofono_private_network_driver_register() driver:
0xfb4c8, name: ConnMan Private Network
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/dun_gw.c:dun_gw_init()
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfb418, name: hfp
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfb3c0, name: sap
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfb354, name: telit
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfb2e8, name: sim900
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfb2a0, name: samsung
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfb258, name: speedupcdma
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfb208, name: speedup
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfb1c0, name: alcatel
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfb168, name: icera
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfb120, name: linktop
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfb0d8, name: nokiacdma
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfb090, name: nokia
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfb048, name: tc65
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfafc0, name: ste
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfaf68, name: ifx
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfaf20, name: palmpre
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfaed0, name: novatel
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfae88, name: sierra
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfae10, name: huawei
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfadc8, name: zte
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfad68, name: hso
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfad18, name: mbm
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfacc8, name: calypso
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfac80, name: wavecom
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfac38, name: g1
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/cdma-voicecall.c:ofono_cdma_voicecall_driver_register() driver:
0xfabe0, name: cdmamodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_devinfo_driver_register() driver: 0xfac08, name: cdmamodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/cdma-connman.c:ofono_cdma_connman_driver_register() driver: 0xfac24,
name: cdmamodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfab48, name: phonesim
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xfab78, name: localhfp
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_context_driver_register() driver: 0xfab30, name:
phonesim
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/ctm.c:ofono_ctm_driver_register() driver: 0xfab1c, name: phonesim
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/phonesim.c:parse_config() filename /etc/ofono/phonesim.conf
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/ussd.c:ofono_ussd_driver_register() driver: 0xfab08, name: speedupmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/voicecall.c:ofono_voicecall_driver_register() driver: 0xfa9fc, name:
hfpmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_devinfo_driver_register() driver: 0xfaaa0, name: hfpmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/network.c:ofono_netreg_driver_register() driver: 0xfaa54, name: hfpmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/call-volume.c:ofono_call_volume_driver_register() driver: 0xfaa88,
name: hfpmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/handsfree.c:ofono_handsfree_driver_register() driver: 0xfaacc, name:
hfpmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/network.c:ofono_netreg_driver_register() driver: 0xfa97c, name: dunmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_driver_register() driver: 0xfa9a0, name: dunmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/voicecall.c:ofono_voicecall_driver_register() driver: 0xfa8b4, name:
stemodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_context_driver_register() driver: 0xfa93c, name:
stemodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/radio-settings.c:ofono_radio_settings_driver_register() driver:
0xfa904, name: stemodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/voicecall.c:ofono_voicecall_driver_register() driver: 0xfa798, name:
ifxmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/audio-settings.c:ofono_audio_settings_driver_register() driver:
0xfa7f0, name: ifxmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/radio-settings.c:ofono_radio_settings_driver_register() driver:
0xfa804, name: ifxmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_context_driver_register() driver: 0xfa838, name:
ifxmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/stk.c:ofono_stk_driver_register() driver: 0xfa860, name: ifxmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/ctm.c:ofono_ctm_driver_register() driver: 0xfa880, name: ifxmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_context_driver_register() driver: 0xfa72c, name:
hsomodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/radio-settings.c:ofono_radio_settings_driver_register() driver:
0xfa74c, name: hsomodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_context_driver_register() driver: 0xfa6ac, name:
mbmmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/stk.c:ofono_stk_driver_register() driver: 0xfa6cc, name: mbmmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/location-reporting.c:ofono_location_reporting_driver_register()
driver: 0xfa6ec, name: mbmmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/voicecall.c:ofono_voicecall_driver_register() driver: 0xfa614, name:
calypsomodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/stk.c:ofono_stk_driver_register() driver: 0xfa664, name: calypsomodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/ussd.c:ofono_ussd_driver_register() driver: 0xfa520, name: huaweimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/voicecall.c:ofono_voicecall_driver_register() driver: 0xfa534, name:
huaweimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/audio-settings.c:ofono_audio_settings_driver_register() driver:
0xfa584, name: huaweimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/radio-settings.c:ofono_radio_settings_driver_register() driver:
0xfa5b8, name: huaweimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_context_driver_register() driver: 0xfa598, name:
huaweimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/cdma-netreg.c:ofono_cdma_netreg_driver_register() driver: 0xfa5e4,
name: huaweimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_context_driver_register() driver: 0xfa4ac, name:
iceramodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/radio-settings.c:ofono_radio_settings_driver_register() driver:
0xfa4d4, name: iceramodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/radio-settings.c:ofono_radio_settings_driver_register() driver:
0xfa458, name: ztemodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_context_driver_register() driver: 0xfa418, name:
swmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/radio-settings.c:ofono_radio_settings_driver_register() driver:
0xfa3d4, name: nwmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/voicecall.c:ofono_voicecall_driver_register() driver: 0xfa248, name:
atmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_devinfo_driver_register() driver: 0xfa2e0, name: atmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/call-barring.c:ofono_call_barring_driver_register() driver: 0xfa298,
name: atmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/call-forwarding.c:ofono_call_forwarding_driver_register() driver:
0xfa040, name: atmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/call-meter.c:ofono_call_meter_driver_register() driver: 0xfa080,
name: atmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/call-settings.c:ofono_call_settings_driver_register() driver:
0xf9f8c, name: atmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/phonebook.c:ofono_phonebook_driver_register() driver: 0xfa2c8, name:
atmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/ussd.c:ofono_ussd_driver_register() driver: 0xfa224, name: atmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/sms.c:ofono_sms_driver_register() driver: 0xf9ffc, name: atmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/sim.c:ofono_sim_driver_register() driver: 0xfa164, name: atmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/sim.c:ofono_sim_driver_register() driver: 0xfa1ac, name: atmodem-noef
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/stk.c:ofono_stk_driver_register() driver: 0xfa1fc, name: atmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/network.c:ofono_netreg_driver_register() driver: 0xfa0dc, name: atmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/cbs.c:ofono_cbs_driver_register() driver: 0xfa024, name: atmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/call-volume.c:ofono_call_volume_driver_register() driver: 0xfa30c,
name: atmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_driver_register() driver: 0xfa344, name: atmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_context_driver_register() driver: 0xfa358, name:
atmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/sim-auth.c:ofono_sim_auth_driver_register() driver: 0xfa378, name:
atmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/gnss.c:ofono_gnss_driver_register() driver: 0xfa398, name: atmodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xf9de8, name: gobi
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_devinfo_driver_register() driver: 0xf9c7c, name: qmimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/network.c:ofono_netreg_driver_register() driver: 0xf9ce0, name: qmimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/voicecall.c:ofono_voicecall_driver_register() driver: 0xf9c98, name:
qmimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/sim.c:ofono_sim_driver_register() driver: 0xf9d04, name: qmimodem-legacy
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/sms.c:ofono_sms_driver_register() driver: 0xf9d4c, name: qmimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/ussd.c:ofono_ussd_driver_register() driver: 0xf9d6c, name: qmimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_driver_register() driver: 0xf9d80, name: qmimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_context_driver_register() driver: 0xf9d94, name:
qmimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/radio-settings.c:ofono_radio_settings_driver_register() driver:
0xf9dac, name: qmimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/location-reporting.c:ofono_location_reporting_driver_register()
driver: 0xf9dd0, name: qmimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xf9c14, name: u8500
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_devinfo_driver_register() driver: 0xf9bf8, name: u8500
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xf9bb0, name: n900
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_driver_register() driver: 0xf9b68, name: isiusb
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_devinfo_driver_register() driver: 0xf991c, name: isimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/phonebook.c:ofono_phonebook_driver_register() driver: 0xf990c, name:
isimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/network.c:ofono_netreg_driver_register() driver: 0xf9938, name: isimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/voicecall.c:ofono_voicecall_driver_register() driver: 0xf995c, name:
isimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/sms.c:ofono_sms_driver_register() driver: 0xf99a4, name: isimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/cbs.c:ofono_cbs_driver_register() driver: 0xf99c4, name: isimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/sim.c:ofono_sim_driver_register() driver: 0xf99d8, name: isimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/ussd.c:ofono_ussd_driver_register() driver: 0xf9a20, name: isimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/call-forwarding.c:ofono_call_forwarding_driver_register() driver:
0xf9a34, name: isimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/call-settings.c:ofono_call_settings_driver_register() driver:
0xf9a54, name: isimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/call-barring.c:ofono_call_barring_driver_register() driver: 0xf9a84,
name: isimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/call-meter.c:ofono_call_meter_driver_register() driver: 0xf9a9c,
name: isimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/radio-settings.c:ofono_radio_settings_driver_register() driver:
0xf9ac4, name: isimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_driver_register() driver: 0xf9ae8, name: isimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_context_driver_register() driver: 0xf9afc, name:
isimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/audio-settings.c:ofono_audio_settings_driver_register() driver:
0xf9b14, name: isimodem
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
src/sim.c:ofono_sim_driver_register() driver: 0xf9b20, name: wgmodem2.5
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:udev_start()
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:enumerate_devices()
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:check_usb_device() hub [(null):(null)]
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:check_usb_device() usb [0424:2514]
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:check_usb_device() usb [1bc7:1004]
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:check_usb_device() option [(null):(null)]
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:check_usb_device() option [1bc7:1004]
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:add_device()
/sys/devices/platform/mxc-ehci.2/usb1/1-1/1-1.1
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:add_device()
/sys/devices/platform/mxc-ehci.2/usb1/1-1/1-1.1/1-1.1:1.0/ttyUSB0/tty/ttyUSB0
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:add_device() /dev/ttyUSB0 (telit) 255/255/255 [00] ==>
(null) (null)
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:check_usb_device() option [(null):(null)]
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:check_usb_device() option [1bc7:1004]
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:add_device()
/sys/devices/platform/mxc-ehci.2/usb1/1-1/1-1.1
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:add_device()
/sys/devices/platform/mxc-ehci.2/usb1/1-1/1-1.1/1-1.1:1.1/ttyUSB1/tty/ttyUSB1
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:add_device() /dev/ttyUSB1 (telit) 255/255/255 [01] ==>
(null) (null)
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:check_usb_device() option [(null):(null)]
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:check_usb_device() option [1bc7:1004]
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:add_device()
/sys/devices/platform/mxc-ehci.2/usb1/1-1/1-1.1
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:add_device()
/sys/devices/platform/mxc-ehci.2/usb1/1-1/1-1.1/1-1.1:1.2/ttyUSB2/tty/ttyUSB2
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:add_device() /dev/ttyUSB2 (telit) 255/255/255 [02] ==>
(null) (null)
Aug 8 11:35:09 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:check_usb_device() option [(null):(null)]
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:check_usb_device() option [1bc7:1004]
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:add_device()
/sys/devices/platform/mxc-ehci.2/usb1/1-1/1-1.1
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:add_device()
/sys/devices/platform/mxc-ehci.2/usb1/1-1/1-1.1/1-1.1:1.3/ttyUSB3/tty/ttyUSB3
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:add_device() /dev/ttyUSB3 (telit) 255/255/255 [03] ==>
(null) (null)
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:check_usb_device() usb [9710:7830]
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:check_usb_device() MOSCHIP usb-ethernet driver
[(null):(null)]
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:check_usb_device() MOSCHIP usb-ethernet driver [9710:7830]
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:check_usb_device() hub [(null):(null)]
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:create_modem()
/sys/devices/platform/mxc-ehci.2/usb1/1-1/1-1.1
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:create_modem() driver=telit
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_create() name: (null), type: telit
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:setup_telit()
/sys/devices/platform/mxc-ehci.2/usb1/1-1/1-1.1
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:setup_telit() /dev/ttyUSB0 255/255/255 00 (null)
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:setup_telit() /dev/ttyUSB1 255/255/255 01 (null)
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:setup_telit() /dev/ttyUSB2 255/255/255 02 (null)
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:setup_telit() /dev/ttyUSB3 255/255/255 03 (null)
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:setup_telit() modem=/dev/ttyUSB0 aux=/dev/ttyUSB3
gps=/dev/ttyUSB2 diag=/dev/ttyUSB1
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:set_modem_property() modem 0x1f532d8 property Modem
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:set_modem_property() modem 0x1f532d8 property Aux
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:set_modem_property() modem 0x1f532d8 property GPS
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:ofono_modem_register() 0x1f532d8
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/telit.c:telit_probe() 0x1f532d8
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:emit_modem_added() 0x1f532d8
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:call_modemwatches() 0x1f532d8 added:1
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/hfp_ag.c:modem_watch() modem: 0x1f532d8, added: 1
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/dun_gw.c:modem_watch() modem: 0x1f532d8, added: 1
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/smart-messaging.c:modem_watch() modem: 0x1f532d8, added: 1
Aug 8 11:35:10 mx31tt01 daemon.debug ofonod[496]:
plugins/push-notification.c:modem_watch() modem: 0x1f532d8, added: 1
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
plugins/telit.c:telit_enable() 0x1f532d8
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:get_modem_property() modem 0x1f532d8 property Modem
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
plugins/telit.c:open_device() Modem /dev/ttyUSB0
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:get_modem_property() modem 0x1f532d8 property Aux
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
plugins/telit.c:open_device() Aux /dev/ttyUSB3
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: > ATE0 +CMEE=1\r
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CFUN=4\r
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
plugins/telit.c:cfun_enable_cb() 0x1f532d8
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:modem_change_state() old state: 0, new state: 1
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
plugins/telit.c:telit_pre_sim() 0x1f532d8
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:telit_hale_enable_sim()
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:state_worker() state: step 0, success 1
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:enable_sim_worker()
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:telit_hale_enable_sim() done.
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: > AT&C0\r
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: > AT+GCAP\r
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+GCAP:
+CGSM,+DS,+FCLASS,+MS,+ES\r\n\r\nOK\r\n
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRC=1\r
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
src/sim.c:ofono_sim_add_state_watch() 0x1f4e4a8
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
src/sim.c:ofono_sim_add_state_watch() 0x1f4e4a8
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
src/sim.c:ofono_sim_add_state_watch() 0x1f4e4a8
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CLIP=1\r
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
plugins/telit.c:telit_set_online() modem 0x1f532d8 online
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CDIP=1\r
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nERROR\r\n
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CNAP=1\r
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nERROR\r\n
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: > AT+COLP=1\r
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CME ERROR:
10\r\n
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CSSN=1,1\r
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CME ERROR:
10\r\n
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: > AT+VTD?\r
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CME ERROR:
10\r\n
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CCWA=1\r
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CME ERROR:
10\r\n
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/voicecall.c:at_voicecall_initialized() voicecall_init:
registering to notifications
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
src/sim.c:ofono_sim_add_state_watch() 0x1f4e4a8
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: > AT#QSS=2\r
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: > AT$GPSAT=1\r
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:state_worker() state: step 1, success 1
Aug 8 11:35:14 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:enable_sim_worker()
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CGMI\r
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: <
\r\nTelit\r\n\r\nOK\r\n
Aug 8 11:35:14 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CFUN=1\r
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:35:16 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:common_online_cb() Online in PRE SIM state
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CLCC\r
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CME ERROR:
14\r\n
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: > AT$GPSP=1\r
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:35:16 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:state_worker() state: step 2, success 1
Aug 8 11:35:16 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:enable_sim_worker()
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CGMM\r
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: <
\r\nUC864-G\r\n\r\nOK\r\n
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: > AT#SIMDET=0\r
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:35:16 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:state_worker() state: step 3, success 1
Aug 8 11:35:16 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:enable_sim_worker()
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CGMR\r
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: <
\r\n08.01.107\r\n\r\nOK\r\n
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: > AT#GPIO=1,1,0\r
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:35:16 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:state_worker() state: step 4, success 1
Aug 8 11:35:16 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:enable_sim_worker()
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CGSN\r
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: <
\r\n356265021069520\r\n\r\nOK\r\n
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: > AT#GPIO=2,1,0\r
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:35:16 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:state_worker() state: step 5, success 1
Aug 8 11:35:16 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:enable_sim_worker()
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: > AT#GPIO=1,0,1\r
Aug 8 11:35:16 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:35:16 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:state_worker() state: step 6, success 1
Aug 8 11:35:16 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:enable_sim_worker()
Aug 8 11:35:22 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:state_worker() state: step 7, success 1
Aug 8 11:35:22 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:enable_sim_worker()
Aug 8 11:35:22 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:enable_sim_worker() done.
Aug 8 11:35:22 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:telit_hale_enable_automatic_sim_detection()
Aug 8 11:35:22 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:state_worker() state: step 0, success 1
Aug 8 11:35:22 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:enable_autosimdet_worker()
Aug 8 11:35:22 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:telit_hale_enable_automatic_sim_detection() done.
Aug 8 11:35:22 mx31tt01 daemon.info ofonod[496]: Aux: > AT#SIMDET=2\r
Aug 8 11:35:22 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:35:22 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:state_worker() state: step 1, success 1
Aug 8 11:35:22 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:enable_autosimdet_worker()
Aug 8 11:35:22 mx31tt01 daemon.debug ofonod[496]:
plugins/telit-hale.c:enable_autosimdet_worker() done.
Aug 8 11:35:26 mx31tt01 daemon.info ofonod[496]: Modem: < \r\n#QSS: 2\r\n
Aug 8 11:35:26 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n#QSS: 2\r\n
Aug 8 11:35:26 mx31tt01 daemon.debug ofonod[496]:
plugins/telit.c:telit_qss_notify() 0x1f532d8
Aug 8 11:35:26 mx31tt01 daemon.debug ofonod[496]:
plugins/telit.c:switch_sim_state_status() 0x1f532d8
Aug 8 11:35:26 mx31tt01 daemon.debug ofonod[496]:
plugins/telit.c:switch_sim_state_status() SIM inserted and PIN unlocked
Aug 8 11:35:30 mx31tt01 daemon.info ofonod[496]: Modem: < \r\n#PSNT: 1\r\n
Aug 8 11:35:30 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n#PSNT: 1\r\n
Aug 8 11:35:54 mx31tt01 daemon.info ofonod[496]: Modem: < \r\n#PSNT: 2\r\n
Aug 8 11:35:54 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n#PSNT: 2\r\n
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Modem: < \r\n#QSS: 3\r\n
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n#QSS: 3\r\n
Aug 8 11:35:58 mx31tt01 daemon.debug ofonod[496]:
plugins/telit.c:telit_qss_notify() 0x1f532d8
Aug 8 11:35:58 mx31tt01 daemon.debug ofonod[496]:
plugins/telit.c:switch_sim_state_status() 0x1f532d8
Aug 8 11:35:58 mx31tt01 daemon.debug ofonod[496]:
plugins/telit.c:switch_sim_state_status() SIM inserted and ready
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRSM=192,28599\r
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,62228205022100100383026FB7A5038001318A01058B036F060680020030880108F10100\r\n\r\nOK\r\n
Aug 8 11:35:58 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90, 00, 36
Aug 8 11:35:58 mx31tt01 daemon.err ofonod[496]: Requested file
structure differs from SIM: 6fb7
Aug 8 11:35:58 mx31tt01 daemon.debug ofonod[496]:
src/voicecall.c:ecc_g2_read_cb() 0
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRSM=192,28599\r
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,62228205022100100383026FB7A5038001318A01058B036F060680020030880108F10100\r\n\r\nOK\r\n
Aug 8 11:35:58 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90, 00, 36
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Aux: >
AT+CRSM=178,28599,1,4,16\r
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\r\n\r\nOK\r\n
Aug 8 11:35:58 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 16
Aug 8 11:35:58 mx31tt01 daemon.debug ofonod[496]:
src/voicecall.c:ecc_g3_read_cb() 1
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Aux: >
AT+CRSM=178,28599,2,4,16\r
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\r\n\r\nOK\r\n
Aug 8 11:35:58 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 16
Aug 8 11:35:58 mx31tt01 daemon.debug ofonod[496]:
src/voicecall.c:ecc_g3_read_cb() 1
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Aux: >
AT+CRSM=178,28599,3,4,16\r
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\r\n\r\nOK\r\n
Aug 8 11:35:58 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 16
Aug 8 11:35:58 mx31tt01 daemon.debug ofonod[496]:
src/voicecall.c:ecc_g3_read_cb() 1
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRSM=192,12258\r
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,621F8202012183022FE2A5038001318A01058B032F06038002000A880110F10100\r\n\r\nOK\r\n
Aug 8 11:35:58 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90, 00, 33
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Aux: >
AT+CRSM=176,12258,0,0,10\r
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,98343000000163500864\r\n\r\nOK\r\n
Aug 8 11:35:58 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 10
Aug 8 11:35:58 mx31tt01 daemon.debug ofonod[496]:
src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff: 0, tocopy: 10
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRSM=192,28421\r
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
106,130\r\n\r\nOK\r\n
Aug 8 11:35:58 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRSM=192,12037\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,621F8202012183022F05A5038001318A01058B032F060480020008880128F10100\r\n\r\nOK\r\n
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90, 00, 33
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: >
AT+CRSM=176,12037,0,0,8\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,6465656EFFFFFFFF\r\n\r\nOK\r\n
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 8
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff: 0, tocopy: 8
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CPIN?\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CPIN:
READY\r\n\r\nOK\r\n
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_cpin_cb() crsm_pin_cb: READY
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_pin_retries_query()
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: > AT#PCT\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n#PCT:
3\r\n\r\nOK\r\n
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_pct_cb() Note: No password required, returning
maximum retries:
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_pct_cb() retry counter id=1, val=3
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_pct_cb() retry counter id=4, val=3
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_pct_cb() retry counter id=9, val=10
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_pct_cb() retry counter id=11, val=10
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRSM=192,28590\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CME ERROR:
22\r\n
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRSM=192,28589\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,621F8202012183026FADA5038001318A01058B036F060680020004880118F10100\r\n\r\nOK\r\n
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90, 00, 33
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: >
AT+CRSM=176,28589,0,0,4\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,00FFFF02\r\n\r\nOK\r\n
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 4
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff: 0, tocopy: 4
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRSM=192,28438\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
106,130\r\n\r\nOK\r\n
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRSM=192,28472\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,621F8202012183026F38A5038001318A01058B036F060580020008880120F10100\r\n\r\nOK\r\n
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90, 00, 33
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: >
AT+CRSM=176,28472,0,0,8\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,822B170C23460800\r\n\r\nOK\r\n
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 8
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff: 0, tocopy: 8
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRSM=192,28502\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,621F8202012183026F56A5038001318A01058B036F061180020001880128F10100\r\n\r\nOK\r\n
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90, 00, 33
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: >
AT+CRSM=176,28502,0,0,1\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,00\r\n\r\nOK\r\n
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 1
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff: 0, tocopy: 1
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CIMI\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: <
\r\n232033012792309\r\n\r\nOK\r\n
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_cimi_cb() cimi_cb: 232033012792309
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:modem_change_state() old state: 1, new state: 2
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
plugins/telit.c:telit_post_sim() 0x1f532d8
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
src/modem.c:modem_change_state() old state: 2, new state: 3
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
plugins/telit.c:telit_post_online() 0x1f532d8
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/gprs-context.c:at_gprs_context_probe()
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CSMS=?\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CSMS:
(0,1)\r\n\r\nOK\r\n
Aug 8 11:35:59 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sms.c:at_csms_query_cb() CSMS query parsed successfully
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CREG=?\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CREG:
(0-2)\r\n\r\nOK\r\n
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CSCS?\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CSCS:
"IRA"\r\n\r\nOK\r\n
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CUSD=1\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CAOC=2\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CCWE=1\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nERROR\r\n
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CGDCONT=?\r
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CGDCONT:
(1-16),"IP",,,(0-2),(0-4)\r\n+CGDCONT:
(1-16),"PPP",,,(0-2),(0-4)\r\n+CGDCONT:
(1-16),"IPV6",,,(0-2),(0-4)\r\n\r\nOK\r\n
Aug 8 11:35:59 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRSM=192,28480\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,622182050221001E0483026F40A5038001318A01058B036F060B800200788800F10100\r\n\r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90, 00, 35
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CSMS=1\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CSMS:
1,1,1\r\n\r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CREG=2\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CGREG=?\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CGREG:
(0-2)\r\n\r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: >
AT+CRSM=178,28480,1,4,30\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,456967656E65205275666E756D6D65720791347676086013FFFFFFFFFFFF\r\n\r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 30
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CSMS?\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CSMS:
1,1,1,1\r\n\r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CIND=?\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CIND:
(("battchg",(0-5,99)),("signal",(0-7,99)),("service",(0,1)),("sounder",(0,1)),("message",(0,1)),("call",(0,1)),("roam",(0,1)),("smsfull",(0
,1)),("rssi",(0-5,99)))\r\n\r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.debug ofonod[496]:
src/sim.c:ofono_sim_add_spn_watch() 0x1f4e4a8
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CGREG=2\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: > AT#AUTOATT=0\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CGEREP=2,1\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.debug ofonod[496]:
src/network.c:__ofono_netreg_add_status_watch() 0x1f605f8
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: >
AT+CRSM=178,28480,2,4,30\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\r\n\r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 30
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CMGF=?\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CMGF:
(0,1)\r\n\r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CMER=3,0,0,2\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CREG?\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CIEV:
battchg,5\r\n\r\n+CIEV: signal,0\r\n\r\n+CIEV: service,1\r\n\r\n+CIEV:
sounder,0\r\n\r\n+CIEV: message,1\r\n\r\n+CIEV: call,0\r\n\r\n+CIEV:
roam,0\r\n\r\n+CIEV: smsfull,0\r\n\r\n+CIEV: rssi,1\r\n
Aug 8 11:36:00 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/network-registration.c:ciev_notify() Strength: 20
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CREG:
2,1,"EF10","022306B"\r\n\r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.debug ofonod[496]:
src/network.c:ofono_netreg_status_notify() /telit_0 status 1 tech -1
Aug 8 11:36:00 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:netreg_status_changed() 1
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: > AT#PSNT=1\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: > AT#PSNT?\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n#PSNT:
1,2\r\n\r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: >
AT+CRSM=178,28480,3,4,30\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\r\n\r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 30
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CPMS=?\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CPMS:
("ME","SM","SR"),("SM","ME"),("SM","ME")\r\n\r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: > AT+COPS=3,2\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: > AT+COPS?\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+COPS:
0,2,"23203",2\r\n\r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/network-registration.c:cops_numeric_cb() Cops numeric
got mcc: 232, mnc: 03
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CIND?\r
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CIND:
5,99,1,0,1,0,0,0,1\r\n\r\nOK\r\n
Aug 8 11:36:00 mx31tt01 daemon.debug ofonod[496]:
src/network.c:ofono_netreg_strength_notify() strength 20
Aug 8 11:36:00 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CGATT=1\r
Aug 8 11:36:02 mx31tt01 daemon.info ofonod[496]: Modem: < \r\n+CIEV:
rssi,3\r\n
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:36:03 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:gprs_attach_callback() /telit_0 error = 0
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CIND?\r
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CIEV:
rssi,3\r\n
Aug 8 11:36:03 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/network-registration.c:ciev_notify() Strength: 60
Aug 8 11:36:03 mx31tt01 daemon.debug ofonod[496]:
src/network.c:ofono_netreg_strength_notify() strength 60
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Modem: < \r\n+CREG:
1,"EF10","0000"\r\n\r\n+CGREG: 2\r\n\r\n#PSNT: 1\r\n
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CREG:
1,"EF10","0000"\r\n\r\n+CGREG: 2\r\n\r\n#PSNT: 1\r\n\r\n+CIND:
4,99,1,0,1,0,0,0,3\r\n\r\nOK\r\n
Aug 8 11:36:03 mx31tt01 daemon.debug ofonod[496]:
src/network.c:ofono_netreg_status_notify() /telit_0 status 1 tech -1
Aug 8 11:36:03 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:netreg_status_changed() 1
Aug 8 11:36:03 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_status_notify() /telit_0 status 2
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: >
AT+CRSM=178,28480,4,4,30\r
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\r\n\r\nOK\r\n
Aug 8 11:36:03 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 30
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CMGF=0\r
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: > AT+COPS=3,0\r
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: > AT+COPS?\r
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+COPS:
0,0,"T-Mobile A",0\r\n\r\nOK\r\n
Aug 8 11:36:03 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/network-registration.c:cops_cb() cops_cb: T-Mobile A,
232 03 0
Aug 8 11:36:03 mx31tt01 daemon.debug ofonod[496]:
src/network.c:current_operator_callback() 0x1f605f8, (nil)
Aug 8 11:36:03 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:netreg_status_changed() 1
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CGREG?\r
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CGREG:
2,2\r\n\r\nOK\r\n
Aug 8 11:36:03 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:registration_status_cb() /telit_0 error 0 status 2
Aug 8 11:36:03 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_status_notify() /telit_0 status 2
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: > AT+COPS=3,2\r
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: > AT+COPS?\r
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+COPS:
0,2,"23203",0\r\n\r\nOK\r\n
Aug 8 11:36:03 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/network-registration.c:cops_numeric_cb() Cops numeric
got mcc: 232, mnc: 03
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CIND?\r
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CIND:
5,99,1,0,1,0,0,0,3\r\n\r\nOK\r\n
Aug 8 11:36:03 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRSM=192,28489\r
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
106,130\r\n\r\nOK\r\n
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: >
AT+CPMS="ME","ME","ME"\r
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CPMS:
0,50,0,50,0,50\r\n\r\nOK\r\n
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: > AT+COPS=3,0\r
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: > AT+COPS?\r
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+COPS:
0,0,"T-Mobile A",0\r\n\r\nOK\r\n
Aug 8 11:36:04 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/network-registration.c:cops_cb() cops_cb: T-Mobile A,
232 03 0
Aug 8 11:36:04 mx31tt01 daemon.debug ofonod[496]:
src/network.c:current_operator_callback() 0x1f605f8, 0x1f549d8
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRSM=192,28618\r
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,62218205022100050183026FCAA5038001318A01058B036F060B800200058800F10100\r\n\r\nOK\r\n
Aug 8 11:36:04 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90, 00, 35
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CNMI=?\r
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CNMI:
(0-3),(0-3),(0,2),(0-2),(0,1)\r\n\r\nOK\r\n
Aug 8 11:36:04 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sms.c:build_cnmi_string()
Aug 8 11:36:04 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sms.c:construct_ack_pdu()
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: >
AT+CRSM=178,28618,1,4,5\r
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,0000000000\r\n\r\nOK\r\n
Aug 8 11:36:04 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 5
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CNMI=2,2,2,1,0\r
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:36:04 mx31tt01 daemon.debug ofonod[496]:
src/network.c:__ofono_netreg_add_status_watch() 0x1f605f8
Aug 8 11:36:04 mx31tt01 daemon.debug ofonod[496]:
src/sms.c:sms_restore_tx_queue()
Aug 8 11:36:04 mx31tt01 daemon.debug ofonod[496]:
plugins/push-notification.c:sms_watch() registered
Aug 8 11:36:04 mx31tt01 daemon.debug ofonod[496]:
plugins/smart-messaging.c:sms_watch() registered
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRSM=192,28617\r
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,62218205022100040183026FC9A5038001318A01058B036F060B800200048800F10100\r\n\r\nOK\r\n
Aug 8 11:36:04 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90, 00, 35
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CMGL=4\r
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:36:04 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sms.c:at_cmgl_done()
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CGSMS=3\r
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: >
AT+CRSM=178,28617,1,4,4\r
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,01000000\r\n\r\nOK\r\n
Aug 8 11:36:04 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 4
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRSM=192,28433\r
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
106,130\r\n\r\nOK\r\n
Aug 8 11:36:04 mx31tt01 daemon.debug ofonod[496]:
src/message-waiting.c:mw_cphs_mwis_read_cb() No CPHS MWIS on SIM
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRSM=192,28435\r
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
106,130\r\n\r\nOK\r\n
Aug 8 11:36:04 mx31tt01 daemon.debug ofonod[496]:
src/simfs.c:sim_fs_op_read_block() bufoff: 0, seekoff: 39, toread: 17
Aug 8 11:36:04 mx31tt01 daemon.err ofonod[496]: EFspn read
successfully, but couldn't parse
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRSM=192,28437\r
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
106,130\r\n\r\nOK\r\n
Aug 8 11:36:04 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CRSM=192,28615\r
Aug 8 11:36:05 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,622182050221001E0183026FC7A5038001318A01058B036F060B8002001E8800F10100\r\n\r\nOK\r\n
Aug 8 11:36:05 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90, 00, 35
Aug 8 11:36:05 mx31tt01 daemon.info ofonod[496]: Aux: >
AT+CRSM=178,28615,1,4,30\r
Aug 8 11:36:05 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CRSM:
144,0,542D4D6F62696C6520426F78FFFFFFFF069134762602F0FFFFFFFFFFFFFF\r\n\r\nOK\r\n
Aug 8 11:36:05 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 30
Aug 8 11:36:06 mx31tt01 daemon.info ofonod[496]: Modem: < \r\n+CGREG:
1,"271B","3068"\r\n
Aug 8 11:36:06 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CGREG:
1,"271B","3068"\r\n
Aug 8 11:36:06 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_status_notify() /telit_0 status 1
Aug 8 11:36:07 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/gprs-context.c:at_gprs_activate_primary() cid 1
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: Modem: >
AT+CGDCONT=1,"IP","gprswap"\r
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: Modem: < \r\nOK\r\n
Aug 8 11:36:07 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/gprs-context.c:at_cgdcont_cb() ok 1
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: Modem: >
AT+CGDATA="PPP",1\r
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: Modem: < \r\nCONNECT\r\n
Aug 8 11:36:07 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/gprs-context.c:at_cgdata_cb() ok 1
Aug 8 11:36:07 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/gprs-context.c:setup_ppp()
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: lcp:
pppcp_generate_event: current state 0:INITIAL
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: event: 0 (Up),
action: 2, new_state: 2 (CLOSED)
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: lcp:
pppcp_generate_event: current state 2:CLOSED
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: event: 2 (Open),
action: 1026, new_state: 6 (REQSENT)
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: lcp:
pppcp_initialize_restart_count: current state 2:CLOSED
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: lcp:
pppcp_send_configure_request: current state 2:CLOSED
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP:
gatchat/gatppp.c:ppp_enter_phase() 1
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: lcp:
pppcp_process_configure_request: current state 6:REQSENT
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: lcp:
pppcp_generate_event: current state 6:REQSENT
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: event: 6 (RCR+),
action: 2008, new_state: 8 (ACKSENT)
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: lcp:
pppcp_send_configure_ack: current state 6:REQSENT
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: lcp:
pppcp_process_configure_ack: current state 8:ACKSENT
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: lcp:
pppcp_generate_event: current state 8:ACKSENT
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: event: 8 (RCA),
action: 129, new_state: 9 (OPENED)
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: lcp:
pppcp_initialize_restart_count: current state 8:ACKSENT
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP:
gatchat/gatppp.c:ppp_enter_phase() 2
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP:
gatchat/gatppp.c:ppp_enter_phase() 3
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_generate_event: current state 0:INITIAL
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: event: 2 (Open),
action: 401, new_state: 1 (STARTING)
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_generate_event: current state 1:STARTING
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: event: 0 (Up),
action: 1026, new_state: 6 (REQSENT)
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_initialize_restart_count: current state 1:STARTING
Aug 8 11:36:07 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_send_configure_request: current state 1:STARTING
Aug 8 11:36:08 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_process_configure_nak: current state 6:REQSENT
Aug 8 11:36:08 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_generate_event: current state 6:REQSENT
Aug 8 11:36:08 mx31tt01 daemon.info ofonod[496]: PPP: event: 9 (RCN),
action: 1026, new_state: 6 (REQSENT)
Aug 8 11:36:08 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_initialize_restart_count: current state 6:REQSENT
Aug 8 11:36:08 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_send_configure_request: current state 6:REQSENT
Aug 8 11:36:09 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_process_configure_nak: current state 6:REQSENT
Aug 8 11:36:09 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_generate_event: current state 6:REQSENT
Aug 8 11:36:09 mx31tt01 daemon.info ofonod[496]: PPP: event: 9 (RCN),
action: 1026, new_state: 6 (REQSENT)
Aug 8 11:36:09 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_initialize_restart_count: current state 6:REQSENT
Aug 8 11:36:09 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_send_configure_request: current state 6:REQSENT
Aug 8 11:36:10 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_process_configure_nak: current state 6:REQSENT
Aug 8 11:36:10 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_generate_event: current state 6:REQSENT
Aug 8 11:36:10 mx31tt01 daemon.info ofonod[496]: PPP: event: 9 (RCN),
action: 1026, new_state: 6 (REQSENT)
Aug 8 11:36:10 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_initialize_restart_count: current state 6:REQSENT
Aug 8 11:36:10 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_send_configure_request: current state 6:REQSENT
Aug 8 11:36:11 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_process_configure_nak: current state 6:REQSENT
Aug 8 11:36:11 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_generate_event: current state 6:REQSENT
Aug 8 11:36:11 mx31tt01 daemon.info ofonod[496]: PPP: event: 9 (RCN),
action: 1026, new_state: 6 (REQSENT)
Aug 8 11:36:11 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_initialize_restart_count: current state 6:REQSENT
Aug 8 11:36:11 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_send_configure_request: current state 6:REQSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_process_configure_nak: current state 6:REQSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_generate_event: current state 6:REQSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: event: 9 (RCN),
action: 1026, new_state: 6 (REQSENT)
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_initialize_restart_count: current state 6:REQSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_send_configure_request: current state 6:REQSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_process_configure_request: current state 6:REQSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_generate_event: current state 6:REQSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: event: 6 (RCR+),
action: 2008, new_state: 8 (ACKSENT)
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_send_configure_ack: current state 6:REQSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_process_configure_reject: current state 8:ACKSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_generate_event: current state 8:ACKSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: event: 9 (RCN),
action: 1028, new_state: 8 (ACKSENT)
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_initialize_restart_count: current state 8:ACKSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_send_configure_request: current state 8:ACKSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_process_configure_nak: current state 8:ACKSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_generate_event: current state 8:ACKSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: event: 9 (RCN),
action: 1028, new_state: 8 (ACKSENT)
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_initialize_restart_count: current state 8:ACKSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_send_configure_request: current state 8:ACKSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_process_configure_ack: current state 8:ACKSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_generate_event: current state 8:ACKSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: event: 8 (RCA),
action: 129, new_state: 9 (OPENED)
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP: ipcp:
pppcp_initialize_restart_count: current state 8:ACKSENT
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: PPP:
gatchat/gatppp.c:ppp_enter_phase() 4
Aug 8 11:36:12 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/gprs-context.c:ppp_connect()
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: IP: 10.146.129.101
Aug 8 11:36:12 mx31tt01 daemon.info ofonod[496]: DNS: 213.162.69.169,
213.162.69.170
Aug 8 11:36:12 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:pri_activate_callback() 0x1f55368
Aug 8 11:36:12 mx31tt01 daemon.debug ofonod[496]:
plugins/udev.c:udev_event() subsystem net add
Aug 8 11:36:12 mx31tt01 daemon.debug ofonod[496]:
plugins/udev.c:udev_event() subsystem net finished
Aug 8 11:36:13 mx31tt01 daemon.debug ofonod[496]:
plugins/udevng.c:check_modem_list()
Aug 8 11:39:07 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CREG:
1,"271B","4C48"\r\n
Aug 8 11:39:07 mx31tt01 daemon.debug ofonod[496]:
src/network.c:ofono_netreg_status_notify() /telit_0 status 1 tech -1
Aug 8 11:39:07 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:netreg_status_changed() 1
Aug 8 11:39:07 mx31tt01 daemon.info ofonod[496]: Aux: > AT+COPS=3,2\r
Aug 8 11:39:07 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CGREG:
1,"271B","4C48"\r\n
Aug 8 11:39:07 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:39:07 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_status_notify() /telit_0 status 1
Aug 8 11:39:07 mx31tt01 daemon.info ofonod[496]: Aux: > AT+COPS?\r
Aug 8 11:39:07 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+COPS:
0,2,"23203",0\r\n\r\nOK\r\n
Aug 8 11:39:07 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/network-registration.c:cops_numeric_cb() Cops numeric
got mcc: 232, mnc: 03
Aug 8 11:39:07 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CIND?\r
Aug 8 11:39:07 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CIND:
4,99,1,0,1,0,0,0,3\r\n\r\nOK\r\n
Aug 8 11:39:07 mx31tt01 daemon.info ofonod[496]: Aux: > AT+COPS=3,0\r
Aug 8 11:39:07 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:39:07 mx31tt01 daemon.info ofonod[496]: Aux: > AT+COPS?\r
Aug 8 11:39:07 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+COPS:
0,0,"T-Mobile A",0\r\n\r\nOK\r\n
Aug 8 11:39:07 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/network-registration.c:cops_cb() cops_cb: T-Mobile A,
232 03 0
Aug 8 11:39:07 mx31tt01 daemon.debug ofonod[496]:
src/network.c:current_operator_callback() 0x1f605f8, 0x1f549d8
Aug 8 11:39:46 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CIEV:
rssi,2\r\n
Aug 8 11:39:46 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/network-registration.c:ciev_notify() Strength: 40
Aug 8 11:39:46 mx31tt01 daemon.debug ofonod[496]:
src/network.c:ofono_netreg_strength_notify() strength 40
Aug 8 11:39:52 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CIEV:
rssi,1\r\n
Aug 8 11:39:52 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/network-registration.c:ciev_notify() Strength: 20
Aug 8 11:39:52 mx31tt01 daemon.debug ofonod[496]:
src/network.c:ofono_netreg_strength_notify() strength 20
Aug 8 11:39:53 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CREG:
1,"271B","3068"\r\n
Aug 8 11:39:53 mx31tt01 daemon.debug ofonod[496]:
src/network.c:ofono_netreg_status_notify() /telit_0 status 1 tech -1
Aug 8 11:39:53 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:netreg_status_changed() 1
Aug 8 11:39:53 mx31tt01 daemon.info ofonod[496]: Aux: > AT+COPS=3,2\r
Aug 8 11:39:53 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CGREG:
1,"271B","3068"\r\n\r\nOK\r\n
Aug 8 11:39:53 mx31tt01 daemon.debug ofonod[496]:
src/gprs.c:ofono_gprs_status_notify() /telit_0 status 1
Aug 8 11:39:53 mx31tt01 daemon.info ofonod[496]: Aux: > AT+COPS?\r
Aug 8 11:39:53 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+COPS:
0,2,"23203",0\r\n\r\nOK\r\n
Aug 8 11:39:53 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/network-registration.c:cops_numeric_cb() Cops numeric
got mcc: 232, mnc: 03
Aug 8 11:39:53 mx31tt01 daemon.info ofonod[496]: Aux: > AT+CIND?\r
Aug 8 11:39:53 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CIND:
4,99,1,0,1,0,0,0,1\r\n\r\nOK\r\n
Aug 8 11:39:53 mx31tt01 daemon.info ofonod[496]: Aux: > AT+COPS=3,0\r
Aug 8 11:39:53 mx31tt01 daemon.info ofonod[496]: Aux: < \r\nOK\r\n
Aug 8 11:39:53 mx31tt01 daemon.info ofonod[496]: Aux: > AT+COPS?\r
Aug 8 11:39:53 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+COPS:
0,0,"T-Mobile A",0\r\n\r\nOK\r\n
Aug 8 11:39:53 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/network-registration.c:cops_cb() cops_cb: T-Mobile A,
232 03 0
Aug 8 11:39:53 mx31tt01 daemon.debug ofonod[496]:
src/network.c:current_operator_callback() 0x1f605f8, 0x1f549d8
Aug 8 11:39:56 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CIEV:
rssi,3\r\n
Aug 8 11:39:56 mx31tt01 daemon.debug ofonod[496]:
drivers/atmodem/network-registration.c:ciev_notify() Strength: 60
Aug 8 11:39:56 mx31tt01 daemon.debug ofonod[496]:
src/network.c:ofono_netreg_strength_notify() strength 60
Aug 8 11:40:11 mx31tt01 daemon.info ofonod[496]: Aux: < \r\n+CIEV:
rssi,2\r\n
Regards,
Christopher
--
Scanned by MailScanner.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 7/8] netreg: adapt CMER and CIEV for telit
2012-08-16 6:57 ` Christopher Vogl
@ 2012-08-16 5:57 ` Denis Kenzior
0 siblings, 0 replies; 16+ messages in thread
From: Denis Kenzior @ 2012-08-16 5:57 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1657 bytes --]
Hi Christopher,
>>
>> That looks a bit strange. Can you rm -rf /var/lib/ofono, rerun oFono
>> and see if that message persists?
>
> I did that but the message still shows up:
>
> ...
> Aug 8 11:40:00 mx31tt01 daemon.info ofonod[622]: Aux: >
> AT+CRSM=176,28486,0,0,17\r
> Aug 8 11:40:00 mx31tt01 daemon.info ofonod[622]: Aux: < \r\n+CRSM:
> 144,0,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\r\n\r\nOK\r\n
> Aug 8 11:40:00 mx31tt01 daemon.debug ofonod[622]:
> drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 17
> Aug 8 11:40:00 mx31tt01 daemon.debug ofonod[622]:
> src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff: 0, tocopy: 17
> Aug 8 11:40:00 mx31tt01 daemon.err ofonod[622]: EFspn read successfully,
> but couldn't parse
> ...
>
> I hardly know anything about SIM FS yet, can you tell me the
> consequences of this please.
>
Consequence of removing /var/lib/ofono or of the error message?
If the former, then that is a heavy-handed way of clearing all settings
oFono stores on disk, including the sim EF cache. In your previous log
the contents of EFspn were being read from cache. So I just told you to
wipe the cache so the contents show up in the AT log. Otherwise I'd
have to give you complicated directions on how to read the contents ;)
If you want to know more about the EF cache itself, just ask me on IRC
some time.
For the error message, it was actually a bug I fixed in commit
54de04a828d945e8f081c7cd99161881736666b8. The error message was being
printed, yet things still worked correctly (by luck.) You should not be
seeing that message pop up again.
Regards,
-Denis
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 7/8] netreg: adapt CMER and CIEV for telit
2012-08-14 6:46 ` Denis Kenzior
@ 2012-08-16 6:57 ` Christopher Vogl
2012-08-16 5:57 ` Denis Kenzior
0 siblings, 1 reply; 16+ messages in thread
From: Christopher Vogl @ 2012-08-16 6:57 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1957 bytes --]
Hi Denis,
On 14/08/12 08:46, Denis Kenzior wrote:
> Hi Christopher,
>
> On 08/14/2012 09:16 AM, Christopher Vogl wrote:
>> Hi Denis,
>>
>> On 13/08/12 18:25, Denis Kenzior wrote:
>>> Hi Christopher,
>>>
>>> On 08/13/2012 08:23 AM, Christopher Vogl wrote:
>>>> Telit uses a 2 to enable indicator event reporting and
>>>> indicators in a +CIEV URC are identified by strings, not numbers.
>>>
>>> Yikes, can you include a sample AT trace? It sounds like something is
>>> going terribly wrong with CIEVs.
>> I included a debug output from the start of ofono until a valid ppp
>> connection.
>> I attached it at the end as it is quite long and would make this
>> unreadable.
>>
>
> Okay, it looks like the Telit firmware does indeed get this wrong. So
> feel free to add a Telit specific CIEV parser.
>
> Also, I'm seeing:
> Aug 8 11:36:04 mx31tt01 daemon.debug ofonod[496]:
> src/simfs.c:sim_fs_op_read_block() bufoff: 0, seekoff: 39, toread: 17
> Aug 8 11:36:04 mx31tt01 daemon.err ofonod[496]: EFspn read
> successfully, but couldn't parse
>
> That looks a bit strange. Can you rm -rf /var/lib/ofono, rerun oFono
> and see if that message persists?
I did that but the message still shows up:
...
Aug 8 11:40:00 mx31tt01 daemon.info ofonod[622]: Aux: >
AT+CRSM=176,28486,0,0,17\r
Aug 8 11:40:00 mx31tt01 daemon.info ofonod[622]: Aux: < \r\n+CRSM:
144,0,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\r\n\r\nOK\r\n
Aug 8 11:40:00 mx31tt01 daemon.debug ofonod[622]:
drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 17
Aug 8 11:40:00 mx31tt01 daemon.debug ofonod[622]:
src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff: 0, tocopy: 17
Aug 8 11:40:00 mx31tt01 daemon.err ofonod[622]: EFspn read
successfully, but couldn't parse
...
I hardly know anything about SIM FS yet, can you tell me the
consequences of this please.
Regards,
Christopher
--
Scanned by MailScanner.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH 2/2] netreg: Add telit version for ciev notification
2012-08-13 16:25 ` Denis Kenzior
2012-08-14 14:16 ` Christopher Vogl
@ 2012-09-06 9:25 ` christopher.vogl
2012-09-06 9:25 ` [PATCH 1/2] netreg: Query and select supported CMER modes christopher.vogl
2012-09-06 9:36 ` [PATCH 2/2] netreg: Add telit version for ciev notification christopher.vogl
2012-09-06 9:49 ` christopher.vogl
3 siblings, 1 reply; 16+ messages in thread
From: christopher.vogl @ 2012-09-06 9:25 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 2195 bytes --]
From: Christopher Vogl <christopher.vogl@hale.at>
---
drivers/atmodem/network-registration.c | 44 ++++++++++++++++++++++++++++++++
1 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/drivers/atmodem/network-registration.c b/drivers/atmodem/network-registration.c
index 7160679..509a47a 100644
--- a/drivers/atmodem/network-registration.c
+++ b/drivers/atmodem/network-registration.c
@@ -759,6 +759,37 @@ static void ciev_notify(GAtResult *result, gpointer user_data)
ofono_netreg_strength_notify(netreg, strength);
}
+static void telit_ciev_notify(GAtResult *result, gpointer user_data)
+{
+ struct ofono_netreg *netreg = user_data;
+ struct netreg_data *nd = ofono_netreg_get_data(netreg);
+ const char *signal_identifier = "rssi";
+ const char *ind_str;
+ int strength;
+ GAtResultIter iter;
+
+ g_at_result_iter_init(&iter, result);
+
+ if (!g_at_result_iter_next(&iter, "+CIEV:"))
+ return;
+
+ if (!g_at_result_iter_next_unquoted_string(&iter, &ind_str))
+ return;
+
+ if (!g_str_equal(signal_identifier, ind_str))
+ return;
+
+ if (!g_at_result_iter_next_number(&iter, &strength))
+ return;
+
+ if (strength == nd->signal_invalid)
+ strength = -1;
+ else
+ strength = (strength * 100) / (nd->signal_max - nd->signal_min);
+
+ ofono_netreg_strength_notify(netreg, strength);
+}
+
static void ctzv_notify(GAtResult *result, gpointer user_data)
{
struct ofono_netreg *netreg = user_data;
@@ -1618,6 +1649,19 @@ static void cind_support_cb(gboolean ok, GAtResult *result, gpointer user_data)
at_cmer_query_cb, netreg, NULL);
g_at_chat_register(nd->chat, "+CIEV:",
ciev_notify, FALSE, netreg, NULL);
+
+ /*
+ * Telit uses strings instead of numbers to identify indicators
+ * in a +CIEV URC.
+ * Handle them in a separate function to keep the code clean.
+ */
+ if (nd->vendor == OFONO_VENDOR_TELIT)
+ g_at_chat_register(nd->chat, "+CIEV:",
+ telit_ciev_notify, FALSE, netreg, NULL);
+ else
+ g_at_chat_register(nd->chat, "+CIEV:",
+ ciev_notify, FALSE, netreg, NULL);
+
g_at_chat_register(nd->chat, "+CREG:",
creg_notify, FALSE, netreg, NULL);
--
1.7.7.6
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 1/2] netreg: Query and select supported CMER modes
2012-09-06 9:25 ` [PATCH 2/2] netreg: Add telit version for ciev notification christopher.vogl
@ 2012-09-06 9:25 ` christopher.vogl
0 siblings, 0 replies; 16+ messages in thread
From: christopher.vogl @ 2012-09-06 9:25 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 5000 bytes --]
From: Christopher Vogl <christopher.vogl@hale.at>
---
drivers/atmodem/network-registration.c | 153 +++++++++++++++++++++++++++++++-
1 files changed, 151 insertions(+), 2 deletions(-)
diff --git a/drivers/atmodem/network-registration.c b/drivers/atmodem/network-registration.c
index 3d09913..7160679 100644
--- a/drivers/atmodem/network-registration.c
+++ b/drivers/atmodem/network-registration.c
@@ -47,6 +47,7 @@ static const char *creg_prefix[] = { "+CREG:", NULL };
static const char *cops_prefix[] = { "+COPS:", NULL };
static const char *csq_prefix[] = { "+CSQ:", NULL };
static const char *cind_prefix[] = { "+CIND:", NULL };
+static const char *cmer_prefix[] = { "+CMER:", NULL };
static const char *zpas_prefix[] = { "+ZPAS:", NULL };
static const char *option_tech_prefix[] = { "_OCTI:", "_OUWCTI:", NULL };
@@ -1395,6 +1396,154 @@ notify:
ofono_netreg_status_notify(netreg, status, lac, ci, tech);
}
+static void at_cmer_not_supported(struct ofono_netreg *netreg)
+{
+ ofono_error("+CMER not supported by this modem. If this is an error"
+ " please submit patches to support this hardware");
+}
+
+static void at_cmer_set_cb(gboolean ok, GAtResult *result, gpointer user_data)
+{
+ struct ofono_netreg *netreg = user_data;
+
+ if (!ok)
+ at_cmer_not_supported(netreg);
+}
+
+static inline char wanted_cmer(int supported, const char *pref)
+{
+ while (*pref) {
+ if (supported & (1 << (*pref - '0')))
+ return *pref;
+
+ pref++;
+ }
+
+ return '\0';
+}
+
+static inline ofono_bool_t append_cmer_element(char *buf, int *len, int cap,
+ const char *wanted,
+ ofono_bool_t last)
+{
+ char setting = wanted_cmer(cap, wanted);
+
+ if (!setting)
+ return FALSE;
+
+ buf[*len] = setting;
+
+ if (last)
+ buf[*len + 1] = '\0';
+ else
+ buf[*len + 1] = ',';
+
+ *len += 2;
+
+ return TRUE;
+}
+
+static ofono_bool_t build_cmer_string(char *buf, int *cmer_opts,
+ struct netreg_data *nd)
+{
+ const char *mode;
+ int len = sprintf(buf, "AT+CMER=");
+
+ DBG("");
+
+ /*
+ * Forward unsolicited result codes directly to the TE;
+ * TA‑TE link specific inband technique used to embed result codes and
+ * data when TA is in on‑line data mode
+ */
+ if (!append_cmer_element(buf, &len, cmer_opts[0], "3", FALSE))
+ return FALSE;
+
+ /* No keypad event reporting */
+ if (!append_cmer_element(buf, &len, cmer_opts[1], "0", FALSE))
+ return FALSE;
+
+ /* No display event reporting */
+ if (!append_cmer_element(buf, &len, cmer_opts[2], "0", FALSE))
+ return FALSE;
+
+ switch (nd->vendor) {
+ case OFONO_VENDOR_TELIT:
+ /*
+ * Telit does not support mode 1.
+ * All indicator events shall be directed from TA to TE.
+ */
+ mode = "2";
+ break;
+ default:
+ /*
+ * Only those indicator events, which are not caused by +CIND
+ * shall be indicated by the TA to the TE.
+ */
+ mode = "1";
+ break;
+ }
+
+ /*
+ * Indicator event reporting using URC +CIEV: <ind>,<value>.
+ * <ind> indicates the indicator order number (as specified for +CIND)
+ * and <value> is the new value of indicator.
+ */
+ if (!append_cmer_element(buf, &len, cmer_opts[3], mode, TRUE))
+ return FALSE;
+
+ return TRUE;
+}
+
+static void at_cmer_query_cb(ofono_bool_t ok, GAtResult *result,
+ gpointer user_data)
+{
+ struct ofono_netreg *netreg = user_data;
+ struct netreg_data *nd = ofono_netreg_get_data(netreg);
+ GAtResultIter iter;
+ int cmer_opts_cnt = 5; /* See 27.007 Section 8.10 */
+ int cmer_opts[cmer_opts_cnt];
+ int opt;
+ int mode;
+ char buf[128];
+
+ if (!ok)
+ goto error;
+
+ memset(cmer_opts, 0, sizeof(cmer_opts));
+
+ g_at_result_iter_init(&iter, result);
+
+ if (!g_at_result_iter_next(&iter, "+CMER:"))
+ goto error;
+
+ for (opt = 0; opt < cmer_opts_cnt; opt++) {
+ int min, max;
+
+ if (!g_at_result_iter_open_list(&iter))
+ goto error;
+
+ while (g_at_result_iter_next_range(&iter, &min, &max)) {
+ for (mode = min; mode <= max; mode++)
+ cmer_opts[opt] |= 1 << mode;
+ }
+
+ if (!g_at_result_iter_close_list(&iter))
+ goto error;
+ }
+
+ if (build_cmer_string(buf, cmer_opts, nd) == FALSE)
+ goto error;
+
+ g_at_chat_send(nd->chat, buf, cmer_prefix,
+ at_cmer_set_cb, netreg, NULL);
+
+ return;
+
+error:
+ at_cmer_not_supported(netreg);
+}
+
static void cind_support_cb(gboolean ok, GAtResult *result, gpointer user_data)
{
struct ofono_netreg *netreg = user_data;
@@ -1465,8 +1614,8 @@ static void cind_support_cb(gboolean ok, GAtResult *result, gpointer user_data)
if (nd->signal_index == 0)
goto error;
- g_at_chat_send(nd->chat, "AT+CMER=3,0,0,1", NULL,
- NULL, NULL, NULL);
+ g_at_chat_send(nd->chat, "AT+CMER=?", cmer_prefix,
+ at_cmer_query_cb, netreg, NULL);
g_at_chat_register(nd->chat, "+CIEV:",
ciev_notify, FALSE, netreg, NULL);
g_at_chat_register(nd->chat, "+CREG:",
--
1.7.7.6
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 2/2] netreg: Add telit version for ciev notification
2012-08-13 16:25 ` Denis Kenzior
2012-08-14 14:16 ` Christopher Vogl
2012-09-06 9:25 ` [PATCH 2/2] netreg: Add telit version for ciev notification christopher.vogl
@ 2012-09-06 9:36 ` christopher.vogl
2012-09-06 9:49 ` christopher.vogl
3 siblings, 0 replies; 16+ messages in thread
From: christopher.vogl @ 2012-09-06 9:36 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 2195 bytes --]
From: Christopher Vogl <christopher.vogl@hale.at>
---
drivers/atmodem/network-registration.c | 44 ++++++++++++++++++++++++++++++++
1 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/drivers/atmodem/network-registration.c b/drivers/atmodem/network-registration.c
index 7160679..509a47a 100644
--- a/drivers/atmodem/network-registration.c
+++ b/drivers/atmodem/network-registration.c
@@ -759,6 +759,37 @@ static void ciev_notify(GAtResult *result, gpointer user_data)
ofono_netreg_strength_notify(netreg, strength);
}
+static void telit_ciev_notify(GAtResult *result, gpointer user_data)
+{
+ struct ofono_netreg *netreg = user_data;
+ struct netreg_data *nd = ofono_netreg_get_data(netreg);
+ const char *signal_identifier = "rssi";
+ const char *ind_str;
+ int strength;
+ GAtResultIter iter;
+
+ g_at_result_iter_init(&iter, result);
+
+ if (!g_at_result_iter_next(&iter, "+CIEV:"))
+ return;
+
+ if (!g_at_result_iter_next_unquoted_string(&iter, &ind_str))
+ return;
+
+ if (!g_str_equal(signal_identifier, ind_str))
+ return;
+
+ if (!g_at_result_iter_next_number(&iter, &strength))
+ return;
+
+ if (strength == nd->signal_invalid)
+ strength = -1;
+ else
+ strength = (strength * 100) / (nd->signal_max - nd->signal_min);
+
+ ofono_netreg_strength_notify(netreg, strength);
+}
+
static void ctzv_notify(GAtResult *result, gpointer user_data)
{
struct ofono_netreg *netreg = user_data;
@@ -1618,6 +1649,19 @@ static void cind_support_cb(gboolean ok, GAtResult *result, gpointer user_data)
at_cmer_query_cb, netreg, NULL);
g_at_chat_register(nd->chat, "+CIEV:",
ciev_notify, FALSE, netreg, NULL);
+
+ /*
+ * Telit uses strings instead of numbers to identify indicators
+ * in a +CIEV URC.
+ * Handle them in a separate function to keep the code clean.
+ */
+ if (nd->vendor == OFONO_VENDOR_TELIT)
+ g_at_chat_register(nd->chat, "+CIEV:",
+ telit_ciev_notify, FALSE, netreg, NULL);
+ else
+ g_at_chat_register(nd->chat, "+CIEV:",
+ ciev_notify, FALSE, netreg, NULL);
+
g_at_chat_register(nd->chat, "+CREG:",
creg_notify, FALSE, netreg, NULL);
--
1.7.7.6
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 2/2] netreg: Add telit version for ciev notification
2012-08-13 16:25 ` Denis Kenzior
` (2 preceding siblings ...)
2012-09-06 9:36 ` [PATCH 2/2] netreg: Add telit version for ciev notification christopher.vogl
@ 2012-09-06 9:49 ` christopher.vogl
2012-09-06 9:49 ` [PATCH 1/2] netreg: Query and select supported CMER modes christopher.vogl
2012-09-12 4:24 ` [PATCH 2/2] netreg: Add telit version for ciev notification Denis Kenzior
3 siblings, 2 replies; 16+ messages in thread
From: christopher.vogl @ 2012-09-06 9:49 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 2228 bytes --]
From: Christopher Vogl <christopher.vogl@hale.at>
---
drivers/atmodem/network-registration.c | 44 ++++++++++++++++++++++++++++++++
1 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/drivers/atmodem/network-registration.c b/drivers/atmodem/network-registration.c
index 7160679..509a47a 100644
--- a/drivers/atmodem/network-registration.c
+++ b/drivers/atmodem/network-registration.c
@@ -759,6 +759,37 @@ static void ciev_notify(GAtResult *result, gpointer user_data)
ofono_netreg_strength_notify(netreg, strength);
}
+static void telit_ciev_notify(GAtResult *result, gpointer user_data)
+{
+ struct ofono_netreg *netreg = user_data;
+ struct netreg_data *nd = ofono_netreg_get_data(netreg);
+ const char *signal_identifier = "rssi";
+ const char *ind_str;
+ int strength;
+ GAtResultIter iter;
+
+ g_at_result_iter_init(&iter, result);
+
+ if (!g_at_result_iter_next(&iter, "+CIEV:"))
+ return;
+
+ if (!g_at_result_iter_next_unquoted_string(&iter, &ind_str))
+ return;
+
+ if (!g_str_equal(signal_identifier, ind_str))
+ return;
+
+ if (!g_at_result_iter_next_number(&iter, &strength))
+ return;
+
+ if (strength == nd->signal_invalid)
+ strength = -1;
+ else
+ strength = (strength * 100) / (nd->signal_max - nd->signal_min);
+
+ ofono_netreg_strength_notify(netreg, strength);
+}
+
static void ctzv_notify(GAtResult *result, gpointer user_data)
{
struct ofono_netreg *netreg = user_data;
@@ -1618,6 +1649,19 @@ static void cind_support_cb(gboolean ok, GAtResult *result, gpointer user_data)
at_cmer_query_cb, netreg, NULL);
g_at_chat_register(nd->chat, "+CIEV:",
ciev_notify, FALSE, netreg, NULL);
+
+ /*
+ * Telit uses strings instead of numbers to identify indicators
+ * in a +CIEV URC.
+ * Handle them in a separate function to keep the code clean.
+ */
+ if (nd->vendor == OFONO_VENDOR_TELIT)
+ g_at_chat_register(nd->chat, "+CIEV:",
+ telit_ciev_notify, FALSE, netreg, NULL);
+ else
+ g_at_chat_register(nd->chat, "+CIEV:",
+ ciev_notify, FALSE, netreg, NULL);
+
g_at_chat_register(nd->chat, "+CREG:",
creg_notify, FALSE, netreg, NULL);
--
1.7.7.6
--
Scanned by MailScanner.
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 1/2] netreg: Query and select supported CMER modes
2012-09-06 9:49 ` christopher.vogl
@ 2012-09-06 9:49 ` christopher.vogl
2012-09-12 4:22 ` Denis Kenzior
2012-09-12 4:24 ` [PATCH 2/2] netreg: Add telit version for ciev notification Denis Kenzior
1 sibling, 1 reply; 16+ messages in thread
From: christopher.vogl @ 2012-09-06 9:49 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 5033 bytes --]
From: Christopher Vogl <christopher.vogl@hale.at>
---
drivers/atmodem/network-registration.c | 153 +++++++++++++++++++++++++++++++-
1 files changed, 151 insertions(+), 2 deletions(-)
diff --git a/drivers/atmodem/network-registration.c b/drivers/atmodem/network-registration.c
index 3d09913..7160679 100644
--- a/drivers/atmodem/network-registration.c
+++ b/drivers/atmodem/network-registration.c
@@ -47,6 +47,7 @@ static const char *creg_prefix[] = { "+CREG:", NULL };
static const char *cops_prefix[] = { "+COPS:", NULL };
static const char *csq_prefix[] = { "+CSQ:", NULL };
static const char *cind_prefix[] = { "+CIND:", NULL };
+static const char *cmer_prefix[] = { "+CMER:", NULL };
static const char *zpas_prefix[] = { "+ZPAS:", NULL };
static const char *option_tech_prefix[] = { "_OCTI:", "_OUWCTI:", NULL };
@@ -1395,6 +1396,154 @@ notify:
ofono_netreg_status_notify(netreg, status, lac, ci, tech);
}
+static void at_cmer_not_supported(struct ofono_netreg *netreg)
+{
+ ofono_error("+CMER not supported by this modem. If this is an error"
+ " please submit patches to support this hardware");
+}
+
+static void at_cmer_set_cb(gboolean ok, GAtResult *result, gpointer user_data)
+{
+ struct ofono_netreg *netreg = user_data;
+
+ if (!ok)
+ at_cmer_not_supported(netreg);
+}
+
+static inline char wanted_cmer(int supported, const char *pref)
+{
+ while (*pref) {
+ if (supported & (1 << (*pref - '0')))
+ return *pref;
+
+ pref++;
+ }
+
+ return '\0';
+}
+
+static inline ofono_bool_t append_cmer_element(char *buf, int *len, int cap,
+ const char *wanted,
+ ofono_bool_t last)
+{
+ char setting = wanted_cmer(cap, wanted);
+
+ if (!setting)
+ return FALSE;
+
+ buf[*len] = setting;
+
+ if (last)
+ buf[*len + 1] = '\0';
+ else
+ buf[*len + 1] = ',';
+
+ *len += 2;
+
+ return TRUE;
+}
+
+static ofono_bool_t build_cmer_string(char *buf, int *cmer_opts,
+ struct netreg_data *nd)
+{
+ const char *mode;
+ int len = sprintf(buf, "AT+CMER=");
+
+ DBG("");
+
+ /*
+ * Forward unsolicited result codes directly to the TE;
+ * TA‑TE link specific inband technique used to embed result codes and
+ * data when TA is in on‑line data mode
+ */
+ if (!append_cmer_element(buf, &len, cmer_opts[0], "3", FALSE))
+ return FALSE;
+
+ /* No keypad event reporting */
+ if (!append_cmer_element(buf, &len, cmer_opts[1], "0", FALSE))
+ return FALSE;
+
+ /* No display event reporting */
+ if (!append_cmer_element(buf, &len, cmer_opts[2], "0", FALSE))
+ return FALSE;
+
+ switch (nd->vendor) {
+ case OFONO_VENDOR_TELIT:
+ /*
+ * Telit does not support mode 1.
+ * All indicator events shall be directed from TA to TE.
+ */
+ mode = "2";
+ break;
+ default:
+ /*
+ * Only those indicator events, which are not caused by +CIND
+ * shall be indicated by the TA to the TE.
+ */
+ mode = "1";
+ break;
+ }
+
+ /*
+ * Indicator event reporting using URC +CIEV: <ind>,<value>.
+ * <ind> indicates the indicator order number (as specified for +CIND)
+ * and <value> is the new value of indicator.
+ */
+ if (!append_cmer_element(buf, &len, cmer_opts[3], mode, TRUE))
+ return FALSE;
+
+ return TRUE;
+}
+
+static void at_cmer_query_cb(ofono_bool_t ok, GAtResult *result,
+ gpointer user_data)
+{
+ struct ofono_netreg *netreg = user_data;
+ struct netreg_data *nd = ofono_netreg_get_data(netreg);
+ GAtResultIter iter;
+ int cmer_opts_cnt = 5; /* See 27.007 Section 8.10 */
+ int cmer_opts[cmer_opts_cnt];
+ int opt;
+ int mode;
+ char buf[128];
+
+ if (!ok)
+ goto error;
+
+ memset(cmer_opts, 0, sizeof(cmer_opts));
+
+ g_at_result_iter_init(&iter, result);
+
+ if (!g_at_result_iter_next(&iter, "+CMER:"))
+ goto error;
+
+ for (opt = 0; opt < cmer_opts_cnt; opt++) {
+ int min, max;
+
+ if (!g_at_result_iter_open_list(&iter))
+ goto error;
+
+ while (g_at_result_iter_next_range(&iter, &min, &max)) {
+ for (mode = min; mode <= max; mode++)
+ cmer_opts[opt] |= 1 << mode;
+ }
+
+ if (!g_at_result_iter_close_list(&iter))
+ goto error;
+ }
+
+ if (build_cmer_string(buf, cmer_opts, nd) == FALSE)
+ goto error;
+
+ g_at_chat_send(nd->chat, buf, cmer_prefix,
+ at_cmer_set_cb, netreg, NULL);
+
+ return;
+
+error:
+ at_cmer_not_supported(netreg);
+}
+
static void cind_support_cb(gboolean ok, GAtResult *result, gpointer user_data)
{
struct ofono_netreg *netreg = user_data;
@@ -1465,8 +1614,8 @@ static void cind_support_cb(gboolean ok, GAtResult *result, gpointer user_data)
if (nd->signal_index == 0)
goto error;
- g_at_chat_send(nd->chat, "AT+CMER=3,0,0,1", NULL,
- NULL, NULL, NULL);
+ g_at_chat_send(nd->chat, "AT+CMER=?", cmer_prefix,
+ at_cmer_query_cb, netreg, NULL);
g_at_chat_register(nd->chat, "+CIEV:",
ciev_notify, FALSE, netreg, NULL);
g_at_chat_register(nd->chat, "+CREG:",
--
1.7.7.6
--
Scanned by MailScanner.
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH 1/2] netreg: Query and select supported CMER modes
2012-09-06 9:49 ` [PATCH 1/2] netreg: Query and select supported CMER modes christopher.vogl
@ 2012-09-12 4:22 ` Denis Kenzior
0 siblings, 0 replies; 16+ messages in thread
From: Denis Kenzior @ 2012-09-12 4:22 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 340 bytes --]
Hi Christopher,
On 09/06/2012 04:49 AM, christopher.vogl(a)hale.at wrote:
> From: Christopher Vogl<christopher.vogl@hale.at>
>
> ---
> drivers/atmodem/network-registration.c | 153 +++++++++++++++++++++++++++++++-
> 1 files changed, 151 insertions(+), 2 deletions(-)
>
Patch has been applied, thanks.
Regards,
-Denis
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] netreg: Add telit version for ciev notification
2012-09-06 9:49 ` christopher.vogl
2012-09-06 9:49 ` [PATCH 1/2] netreg: Query and select supported CMER modes christopher.vogl
@ 2012-09-12 4:24 ` Denis Kenzior
2012-09-12 8:13 ` Christopher Vogl
1 sibling, 1 reply; 16+ messages in thread
From: Denis Kenzior @ 2012-09-12 4:24 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1430 bytes --]
Hi Christopher,
On 09/06/2012 04:49 AM, christopher.vogl(a)hale.at wrote:
> From: Christopher Vogl<christopher.vogl@hale.at>
>
> ---
> drivers/atmodem/network-registration.c | 44 ++++++++++++++++++++++++++++++++
> 1 files changed, 44 insertions(+), 0 deletions(-)
>
Patch has been applied, however:
> @@ -1618,6 +1649,19 @@ static void cind_support_cb(gboolean ok, GAtResult *result, gpointer user_data)
> at_cmer_query_cb, netreg, NULL);
> g_at_chat_register(nd->chat, "+CIEV:",
> ciev_notify, FALSE, netreg, NULL);
> +
> + /*
> + * Telit uses strings instead of numbers to identify indicators
> + * in a +CIEV URC.
> + * Handle them in a separate function to keep the code clean.
> + */
> + if (nd->vendor == OFONO_VENDOR_TELIT)
> + g_at_chat_register(nd->chat, "+CIEV:",
> + telit_ciev_notify, FALSE, netreg, NULL);
> + else
> + g_at_chat_register(nd->chat, "+CIEV:",
> + ciev_notify, FALSE, netreg, NULL);
> +
You ended up registering for +CIEV twice, so I took that out in commit
bb0f308223816e53de0a5a6a2cdb6eb1f11856c8.
> g_at_chat_register(nd->chat, "+CREG:",
> creg_notify, FALSE, netreg, NULL);
>
Also, I made failing to initialize +CMER fatal in commit
b274e74102c7a4b96c06dba895cf0cb444fa54c3. Can you please double-check
that it is working as intended, I only performed basic sanity checking
on my end.
Regards,
-Denis
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] netreg: Add telit version for ciev notification
2012-09-12 4:24 ` [PATCH 2/2] netreg: Add telit version for ciev notification Denis Kenzior
@ 2012-09-12 8:13 ` Christopher Vogl
2012-09-12 13:53 ` Denis Kenzior
0 siblings, 1 reply; 16+ messages in thread
From: Christopher Vogl @ 2012-09-12 8:13 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 2057 bytes --]
Hi Denis,
>
> Patch has been applied, however:
>
>> @@ -1618,6 +1649,19 @@ static void cind_support_cb(gboolean ok,
>> GAtResult *result, gpointer user_data)
>> at_cmer_query_cb, netreg, NULL);
>> g_at_chat_register(nd->chat, "+CIEV:",
>> ciev_notify, FALSE, netreg, NULL);
>> +
>> + /*
>> + * Telit uses strings instead of numbers to identify indicators
>> + * in a +CIEV URC.
>> + * Handle them in a separate function to keep the code clean.
>> + */
>> + if (nd->vendor == OFONO_VENDOR_TELIT)
>> + g_at_chat_register(nd->chat, "+CIEV:",
>> + telit_ciev_notify, FALSE, netreg, NULL);
>> + else
>> + g_at_chat_register(nd->chat, "+CIEV:",
>> + ciev_notify, FALSE, netreg, NULL);
>> +
>
> You ended up registering for +CIEV twice, so I took that out in commit
> bb0f308223816e53de0a5a6a2cdb6eb1f11856c8.
Thanks for fixing this! I missed to remove the previous code.
>
> Also, I made failing to initialize +CMER fatal in commit
> b274e74102c7a4b96c06dba895cf0cb444fa54c3. Can you please double-check
> that it is working as intended, I only performed basic sanity checking
> on my end.
I sent the CMER-string that is not supported by Telit (3,0,0,1) and the
netreg atom gets removed after a corresponding error message (the modem
still sets up a ppp connection afterwards):
...
Sep 12 03:39:01 mx31tt01 daemon.info ofonod[719]: Aux: > AT+CMER=?\r
Sep 12 03:39:01 mx31tt01 daemon.info ofonod[719]: Aux: < \r\n+CMER:
(0-3),(0),(0),(0,2),(0)\r\n\r\nOK\r\n
Sep 12 03:39:01 mx31tt01 daemon.debug ofonod[719]:
drivers/atmodem/network-registration.c:build_cmer_string()
Sep 12 03:39:01 mx31tt01 daemon.err ofonod[719]: +CMER not supported by
this modem. If this is an error please submit patches to support this
hardware
Sep 12 03:39:01 mx31tt01 daemon.debug ofonod[719]:
src/network.c:netreg_remove() atom: 0x17ab810
...
Regards,
Christopher
--
Scanned by MailScanner.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] netreg: Add telit version for ciev notification
2012-09-12 8:13 ` Christopher Vogl
@ 2012-09-12 13:53 ` Denis Kenzior
2012-09-12 15:07 ` Christopher Vogl
0 siblings, 1 reply; 16+ messages in thread
From: Denis Kenzior @ 2012-09-12 13:53 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 615 bytes --]
Hi Christopher,
>>
>> Also, I made failing to initialize +CMER fatal in commit
>> b274e74102c7a4b96c06dba895cf0cb444fa54c3. Can you please double-check
>> that it is working as intended, I only performed basic sanity checking
>> on my end.
>
> I sent the CMER-string that is not supported by Telit (3,0,0,1) and the
> netreg atom gets removed after a corresponding error message (the modem
> still sets up a ppp connection afterwards):
>
Strange, ofono shouldn't even let you attach or activate the context
until after the netreg atom is fully initialized. Do you have a log?
Regards,
-Denis
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] netreg: Add telit version for ciev notification
2012-09-12 13:53 ` Denis Kenzior
@ 2012-09-12 15:07 ` Christopher Vogl
0 siblings, 0 replies; 16+ messages in thread
From: Christopher Vogl @ 2012-09-12 15:07 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 488 bytes --]
Hi Denis,
> Strange, ofono shouldn't even let you attach or activate the context
> until after the netreg atom is fully initialized. Do you have a log?
I don't know how this could have happened, but before I tried it two
times and I surely saw the ppp-setup after netreg was removed (should
have saved the log).
Now I cannot reproduce it and it works as it should - netreg gets remove
and no GPRS attachment.
Regards,
Christopher
--
Scanned by MailScanner.
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2012-09-12 15:07 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-13 13:23 [PATCH 7/8] netreg: adapt CMER and CIEV for telit Christopher Vogl
2012-08-13 16:25 ` Denis Kenzior
2012-08-14 14:16 ` Christopher Vogl
2012-08-14 6:46 ` Denis Kenzior
2012-08-16 6:57 ` Christopher Vogl
2012-08-16 5:57 ` Denis Kenzior
2012-09-06 9:25 ` [PATCH 2/2] netreg: Add telit version for ciev notification christopher.vogl
2012-09-06 9:25 ` [PATCH 1/2] netreg: Query and select supported CMER modes christopher.vogl
2012-09-06 9:36 ` [PATCH 2/2] netreg: Add telit version for ciev notification christopher.vogl
2012-09-06 9:49 ` christopher.vogl
2012-09-06 9:49 ` [PATCH 1/2] netreg: Query and select supported CMER modes christopher.vogl
2012-09-12 4:22 ` Denis Kenzior
2012-09-12 4:24 ` [PATCH 2/2] netreg: Add telit version for ciev notification Denis Kenzior
2012-09-12 8:13 ` Christopher Vogl
2012-09-12 13:53 ` Denis Kenzior
2012-09-12 15:07 ` Christopher Vogl
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.