Hi, On 02/03/2020 14.49, nick83ola wrote:
Hi all, In regarding to this I found the provision plugin and at line 53 it uses the mbpi lookup to provision for the default apns but at line 53 it doesapns = mbpi_lookup_apn(mcc, mnc, FALSE, &error); that gives an error in case of multiple providers. -> but if I change it to gboolean allow_duplicates=TRUE It works and it creates multiple contexts ap_count = g_slist_length(apns); ..... for (l = apns, i = 0; l; l = l->next, i++) { struct ofono_gprs_provision_data *ap = l->data; memcpy(*settings + i, ap, sizeof(struct ofono_gprs_provision_data)); g_free(ap); } What's the issue in setting mbpi_lookup_apn(mcc, mnc, TRUE, &error); ?????
You're not the first: https://lists.ofono.org/hyperkitty/list/[email protected]/thread/2SC46PH5CWT3A3HTHGUKUUVI3QDYIL73/#7B6CPARJQMZUBQUPXBJMAOXZY4RW2L3D :) // Martin _______________________________________________ ofono mailing list -- [email protected] To unsubscribe send an email to [email protected]
