Hello

Here is another RFC patchset about implementing automatic provisioning GPRS 
context settings. ("Internet Access Provider database" TODO item).

This time the approach is to add a new driver/plugin API for provisioning 
modules. Different kind of provisioning modules may be created for different 
platforms or use cases.
It is up to the module what settings database it uses, and how many, and what 
type of contexts (with settings) it returns.
Several plugins may be loaded in oFono, and they will be called in priority 
order until first plugin returns non-empty result.

Provisioning modules are called in case there are no previously configured 
contexts found during gprs atom registration.
 
These patches add new gprs-provision.[hc] API for provisioning plugins to 
register into, and get_settings() for gprs.c to call when needed.
gprs.c is modified to use provisioning if reading existing context settings 
fails.

A dummy example provisioning plugin is included. In case it is called when 
using phonesim with default.xml configuration, the plugin returns dummy 
settings for two contexts, one type Internet and one type MMS. 

Patches also add new function ofono_sim_get_mnc_length to SIM atom API for 
figuring out MNC value (typically needed by provisioning plugins).

--Jukka Saunamäki

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to