-
-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There's something wrong with PHONEBOOK #83
Comments
Can you tell me the return value of the lwcell_pb_list? |
lwcell_pb_entry_t pb_entries[10];
After executing this block of code, it turns out that pb_entries[0] and all the rest pb_entries[...] are equal: mem = LWCELL_MEM_SM_P |
And return value of all 3 function calls? |
yes, after each of the 3 calls the data does not change and will remain so:
but I see that there is only one response from the modem during these 3 calls: and I don’t see the АТ-command being called to install memory phonebook. The code never goes here:
|
Can you give me return values of these 3 functions please? |
all functions return lwcellOK
|
Can you enable full lib log and provide full at commands exchange between mcu and modem? |
Yes, I can, but it won't be soon. I just started working with the GSM modem and I don’t know what will happen. Thank you. |
I am not able to give good advice at this point. I do not know the model you have nor I know if your driver properly works to enter all data. It is strange that all functions return OK, too. |
There's something wrong with PHONEBOOK.
When I try to change memory phonebook, for example, to ME,
lwcell_pb_list(LWCELL_MEM_ME, 1, pb_entries, LWCELL_ARRAYSIZE(pb_entries), &pb_entries_read, NULL, NULL, 1);
the command to change memory phonebook does not work.
When I set a debugging breakpoint at:
} else if (CMD_IS_CUR(LWCELL_CMD_CPBS_SET) && !strncmp(rcv->data, "+CPBS", 5)) {
lwcelli_parse_cpbs(rcv->data, 2); /* Parse +CPBS response */
}
but there the program never stops on lwcelli_parse_cpbs(...).
The text was updated successfully, but these errors were encountered: