Re: [PATCH 3/5] doc: Add documentation for 'forced-mode'

2011-01-19 Thread Aki Niemi
Hi Denis, 2011/1/18 Denis Kenzior denk...@gmail.com: I'm fine with forced-auto, but we might want to add a new error type to ofono.h (maybe something like ManualRegistrationNotAllowed) and return that error when trying to use Scan or NetworkOperator.Register. I was reusing the

Re: [PATCH 3/5] doc: Add documentation for 'forced-mode'

2011-01-18 Thread Marcel Holtmann
Hi Aki, snip + auto Network registration is performed +automatically. + forced-auto Network registration is performed +automatically while

Re: [PATCH 3/5] doc: Add documentation for 'forced-mode'

2011-01-18 Thread Aki Niemi
Hi Marcel, 2011/1/18 Marcel Holtmann mar...@holtmann.org: +                             auto         Network registration is performed +                                            automatically. +                             forced-auto  Network registration is performed +                

Re: [PATCH 3/5] doc: Add documentation for 'forced-mode'

2011-01-18 Thread Marcel Holtmann
Hi Aki, + auto Network registration is performed +automatically. + forced-auto Network registration is performed +automatically

Re: [PATCH 3/5] doc: Add documentation for 'forced-mode'

2011-01-18 Thread Aki Niemi
Hi Marcel, 2011/1/18 Marcel Holtmann mar...@holtmann.org: And while thinking about this, now I have another question. If this flag is set on the SIM card, are you allowed to deregister from the network? I suppose so. However, you know how I feel about Deregister() to begin with. I think with

Re: [PATCH 3/5] doc: Add documentation for 'forced-mode'

2011-01-18 Thread Marcel Holtmann
Hi Aki, And while thinking about this, now I have another question. If this flag is set on the SIM card, are you allowed to deregister from the network? I suppose so. However, you know how I feel about Deregister() to begin with. I think with the Online property, it simply serves no

Re: [PATCH 3/5] doc: Add documentation for 'forced-mode'

2011-01-18 Thread Denis Kenzior
Hi Marcel, The reason I ended up extending the Mode property was that once forced_auto is true, no other Mode than auto is anyway possible. So in a sense it is another type of Mode, which isn't to say a separate property wouldn't work equally well. I'm really open to either option. The way

Re: [PATCH 3/5] doc: Add documentation for 'forced-mode'

2011-01-18 Thread Denis Kenzior
Hi Aki, On 01/18/2011 02:35 PM, Aki Niemi wrote: Hi Marcel, 2011/1/18 Marcel Holtmann mar...@holtmann.org: And while thinking about this, now I have another question. If this flag is set on the SIM card, are you allowed to deregister from the network? I suppose so. However, you know how