Hi Pekka, On 07/07/2010 11:40 AM, Pekka Pessi wrote: > 2010/7/7 Denis Kenzior : >>> Main results are: >>> - emergency calls are not possible in offline mode (CFUN=4), ATD112; >>> returns NO DIALTONE >> >> That was expected, do we have a solution in mind on how to do emergency >> dialing in Offline mode? Is it a UI problem? > > I'd do like we do in the N900 equivivalent of voicecall atom: > - request online > - detach packet radio (if applicable) > - hang up existing calls > > E.g., we would have something like > ofono_modem_set_emergency_mode(modem, bool) and > ofono_modem_get_emergency_mode(). > > In emergency mode (while emergency call is on-going) modem would: > - refuse to make other calls > - refuse to power off device > Fair enough. >>> - emergency calls can be made without SIM card (but they require AT+CFUN=1) >> >> That was again expected... >> >>> - most MBM modem functionality (AT+COPS, AT+CLCC does not work without SIM card) >> >> The only one that can be triggered without a SIM card is AT+CLCC. > > I mean, like, now atmodem voicecall driver is using +CHLD, but in > order to handle emergency calls gracefully it must know if the SIM is > active or not (and change its behavior accordingly.) > The core doesn't use CHLD in a single call situation. If we hangup all calls before initiating an emergency call then this shouldn't be an issue, right? > The AT+COPS? or AT+CREG? would be useful if you try to make emergency > call with weak reception. > I think you will find that most modems have a vendor specific notification for this and don't use COPS or CREG... About the only thing that might be useful is the signal strength... Regards, -Denis