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 the code is written makes it >> very easy to just expose this as a separate property. > > the extra "forced-auto" mode feels kinda forced into this property. So > that is my main concern here. > > However on the other hand the Mode property is actually read-only. If it > would be a user changeable property then it would be pretty clear that > we do not wanna intermix this here. > > With this in mind, it might be just fine here from a UI interaction flow > point of view. > > Denis, what is your take on this? >
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. Regards, -Denis _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono