Hi, I am doing a test with a 4G SIM card with APN set in provisionning. I 've recently upgraded my Ofono version to 1.23.
My card gets LTE attach quickly, before it gets ServiceProviderName from SIM card. So ofono_gprs_cid_activated is called by get_lte_attach_param_cb (drivers/qmimodem/gprs.c) and a context is created with APN discovered in get_lte_attach_param_cb. Then SIM ServiceProviderName is discovered and provision_contexts is called. Another context is created with APN from provisioning file. I end up with 2 contexts using same APN or different APNs, depending on what I wrote in my provisioning file. I attached logs with same APN case. In messages_02.txt: - ofono_gprs_cid_activated is called at line 681 - __ofono_gprs_provision_get_settings is called at line 753 I end up with two contexts (properties summary in gsmdiag_02.txt). Another strange thing in ofono gprs file for this SIM card: root@klk-lpbs-06029C:~ # cat /etc/network/ofono/208013004789734/gprs [Settings] Powered=true RoamingAllowed=false [context1] Name=orange-mib AccessPointName= Username= Password= AuthenticationMethod=chap Type=internet Protocol=ip [context2] Name=Internet AccessPointName=orange-mib Username= Password= AuthenticationMethod=chap Type=internet Protocol=ip Context 1 has no APN. I don't know what would happen if I restart Ofono and gets attached on 3G. I don't know if this is a bug or not. Here are the "problems" I saw. And I don't know what to do in this case. I mean I don't know what result I should have. What should happen if context information are the same in provisioning and from network discovery? Maybe only one context? What should happen if context information are different in provisioning and from network discovery? Creation of 2 contexts and 1 gets automatically connected? Disconnection of the automatically connected context and creation of context using information from provisionning? Provisionning ignored? Best Regards, Christophe
contextCreation_02.tar.gz
Description: application/gzip
_______________________________________________ ofono mailing list [email protected] https://lists.ofono.org/mailman/listinfo/ofono
