Hi,
On 27/09/2018 18:52, Denis Kenzior wrote:>> For the
gemaltomodem/gprs-context, it is not clear how to proceed. Would
> you kindly give some suggestion other than "these modules
don't exist
> in my world"?
I did give you a suggestion on how to proceed. Lets get the sane ones
supported first. That should be mostly easy.
For the insane ones we will need to figure something else out. For
example, it may be that we should just have oFono initiate the DHCP
request itself for these devices. The driver can then control both DHCP
and context activation status and would be able to sanely tell the core
what is going on. We already have DHCP code available in ConnMan that
could be ported to oFono, or more likely finish DHCP support in ell and
use that.
While we have DHCP code in ConnMan I wouldn't recommend to port it as it
is. Patrik reimplemented DHCP for systemd-netword using ConnMan's
version as blueprint. That code looks much saner. Propably, it would
make sense to carve out a library (using ELL as support library) from
the systemd's version and make ConnMan and oFono depending on it.
Thanks,
Daniel