Hi Tommi, On 02/19/2015 05:59 AM, Tommi Kenakkala wrote: > In some cases it is useful to reset connection context settings back to ones > ofono provisioning resolved initially. > What's your opinion on the API design, implementation and use-case described > next? > Why don't you just remove the settings file and restart oFono? > Deactivation of the context is obviously mandatory. The reasoning for placing > this into ofono is handling client requests consistently and avoiding race > conditions. Using this approach ofono does not re-activate the context, that's > done by ConnMan or whatever connection manger the system uses. > I'm not so sure that this is a good idea. A 'live' reset of the settings just seems wrong to me. Why would you ever want to do that anyway? If something is working, why bother resetting the settings? oFono supports arbitrary number of contexts, so your UI can always add more. So if you need to re-provision, let your UI handle this. The UI should be capable of reading the provisioning database anyway in order to handle duplicates, etc. Regards, -Denis