[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
6150 & mc_memorystatus
From: |
Nigel Jewell |
Subject: |
6150 & mc_memorystatus |
Date: |
Mon, 30 Jun 2003 19:20:02 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313 |
Hi all,
I have a nokia 6150 from which I am trying to read the missed caller
list. Using the gnokii monitor, this fails with GN_ERR_INTERNALERROR:
gnokii_data.memory_status = &mc_memorystatus;
if (gn_sm_functions(GN_OP_GetMemoryStatus, &gnokii_data, &gnokii_state)
== GN_ERR_NONE)
fprintf(stdout, _("MC: Used %d, Free %d\n"),
mc_memorystatus.used, mc_memorystatus.free);
Sorry about the wrapping.
The question is this. Is this a real internal error, or is this
function not supported by this phone? It appears that the error is
being returned from this line in gsm-statemachine.c:
static gn_error __sm_block_timeout(int waitfor, int t, gn_data *data,
struct gn_statemachine *state) {
...
...
if (s == GN_SM_ResponseReceived) return sm_error_get(waitfor, state);
...
...
}
I don't know enough about gnokii to understand what is going on here.
Any clues?
Nige.