Hi Reynaldo, On 03/16/2012 03:29 AM, Reynaldo Baquerizo wrote: > > Hi everyone, > > I would like to know what is Cinterion tc65's status. I am looking for > its sms functionality and it is not working. > I've tried to figure this out for my own, but since I am to new ofono > and not much of a C coder I guess I haven't gone so far. > > I've tried running it with the debugger, and as far as I can tell it > doesn't seem to add the atom watch for OFONO_ATOM_TYPE_NETREG because > neither of these conditions are met (in __ofono_modem_add_atom_watch) > >> for (l = modem->atoms; l; l = l->next) { >> atom = l->data; >> >> if (atom->type != type || atom->unregister == NULL) >> continue; >> >> notify(atom, OFONO_ATOM_WATCH_CONDITION_REGISTERED, data); } > > Then I think I've added ofono_cbs_create in tc65_post_online and after > that "atom->type != type" is met but atom->unregister is null still. What does ofono_cbs_create have to do with SMS? > > I'd like to volunteer to fix this (if there is anything to fix here), > any hint to further debug this is welcome :-) > Please post AT debug logs, see HACKING document for details. However, it sounds like you're not registered to the network. > Regarding post_sim and post_online, when one enables the modem the > MessageManager is then exposed but one can not send messages, it is only > possible after going online. I find this not clear. You have to be registered to a network before SMSes will be sent, that should be pretty obvious. The reason MessageManager is available in post_sim is to be able to set up various settings (e.g. SMSC) which are not tied to whether you are registered to the network or not. Regards, -Denis